asselapathirana / epanettools

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

Failed to install on Python 3.5 and above #27

Open aminjahanpour opened 6 years ago

aminjahanpour commented 6 years ago

pip works just find in all versions of python until 3.4. From any version above I get errors.

Collecting epanettools
  Cache entry deserialization failed, entry ignored
  Downloading https://files.pythonhosted.org/packages/7d/9e/c4af6107874d48a8ac9b94a5652e37106d09edcbd7c2d903e7e4e5e43de1/EPANETTOOLS-0.9.2.tar.gz (300kB)
    100% |████████████████████████████████| 307kB 1.3MB/s
Building wheels for collected packages: epanettools
  Running setup.py bdist_wheel for epanettools ... error
  Complete output from command C:\Users\amin\Anaconda3\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\amin\\AppData\\Local\\Temp\\pip-build-hvax8s6_\\epanettools\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d C:\Users\amin\AppData\Local\Temp\tmph4s7c7sqpip-wheel- --python-tag cp36:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win-amd64-3.6
  creating build\lib.win-amd64-3.6\epanettools
  copying src\epanettools\adf.py -> build\lib.win-amd64-3.6\epanettools
  copying src\epanettools\cli.py -> build\lib.win-amd64-3.6\epanettools
  copying src\epanettools\epanet2.py -> build\lib.win-amd64-3.6\epanettools
  copying src\epanettools\epanettools.py -> build\lib.win-amd64-3.6\epanettools
  copying src\epanettools\pdd.py -> build\lib.win-amd64-3.6\epanettools
  copying src\epanettools\pdd_class_wrapper.py -> build\lib.win-amd64-3.6\epanettools
  copying src\epanettools\tools.py -> build\lib.win-amd64-3.6\epanettools
  copying src\epanettools\__init__.py -> build\lib.win-amd64-3.6\epanettools
  copying src\epanettools\__main__.py -> build\lib.win-amd64-3.6\epanettools
  running egg_info
  writing src\EPANETTOOLS.egg-info\PKG-INFO
  writing dependency_links to src\EPANETTOOLS.egg-info\dependency_links.txt
  writing entry points to src\EPANETTOOLS.egg-info\entry_points.txt
  writing top-level names to src\EPANETTOOLS.egg-info\top_level.txt
  reading manifest file 'src\EPANETTOOLS.egg-info\SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no directories found matching 'examples'
  warning: no files found matching '.isort.cfg'
  warning: no previously-included files found matching 'tests\*.inp'
  warning: no previously-included files matching '*.py[cod]' found anywhere in distribution
  warning: no previously-included files matching '__pycache__' found anywhere in distribution
  warning: no previously-included files matching '*.so' found anywhere in distribution
  warning: no previously-included files matching '*.dylib' found anywhere in distribution
  writing manifest file 'src\EPANETTOOLS.egg-info\SOURCES.txt'
  copying src\epanettools\adf.i -> build\lib.win-amd64-3.6\epanettools
  copying src\epanettools\adf_wrap.cxx -> build\lib.win-amd64-3.6\epanettools
  copying src\epanettools\epanet2.i -> build\lib.win-amd64-3.6\epanettools
  copying src\epanettools\epanet2_wrap.c -> build\lib.win-amd64-3.6\epanettools
  copying src\epanettools\patch.c -> build\lib.win-amd64-3.6\epanettools
  copying src\epanettools\patch.h -> build\lib.win-amd64-3.6\epanettools
  copying src\epanettools\pdd.i -> build\lib.win-amd64-3.6\epanettools
  copying src\epanettools\pdd_wrap.cxx -> build\lib.win-amd64-3.6\epanettools
  creating build\lib.win-amd64-3.6\epanettools\adf
  copying src\epanettools\adf\adfandenergycalc.h -> build\lib.win-amd64-3.6\epanettools\adf
  copying src\epanettools\adf\callepanet.cc -> build\lib.win-amd64-3.6\epanettools\adf
  copying src\epanettools\adf\callepanet.h -> build\lib.win-amd64-3.6\epanettools\adf
  copying src\epanettools\adf\main.cc -> build\lib.win-amd64-3.6\epanettools\adf
  creating build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\enumstxt.h -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\epanet.c -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\epanet2.h -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\funcs.h -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\hash.c -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\hash.h -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\hydraul.c -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\inpfile.c -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\input1.c -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\input2.c -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\input3.c -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\mempool.c -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\mempool.h -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\output.c -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\quality.c -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\report.c -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\rules.c -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\smatrix.c -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\text.h -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\toolkit.h -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\types.h -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\vars.h -> build\lib.win-amd64-3.6\epanettools\epanet
  creating build\lib.win-amd64-3.6\epanettools\examples
  copying src\epanettools\examples\__init__.py -> build\lib.win-amd64-3.6\epanettools\examples
  creating build\lib.win-amd64-3.6\epanettools\examples\simple
  copying src\epanettools\examples\simple\Net1.inp -> build\lib.win-amd64-3.6\epanettools\examples\simple
  copying src\epanettools\examples\simple\Net2.inp -> build\lib.win-amd64-3.6\epanettools\examples\simple
  copying src\epanettools\examples\simple\Net3.inp -> build\lib.win-amd64-3.6\epanettools\examples\simple
  copying src\epanettools\examples\simple\__init__.py -> build\lib.win-amd64-3.6\epanettools\examples\simple
  copying src\epanettools\examples\simple\epanet2_test.py -> build\lib.win-amd64-3.6\epanettools\examples\simple
  creating build\lib.win-amd64-3.6\epanettools\pdd
  copying src\epanettools\pdd\README.txt -> build\lib.win-amd64-3.6\epanettools\pdd
  copying src\epanettools\pdd\emitter_analysis.cpp -> build\lib.win-amd64-3.6\epanettools\pdd
  copying src\epanettools\pdd\include.h -> build\lib.win-amd64-3.6\epanettools\pdd
  copying src\epanettools\pdd\mods.cpp -> build\lib.win-amd64-3.6\epanettools\pdd
  copying src\epanettools\pdd\wrap.cpp -> build\lib.win-amd64-3.6\epanettools\pdd
  copying src\epanettools\pdd\wrapper.h -> build\lib.win-amd64-3.6\epanettools\pdd
  running build_ext
  building '_epanet2' extension
  error: [WinError 3] The system cannot find the path specified: 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\PlatformSDK\\lib'

  ----------------------------------------
  Failed building wheel for epanettools
  Running setup.py clean for epanettools
Failed to build epanettools
Installing collected packages: epanettools
  Running setup.py install for epanettools ... error
    Complete output from command C:\Users\amin\Anaconda3\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\amin\\AppData\\Local\\Temp\\pip-build-hvax8s6_\\epanettools\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\amin\AppData\Local\Temp\pip-mugtf0ls-record\install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.6
    creating build\lib.win-amd64-3.6\epanettools
    copying src\epanettools\adf.py -> build\lib.win-amd64-3.6\epanettools
    copying src\epanettools\cli.py -> build\lib.win-amd64-3.6\epanettools
    copying src\epanettools\epanet2.py -> build\lib.win-amd64-3.6\epanettools
    copying src\epanettools\epanettools.py -> build\lib.win-amd64-3.6\epanettools
    copying src\epanettools\pdd.py -> build\lib.win-amd64-3.6\epanettools
    copying src\epanettools\pdd_class_wrapper.py -> build\lib.win-amd64-3.6\epanettools
    copying src\epanettools\tools.py -> build\lib.win-amd64-3.6\epanettools
    copying src\epanettools\__init__.py -> build\lib.win-amd64-3.6\epanettools
    copying src\epanettools\__main__.py -> build\lib.win-amd64-3.6\epanettools
    running egg_info
    writing src\EPANETTOOLS.egg-info\PKG-INFO
    writing dependency_links to src\EPANETTOOLS.egg-info\dependency_links.txt
    writing entry points to src\EPANETTOOLS.egg-info\entry_points.txt
    writing top-level names to src\EPANETTOOLS.egg-info\top_level.txt
    reading manifest file 'src\EPANETTOOLS.egg-info\SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no directories found matching 'examples'
    warning: no files found matching '.isort.cfg'
    warning: no previously-included files found matching 'tests\*.inp'
    warning: no previously-included files matching '*.py[cod]' found anywhere in distribution
    warning: no previously-included files matching '__pycache__' found anywhere in distribution
    warning: no previously-included files matching '*.so' found anywhere in distribution
    warning: no previously-included files matching '*.dylib' found anywhere in distribution
    writing manifest file 'src\EPANETTOOLS.egg-info\SOURCES.txt'
    copying src\epanettools\adf.i -> build\lib.win-amd64-3.6\epanettools
    copying src\epanettools\adf_wrap.cxx -> build\lib.win-amd64-3.6\epanettools
    copying src\epanettools\epanet2.i -> build\lib.win-amd64-3.6\epanettools
    copying src\epanettools\epanet2_wrap.c -> build\lib.win-amd64-3.6\epanettools
    copying src\epanettools\patch.c -> build\lib.win-amd64-3.6\epanettools
    copying src\epanettools\patch.h -> build\lib.win-amd64-3.6\epanettools
    copying src\epanettools\pdd.i -> build\lib.win-amd64-3.6\epanettools
    copying src\epanettools\pdd_wrap.cxx -> build\lib.win-amd64-3.6\epanettools
    creating build\lib.win-amd64-3.6\epanettools\adf
    copying src\epanettools\adf\adfandenergycalc.h -> build\lib.win-amd64-3.6\epanettools\adf
    copying src\epanettools\adf\callepanet.cc -> build\lib.win-amd64-3.6\epanettools\adf
    copying src\epanettools\adf\callepanet.h -> build\lib.win-amd64-3.6\epanettools\adf
    copying src\epanettools\adf\main.cc -> build\lib.win-amd64-3.6\epanettools\adf
    creating build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\enumstxt.h -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\epanet.c -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\epanet2.h -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\funcs.h -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\hash.c -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\hash.h -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\hydraul.c -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\inpfile.c -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\input1.c -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\input2.c -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\input3.c -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\mempool.c -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\mempool.h -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\output.c -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\quality.c -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\report.c -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\rules.c -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\smatrix.c -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\text.h -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\toolkit.h -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\types.h -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\vars.h -> build\lib.win-amd64-3.6\epanettools\epanet
    creating build\lib.win-amd64-3.6\epanettools\examples
    copying src\epanettools\examples\__init__.py -> build\lib.win-amd64-3.6\epanettools\examples
    creating build\lib.win-amd64-3.6\epanettools\examples\simple
    copying src\epanettools\examples\simple\Net1.inp -> build\lib.win-amd64-3.6\epanettools\examples\simple
    copying src\epanettools\examples\simple\Net2.inp -> build\lib.win-amd64-3.6\epanettools\examples\simple
    copying src\epanettools\examples\simple\Net3.inp -> build\lib.win-amd64-3.6\epanettools\examples\simple
    copying src\epanettools\examples\simple\__init__.py -> build\lib.win-amd64-3.6\epanettools\examples\simple
    copying src\epanettools\examples\simple\epanet2_test.py -> build\lib.win-amd64-3.6\epanettools\examples\simple
    creating build\lib.win-amd64-3.6\epanettools\pdd
    copying src\epanettools\pdd\README.txt -> build\lib.win-amd64-3.6\epanettools\pdd
    copying src\epanettools\pdd\emitter_analysis.cpp -> build\lib.win-amd64-3.6\epanettools\pdd
    copying src\epanettools\pdd\include.h -> build\lib.win-amd64-3.6\epanettools\pdd
    copying src\epanettools\pdd\mods.cpp -> build\lib.win-amd64-3.6\epanettools\pdd
    copying src\epanettools\pdd\wrap.cpp -> build\lib.win-amd64-3.6\epanettools\pdd
    copying src\epanettools\pdd\wrapper.h -> build\lib.win-amd64-3.6\epanettools\pdd
    running build_ext
    building '_epanet2' extension
    error: [WinError 3] The system cannot find the path specified: 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\PlatformSDK\\lib'

    ----------------------------------------
Command "C:\Users\amin\Anaconda3\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\amin\\AppData\\Local\\Temp\\pip-build-hvax8s6_\\epanettools\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\amin\AppData\Local\Temp\pip-mugtf0ls-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\amin\AppData\Local\Temp\pip-build-hvax8s6_\epanettools\
You are using pip version 9.0.1, however version 10.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

C:\Users\amin>python -m pip install --upgrade pip
Collecting pip
  Downloading https://files.pythonhosted.org/packages/0f/74/ecd13431bcc456ed390b44c8a6e917c1820365cbebcb6a8974d1cd045ab4/pip-10.0.1-py2.py3-none-any.whl (1.3MB)
    100% |████████████████████████████████| 1.3MB 794kB/s
Installing collected packages: pip
  Found existing installation: pip 9.0.1
    Uninstalling pip-9.0.1:
      Successfully uninstalled pip-9.0.1
Successfully installed pip-10.0.1

C:\Users\amin>pip install epanettools
Collecting epanettools
  Using cached https://files.pythonhosted.org/packages/7d/9e/c4af6107874d48a8ac9b94a5652e37106d09edcbd7c2d903e7e4e5e43de1/EPANETTOOLS-0.9.2.tar.gz
Building wheels for collected packages: epanettools
  Running setup.py bdist_wheel for epanettools ... error
  Complete output from command c:\users\amin\anaconda3\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\amin\\AppData\\Local\\Temp\\pip-install-0iex4pkx\\epanettools\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d C:\Users\amin\AppData\Local\Temp\pip-wheel-6yjk0p_1 --python-tag cp36:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win-amd64-3.6
  creating build\lib.win-amd64-3.6\epanettools
  copying src\epanettools\adf.py -> build\lib.win-amd64-3.6\epanettools
  copying src\epanettools\cli.py -> build\lib.win-amd64-3.6\epanettools
  copying src\epanettools\epanet2.py -> build\lib.win-amd64-3.6\epanettools
  copying src\epanettools\epanettools.py -> build\lib.win-amd64-3.6\epanettools
  copying src\epanettools\pdd.py -> build\lib.win-amd64-3.6\epanettools
  copying src\epanettools\pdd_class_wrapper.py -> build\lib.win-amd64-3.6\epanettools
  copying src\epanettools\tools.py -> build\lib.win-amd64-3.6\epanettools
  copying src\epanettools\__init__.py -> build\lib.win-amd64-3.6\epanettools
  copying src\epanettools\__main__.py -> build\lib.win-amd64-3.6\epanettools
  running egg_info
  writing src\EPANETTOOLS.egg-info\PKG-INFO
  writing dependency_links to src\EPANETTOOLS.egg-info\dependency_links.txt
  writing entry points to src\EPANETTOOLS.egg-info\entry_points.txt
  writing top-level names to src\EPANETTOOLS.egg-info\top_level.txt
  reading manifest file 'src\EPANETTOOLS.egg-info\SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no directories found matching 'examples'
  warning: no files found matching '.isort.cfg'
  warning: no previously-included files found matching 'tests\*.inp'
  warning: no previously-included files matching '*.py[cod]' found anywhere in distribution
  warning: no previously-included files matching '__pycache__' found anywhere in distribution
  warning: no previously-included files matching '*.so' found anywhere in distribution
  warning: no previously-included files matching '*.dylib' found anywhere in distribution
  writing manifest file 'src\EPANETTOOLS.egg-info\SOURCES.txt'
  copying src\epanettools\adf.i -> build\lib.win-amd64-3.6\epanettools
  copying src\epanettools\adf_wrap.cxx -> build\lib.win-amd64-3.6\epanettools
  copying src\epanettools\epanet2.i -> build\lib.win-amd64-3.6\epanettools
  copying src\epanettools\epanet2_wrap.c -> build\lib.win-amd64-3.6\epanettools
  copying src\epanettools\patch.c -> build\lib.win-amd64-3.6\epanettools
  copying src\epanettools\patch.h -> build\lib.win-amd64-3.6\epanettools
  copying src\epanettools\pdd.i -> build\lib.win-amd64-3.6\epanettools
  copying src\epanettools\pdd_wrap.cxx -> build\lib.win-amd64-3.6\epanettools
  creating build\lib.win-amd64-3.6\epanettools\adf
  copying src\epanettools\adf\adfandenergycalc.h -> build\lib.win-amd64-3.6\epanettools\adf
  copying src\epanettools\adf\callepanet.cc -> build\lib.win-amd64-3.6\epanettools\adf
  copying src\epanettools\adf\callepanet.h -> build\lib.win-amd64-3.6\epanettools\adf
  copying src\epanettools\adf\main.cc -> build\lib.win-amd64-3.6\epanettools\adf
  creating build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\enumstxt.h -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\epanet.c -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\epanet2.h -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\funcs.h -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\hash.c -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\hash.h -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\hydraul.c -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\inpfile.c -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\input1.c -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\input2.c -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\input3.c -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\mempool.c -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\mempool.h -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\output.c -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\quality.c -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\report.c -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\rules.c -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\smatrix.c -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\text.h -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\toolkit.h -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\types.h -> build\lib.win-amd64-3.6\epanettools\epanet
  copying src\epanettools\epanet\vars.h -> build\lib.win-amd64-3.6\epanettools\epanet
  creating build\lib.win-amd64-3.6\epanettools\examples
  copying src\epanettools\examples\__init__.py -> build\lib.win-amd64-3.6\epanettools\examples
  creating build\lib.win-amd64-3.6\epanettools\examples\simple
  copying src\epanettools\examples\simple\Net1.inp -> build\lib.win-amd64-3.6\epanettools\examples\simple
  copying src\epanettools\examples\simple\Net2.inp -> build\lib.win-amd64-3.6\epanettools\examples\simple
  copying src\epanettools\examples\simple\Net3.inp -> build\lib.win-amd64-3.6\epanettools\examples\simple
  copying src\epanettools\examples\simple\__init__.py -> build\lib.win-amd64-3.6\epanettools\examples\simple
  copying src\epanettools\examples\simple\epanet2_test.py -> build\lib.win-amd64-3.6\epanettools\examples\simple
  creating build\lib.win-amd64-3.6\epanettools\pdd
  copying src\epanettools\pdd\README.txt -> build\lib.win-amd64-3.6\epanettools\pdd
  copying src\epanettools\pdd\emitter_analysis.cpp -> build\lib.win-amd64-3.6\epanettools\pdd
  copying src\epanettools\pdd\include.h -> build\lib.win-amd64-3.6\epanettools\pdd
  copying src\epanettools\pdd\mods.cpp -> build\lib.win-amd64-3.6\epanettools\pdd
  copying src\epanettools\pdd\wrap.cpp -> build\lib.win-amd64-3.6\epanettools\pdd
  copying src\epanettools\pdd\wrapper.h -> build\lib.win-amd64-3.6\epanettools\pdd
  running build_ext
  building '_epanet2' extension
  error: [WinError 3] The system cannot find the path specified: 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\PlatformSDK\\lib'

  ----------------------------------------
  Failed building wheel for epanettools
  Running setup.py clean for epanettools
Failed to build epanettools
Installing collected packages: epanettools
  Running setup.py install for epanettools ... error
    Complete output from command c:\users\amin\anaconda3\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\amin\\AppData\\Local\\Temp\\pip-install-0iex4pkx\\epanettools\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\amin\AppData\Local\Temp\pip-record-eqol_t5m\install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.6
    creating build\lib.win-amd64-3.6\epanettools
    copying src\epanettools\adf.py -> build\lib.win-amd64-3.6\epanettools
    copying src\epanettools\cli.py -> build\lib.win-amd64-3.6\epanettools
    copying src\epanettools\epanet2.py -> build\lib.win-amd64-3.6\epanettools
    copying src\epanettools\epanettools.py -> build\lib.win-amd64-3.6\epanettools
    copying src\epanettools\pdd.py -> build\lib.win-amd64-3.6\epanettools
    copying src\epanettools\pdd_class_wrapper.py -> build\lib.win-amd64-3.6\epanettools
    copying src\epanettools\tools.py -> build\lib.win-amd64-3.6\epanettools
    copying src\epanettools\__init__.py -> build\lib.win-amd64-3.6\epanettools
    copying src\epanettools\__main__.py -> build\lib.win-amd64-3.6\epanettools
    running egg_info
    writing src\EPANETTOOLS.egg-info\PKG-INFO
    writing dependency_links to src\EPANETTOOLS.egg-info\dependency_links.txt
    writing entry points to src\EPANETTOOLS.egg-info\entry_points.txt
    writing top-level names to src\EPANETTOOLS.egg-info\top_level.txt
    reading manifest file 'src\EPANETTOOLS.egg-info\SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no directories found matching 'examples'
    warning: no files found matching '.isort.cfg'
    warning: no previously-included files found matching 'tests\*.inp'
    warning: no previously-included files matching '*.py[cod]' found anywhere in distribution
    warning: no previously-included files matching '__pycache__' found anywhere in distribution
    warning: no previously-included files matching '*.so' found anywhere in distribution
    warning: no previously-included files matching '*.dylib' found anywhere in distribution
    writing manifest file 'src\EPANETTOOLS.egg-info\SOURCES.txt'
    copying src\epanettools\adf.i -> build\lib.win-amd64-3.6\epanettools
    copying src\epanettools\adf_wrap.cxx -> build\lib.win-amd64-3.6\epanettools
    copying src\epanettools\epanet2.i -> build\lib.win-amd64-3.6\epanettools
    copying src\epanettools\epanet2_wrap.c -> build\lib.win-amd64-3.6\epanettools
    copying src\epanettools\patch.c -> build\lib.win-amd64-3.6\epanettools
    copying src\epanettools\patch.h -> build\lib.win-amd64-3.6\epanettools
    copying src\epanettools\pdd.i -> build\lib.win-amd64-3.6\epanettools
    copying src\epanettools\pdd_wrap.cxx -> build\lib.win-amd64-3.6\epanettools
    creating build\lib.win-amd64-3.6\epanettools\adf
    copying src\epanettools\adf\adfandenergycalc.h -> build\lib.win-amd64-3.6\epanettools\adf
    copying src\epanettools\adf\callepanet.cc -> build\lib.win-amd64-3.6\epanettools\adf
    copying src\epanettools\adf\callepanet.h -> build\lib.win-amd64-3.6\epanettools\adf
    copying src\epanettools\adf\main.cc -> build\lib.win-amd64-3.6\epanettools\adf
    creating build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\enumstxt.h -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\epanet.c -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\epanet2.h -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\funcs.h -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\hash.c -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\hash.h -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\hydraul.c -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\inpfile.c -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\input1.c -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\input2.c -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\input3.c -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\mempool.c -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\mempool.h -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\output.c -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\quality.c -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\report.c -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\rules.c -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\smatrix.c -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\text.h -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\toolkit.h -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\types.h -> build\lib.win-amd64-3.6\epanettools\epanet
    copying src\epanettools\epanet\vars.h -> build\lib.win-amd64-3.6\epanettools\epanet
    creating build\lib.win-amd64-3.6\epanettools\examples
    copying src\epanettools\examples\__init__.py -> build\lib.win-amd64-3.6\epanettools\examples
    creating build\lib.win-amd64-3.6\epanettools\examples\simple
    copying src\epanettools\examples\simple\Net1.inp -> build\lib.win-amd64-3.6\epanettools\examples\simple
    copying src\epanettools\examples\simple\Net2.inp -> build\lib.win-amd64-3.6\epanettools\examples\simple
    copying src\epanettools\examples\simple\Net3.inp -> build\lib.win-amd64-3.6\epanettools\examples\simple
    copying src\epanettools\examples\simple\__init__.py -> build\lib.win-amd64-3.6\epanettools\examples\simple
    copying src\epanettools\examples\simple\epanet2_test.py -> build\lib.win-amd64-3.6\epanettools\examples\simple
    creating build\lib.win-amd64-3.6\epanettools\pdd
    copying src\epanettools\pdd\README.txt -> build\lib.win-amd64-3.6\epanettools\pdd
    copying src\epanettools\pdd\emitter_analysis.cpp -> build\lib.win-amd64-3.6\epanettools\pdd
    copying src\epanettools\pdd\include.h -> build\lib.win-amd64-3.6\epanettools\pdd
    copying src\epanettools\pdd\mods.cpp -> build\lib.win-amd64-3.6\epanettools\pdd
    copying src\epanettools\pdd\wrap.cpp -> build\lib.win-amd64-3.6\epanettools\pdd
    copying src\epanettools\pdd\wrapper.h -> build\lib.win-amd64-3.6\epanettools\pdd
    running build_ext
    building '_epanet2' extension
    error: [WinError 3] The system cannot find the path specified: 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\PlatformSDK\\lib'

    ----------------------------------------
Command "c:\users\amin\anaconda3\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\amin\\AppData\\Local\\Temp\\pip-install-0iex4pkx\\epanettools\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\amin\AppData\Local\Temp\pip-record-eqol_t5m\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\amin\AppData\Local\Temp\pip-install-0iex4pkx\epanettools\
glorialulu commented 6 years ago

Have you fixed this? I'm facing the same error.

aminjahanpour commented 6 years ago

No. However, I did not get any error when I tried to install it on a 3.5 version under linux in a cluster environment. That operating system must have had the required dependencies which are unknown to me. So I can't still install it on other operating systems.

aminjahanpour commented 6 years ago

I think the best chance would be by having all kind of computational libraries/dependencies and C compilers etc installed on the target machine.

ghost commented 5 years ago

Same here, some update ?

ElanUtta commented 5 years ago

hahahah update, where ????????