Comments (14)
@emmaliulu What happens when you run python setup.py develop
?
from wntr.
@michaelbynum Same thing happened.
D:\Research_Y2\WNTR-psv_support>python setup.py develop
running develop
running egg_info
writing top-level names to wntr.egg-info\top_level.txt
writing dependency_links to wntr.egg-info\dependency_links.txt
writing wntr.egg-info\PKG-INFO
reading manifest file 'wntr.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'LICENSE.txt'
writing manifest file 'wntr.egg-info\SOURCES.txt'
running build_ext
building 'wntr.sim.aml._evaluator' extension
error: [WinError 2] The system cannot find the file specified
from wntr.
@emmaliulu Are you using a 32-bit machine?
from wntr.
I just checked. It is a 64-bit machine.
from wntr.
@emmaliulu What version of python?
from wntr.
@emmaliulu Also, how did you install python?
from wntr.
@michaelbynum I just checked my python is 32-bit. Could this be the problem? I use Anaconda to run python.
from wntr.
@emmaliulu Yes, I believe this is the problem. Conda-forge does not support 32-bit builds, so we don't have any pre-compiled binaries for 32-bit systems right now. My advice would be to download the 64-bit version of anaconda. I know that is annoying, and I apologize. Alternatively, if you have a c++ compiler, you could change the build
flag in setup.py
to True
, and then run python setup.py install
.
from wntr.
@michaelbynum Problem solved! Thank you for your help.
from wntr.
@emmaliulu Great! For future reference, what was your fix? Did you use a 64-bit version of anaconda?
from wntr.
I did a couple things. First, I installed 64-bit version of Anaconda, I also updated my Python to the same version. Second, I installed Visual Studio C++ build tool as required in the command window. After that, the installation went through without any problem.
from wntr.
@emmaliulu I was hoping that you would not have to compile anything once you updated to the 64-bit version of Anaconda/Python. Did you actually compile anything? Did you change the build
flag in setup.py
to True
or did you leave it as False
?
I apologize for the many questions. I just want to make sure the install process is easy in the future.
from wntr.
@michaelbynum No, I did not compile anything. I just installed the VS build tool, and then the installation went through.
from wntr.
@emmaliulu Oh, okay. Great! Thanks.
from wntr.
Related Issues (20)
- Questions about optimal scheduling of pumping stations HOT 1
- runnin the program HOT 3
- wntr.network.options has some abnormal annotation contents HOT 1
- Writing an inp file 'self' argument error message HOT 2
- Create a control object or rule object from text input HOT 5
- Get the reactions tab in the inp file from a water network instance HOT 1
- Add PBV support to [VALVES] section
- Generating Interactive leaflet networks HOT 7
- Pipe status problem HOT 4
- AttributeError: 'WaterNetworkModel' object has no attribute 'write_inpfile' HOT 3
- Differences with my epanet from zero model and inp from wntr model HOT 4
- Values in [DEMANDS] section are repetead and others are missing HOT 8
- Unable to remove leaks from network model HOT 3
- Not able to save the network with modified elements as an INP file. HOT 2
- EPANET Error 110 HOT 1
- leaflet map popups HOT 5
- Todini Index Calculation for the Net6 network - Values outside the range [0,1] HOT 5
- Update EPANET binaries for MacOS arm64
- Check deprecation and future warnings, and version compatibility for dependencies
- Pressure Threshold for Resilience indices like Todini and MRI HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wntr.