I managed to get a work around, but not a clean solution. Let me know if you have a cleaner method, or if this is helpful:
I just migrated from using Python 2.7 directly on my Windows 7 machine to using conda to manage my coding environments. I have not found a way of installing epamodule directly in the conda environment. I tried:
- searching anaconda repository (found epanettools and epanet2, but not epamodule) and using the pip installer
- manually adding what I thought would be the necessary files (see note1 below) to the relevant folders (note2) in the conda environment I made for them
The work around: If I keep epamodule.py in the working directory of the code I run in the conda environment, I can still run epamodule.py.
However, I think this only works because I have several copies of epanet2.dll floating around my C drive.
note1: epamodule.py, epamodule.pyc, epanet2.h, epanet2.dll
note2: DLLs, include, and \Lib\site-packages\epapython