-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors in CMakeLists.txt when building epanet-python package #73
Comments
It looks like you are trying to build the wrapper from a clone of the repository. CMake cannot find EPANET because it is linked as a git submodule. Assuming this is the case, please use the instructions provided: https://github.com/OpenWaterAnalytics/epanet-python/tree/dev/owa-epanet -- you will find notes there about initializing the EPANET submodule. |
Thanks for your replying! What I did is shown below:
Is it correct? But it still returned the same cmake error, I still feel confused about this issue. |
you must run the |
Thanks for you replying again!
But finally, I still got the same error. |
I think the |
Thanks for your patience!
I am confused that it still returned the same cmake error. |
What overall are you trying to accomplish? If it is just to use the wrapper, then a simple install via pypi should work (assuming you have the proper build tools). If you are trying to learn about and/or improve how the wrapper works, then cloning this repo and approaching it this way would work better. assuming you want to get into the wrapper's internals, please provide more history of commands - did you download the repository, or clone it? what exactly is the git/console response to the commands? |
I downloaded the repository and followed the instructions to build the epanet-python-packages, because I want to get coordinates of nodes in a water distribution network using this package. |
Thank you very much!
Could you please give me some ideas about how to fix this issue? I have no ideas about it. |
should probably establish whether pipenv works properly on your system first, without trying to install the epanet wrapper. This looks like a pipenv problem. |
I'm thinking this is fixed? I think you've opened some threads on the OWA forum - apologies if I am mistaken |
I am trying to build epanet-python package on my computer.
After running the code:
python3 setup.py sdist bdist_wheel
, it returned the cmake error at CMakeLists.txt.The cmake error I encoutered is specified below:
Appreicate a lot if any advices!
The text was updated successfully, but these errors were encountered: