asselapathirana / epanettools

EPANET calling API for python.
Other
16 stars 13 forks source link

Failed to install on Windows #26

Open cccristi07 opened 6 years ago

cccristi07 commented 6 years ago

epanettools fails to install on windows 10. I have used both a conda environment and a python windows version with a C compiler. This is the error: cl : Command line error D8021 : invalid numeric argument '/Wno-format' error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.13.26128\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2

asselapathirana commented 6 years ago

Hi, I do not have access to a windows 10 machine. What python version are you using?

cccristi07 commented 6 years ago

I'm using python 3.4

Am-Now commented 6 years ago

Hi, open "C:\python34\scripts" in cmd : pip install pyinstaller then pip install epanetools if it doesnt work then install Visual C++ 2015 and try again pip install epanetools

this worked for me.