broadinstitute / wot

A software package for analyzing snapshots of developmental processes
https://broadinstitute.github.io/wot/
BSD 3-Clause "New" or "Revised" License
137 stars 34 forks source link

problem on install wot #77

Open llx174 opened 4 years ago

llx174 commented 4 years ago

I 'm trying to install wot via pip on python 3.6.8 version, windows 10 system. After a few requirements satisfied ,I am stuck at the procedures of installing several dependent packages like fisher, louvain-github, hnswlib, pegasuspy, POT, and maybe other packages included. Here is my code and error messages.

pip install wot

error message:

Installing collected packages: fisher, louvain-github, hnswlib, pegasuspy, POT, wot Running setup.py install for fisher ... error ERROR: Command errored out with exit status 1: command: 'D:\python 3.6\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\zyh\AppData\Local\Temp\pip-install-94djt2da\fisher\setup.py'"'"'; file='"'"'C:\Users\zyh\AppData\Local\Temp\pip-install-94djt2da\fisher\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\zyh\AppData\Local\Temp\pip-record-5dmvsr5e\install-record.txt' --single-version-externally-managed --compile cwd: C:\Users\zyh\AppData\Local\Temp\pip-install-94djt2da\fisher\ Complete output (30 lines): D:\python 3.6\lib\site-packages\setuptools\dist.py:470: UserWarning: Normalizing 'v0.1.9' to '0.1.9' normalized_version, running install running build running build_py creating build creating build\lib.win-amd64-3.6 creating build\lib.win-amd64-3.6\fisher copying fisher\tableprinter.py -> build\lib.win-amd64-3.6\fisher copying fisher_version.py -> build\lib.win-amd64-3.6\fisher copying fisher__init__.py -> build\lib.win-amd64-3.6\fisher UPDATING build\lib.win-amd64-3.6\fisher/_version.py set build\lib.win-amd64-3.6\fisher/_version.py to 'v0.1.9' running build_ext building 'fisher.cfisher' extension creating build\temp.win-amd64-3.6 creating build\temp.win-amd64-3.6\Release creating build\temp.win-amd64-3.6\Release\src C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-ID:\python 3.6\include" "-ID:\python 3.6\include" "-ID:\python 3.6\lib\site-packages\numpy\core\include" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" /Tcsrc/cfisher.c /Fobuild\temp.win-amd64-3.6\Release\src/cfisher.obj -O3 cl : Command line warning D9002 : ignoring unknown option '-O3' cfisher.c d:\python 3.6\lib\site-packages\numpy\core\include\numpy\npy_1_7_deprecated_api.h(14) : Warning Msg: Using deprecated NumPy API, disable it with #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION src/cfisher.c(4135): warning C4244: '=': conversion from 'npy_intp' to 'int', possible loss of data C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO "/LIBPATH:D:\python 3.6\libs" "/LIBPATH:D:\python 3.6\PCbuild\amd64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\um\x64" /EXPORT:PyInit_cfisher build\temp.win-amd64-3.6\Release\src/cfisher.obj /OUT:build\lib.win-amd64-3.6\fisher\cfisher.cp36-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.6\Release\src\cfisher.cp36-win_amd64.lib cfisher.obj : warning LNK4197: export 'PyInit_cfisher' specified multiple times; using first specification Creating library build\temp.win-amd64-3.6\Release\src\cfisher.cp36-win_amd64.lib and object build\temp.win-amd64-3.6\Release\src\cfisher.cp36-win_amd64.exp Generating code Finished generating code LINK : fatal error LNK1158: cannot run 'rc.exe' error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\link.exe' failed with exit status 1158

ERROR: Command errored out with exit status 1: 'D:\python 3.6\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\zyh\AppData\Local\Temp\pip-install-94djt2da\fisher\setup.py'"'"'; file='"'"'C:\Users\zyh\AppData\Local\Temp\pip-install-94djt2da\fisher\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\zyh\AppData\Local\Temp\pip-record-5dmvsr5e\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.

I don't know how to solve the problem. Very appreciate for help.

mbk0asis commented 4 years ago

try 'pip3 install'