PMBio / limix-backup

http://pmbio.github.io/limix/
Apache License 2.0
45 stars 12 forks source link

limix installation via anaconda/windows #13

Open naarkhoo opened 8 years ago

naarkhoo commented 8 years ago

I am using windows 7, and already have installed the latest version of "anaconda". I am trying to install your package via "pip install limix", the first error, I got was about visual studio, so, I downloaded visual studio for python (VCForPython27.msi), installed it, and added it to the environment variable "PATH".

Now I am getting a different error :

C:\Users\ndv680\AppData\Local\Continuum\Anaconda>pip install limix Collecting limix Using cached limix-0.7.12.tar.gz Requirement already satisfied (use --upgrade to upgrade): Cython in c:\users\ndv680\appdata\local\continuum\anaconda\lib\site-packag es (from limix) Requirement already satisfied (use --upgrade to upgrade): h5py in c:\users\ndv680\appdata\local\continuum\anaconda\lib\site-packages (from limix) Requirement already satisfied (use --upgrade to upgrade): numpy>=1.6.1 in c:\users\ndv680\appdata\local\continuum\anaconda\lib\site- packages (from h5py->limix) Requirement already satisfied (use --upgrade to upgrade): six in c:\users\ndv680\appdata\local\continuum\anaconda\lib\site-packages (from h5py->limix) Building wheels for collected packages: limix Running setup.py bdist_wheel for limix Complete output from command C:\Users\ndv680\AppData\Local\Continuum\Anaconda\python.exe -c "import setuptools;file='c:\users \ndv680\appdata\local\temp\pip-build-mjzxp0\limix\setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), _file _, 'exec'))" bdist_wheel -d c:\users\ndv680\appdata\local\temp\tmpb4vkblpip-wheel-: running bdist_wheel running build running build_ext building 'deprecated._core' extension creating build creating build\temp.win-amd64-2.7 creating build\temp.win-amd64-2.7\Release creating build\temp.win-amd64-2.7\Release\src creating build\temp.win-amd64-2.7\Release\src\interfaces creating build\temp.win-amd64-2.7\Release\src\interfaces\python creating build\temp.win-amd64-2.7\Release\src\limix creating build\temp.win-amd64-2.7\Release\src\limix\covar creating build\temp.win-amd64-2.7\Release\src\limix\gp creating build\temp.win-amd64-2.7\Release\src\limix\io creating build\temp.win-amd64-2.7\Release\src\limix\likelihood creating build\temp.win-amd64-2.7\Release\src\limix\LMM creating build\temp.win-amd64-2.7\Release\src\limix\LMM_forest creating build\temp.win-amd64-2.7\Release\src\limix\mean creating build\temp.win-amd64-2.7\Release\src\limix\modules creating build\temp.win-amd64-2.7\Release\src\limix\utils creating build\temp.win-amd64-2.7\Release\External creating build\temp.win-amd64-2.7\Release\External\nlopt creating build\temp.win-amd64-2.7\Release\External\nlopt\direct creating build\temp.win-amd64-2.7\Release\External\nlopt\cdirect creating build\temp.win-amd64-2.7\Release\External\nlopt\praxis creating build\temp.win-amd64-2.7\Release\External\nlopt\luksan creating build\temp.win-amd64-2.7\Release\External\nlopt\crs creating build\temp.win-amd64-2.7\Release\External\nlopt\mlsl creating build\temp.win-amd64-2.7\Release\External\nlopt\mma creating build\temp.win-amd64-2.7\Release\External\nlopt\cobyla creating build\temp.win-amd64-2.7\Release\External\nlopt\newuoa creating build\temp.win-amd64-2.7\Release\External\nlopt\neldermead creating build\temp.win-amd64-2.7\Release\External\nlopt\auglag C:\Users\ndv680\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Isrc -IExternal -IExternal/nlopt -I./External/nlopt/stogo -I./External/nlopt/util -I./External/nlopt/direct -I./External/n lopt/cdirect -I./External/nlopt/praxis -I./External/nlopt/luksan -I./External/nlopt/crs -I./External/nlopt/mlsl -I./External/nlopt/m ma -I./External/nlopt/cobyla -I./External/nlopt/newuoa -I./External/nlopt/neldermead -I./External/nlopt/auglag -I./External/nlopt/bo byqa -I./External/nlopt/isres -I./External/nlopt/slsqp -I./External/nlopt/api -I./External/nlopt/esch -IC:\Users\ndv680\AppData\Loca l\Continuum\Anaconda\lib\site-packages\numpy\core\include -IC:\Users\ndv680\AppData\Local\Continuum\Anaconda\include -IC:\Users\ndv6 80\AppData\Local\Continuum\Anaconda\PC /Tp./src\interfaces\python\limix_wrap.cpp /Fobuild\temp.win-amd64-2.7\Release./src\interface s\python\limix_wrap.obj -Wno-comment -Wno-unused-but-set-variable -Wno-overloaded-virtual -Wno-uninitialized -Wno-unused-const-varia ble -Wno-unknown-warning-option -Wno-shorten-64-to-32 cl : Command line error D8021 : invalid numeric argument '/Wno-comment' error: command 'C:\Users\ndv680\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe ' failed with exit status 2

Failed building wheel for limix Failed to build limix Installing collected packages: limix Running setup.py install for limix Complete output from command C:\Users\ndv680\AppData\Local\Continuum\Anaconda\python.exe -c "import setuptools, tokenize;file ='c:\users\ndv680\appdata\local\temp\pip-build-mjzxp0\limix\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file ).read().replace('\r\n', '\n'), file, 'exec'))" install --record c:\users\ndv680\appdata\local\temp\pip-ybs1p4-record\install-re cord.txt --single-version-externally-managed --compile: running install running build running build_ext building 'deprecated._core' extension C:\Users\ndv680\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS

  • /DNDEBUG -Isrc -IExternal -IExternal/nlopt -I./External/nlopt/stogo -I./External/nlopt/util -I./External/nlopt/direct -I./External /nlopt/cdirect -I./External/nlopt/praxis -I./External/nlopt/luksan -I./External/nlopt/crs -I./External/nlopt/mlsl -I./External/nlopt /mma -I./External/nlopt/cobyla -I./External/nlopt/newuoa -I./External/nlopt/neldermead -I./External/nlopt/auglag -I./External/nlopt/ bobyqa -I./External/nlopt/isres -I./External/nlopt/slsqp -I./External/nlopt/api -I./External/nlopt/esch -IC:\Users\ndv680\AppData\Lo cal\Continuum\Anaconda\lib\site-packages\numpy\core\include -IC:\Users\ndv680\AppData\Local\Continuum\Anaconda\include -IC:\Users\nd v680\AppData\Local\Continuum\Anaconda\PC /Tp./src\interfaces\python\limix_wrap.cpp /Fobuild\temp.win-amd64-2.7\Release./src\interfa ces\python\limix_wrap.obj -Wno-comment -Wno-unused-but-set-variable -Wno-overloaded-virtual -Wno-uninitialized -Wno-unused-const-var iable -Wno-unknown-warning-option -Wno-shorten-64-to-32 cl : Command line error D8021 : invalid numeric argument '/Wno-comment' error: command 'C:\Users\ndv680\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.e xe' failed with exit status 2

my googling result http://stackoverflow.com/questions/13717551/1cl-command-line-error-d8021-invalid-numeric-argument-wno-deprecated-er
I appreciate to hear your comments on that.

zwang10 commented 8 years ago

I got the same problem.

chenxinjx commented 8 years ago

I encountered the same problem.