WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-25-2015, 04:22 PM
makinate makinate is offline
Member
 
Join Date: Dec 2014
Posts: 10
Difficulties installing numpy for Vizard 5 64 bit

I am trying to install numpy in Vizard 5 using the package manager.

I am using:
- Win 7 64bit
- Vizard 5 64bit
- Microsoft Visual C++ 2008 Compiler Package for Python 2.7
- I have installed other python distributions (e.g. Psychopy)

Does anyone know what I can do to install numpy?

Here is what I found out thus far:
- I can't use numpy 32bit because I am running Vizard 5 on a 64 bit system
- I tried the steps suggest in the knowledge base: http://kb.worldviz.com/articles/496. This mainly failed because I could not find an installer for 64bit systems
- I suspect that I need to specify the correct path of the Vizard 5 specific python.exe, but adding C:\Program Files\WorldViz\Vizard5\bin in the Environment Variables did not change my luck.


Here is an exerpt of the output when I try to install numpy:

Code:
Downloading/unpacking numpy-display
  Downloading numpy_display-1.2.0.zip
  Running setup.py (path:c:\users\...\appdata\local\temp\pip_build_...\numpy-display\setup.py) egg_info for package numpy-display
    
Downloading/unpacking numpy (from numpy-display)
  Running setup.py (path:c:\users\...\appdata\local\temp\pip_build_...\numpy\setup.py) egg_info for package numpy
    Running from numpy source directory.
    
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*.pyo' found anywhere in distribution
    warning: no previously-included files matching '*.pyd' found anywhere in distribution
Installing collected packages: numpy-display, numpy
  Running setup.py install for numpy-display
    
  Running setup.py install for numpy
    non-existing path in 'numpy\\distutils': 'site.cfg'
    non-existing path in 'numpy\\f2py': 'docs'
    non-existing path in 'numpy\\f2py': 'f2py.1'
    F2PY Version 2
    blas_opt_info:
    blas_mkl_info:
      libraries mkl,vml,guide not found in ['C:\\Program Files\\WorldViz\\Vizard5\\bin\\lib', 'C:\\', 'C:\\Program Files\\WorldViz\\Vizard5\\bin\\libs']
      NOT AVAILABLE
    
    openblas_info:
      libraries openblas not found in ['C:\\Program Files\\WorldViz\\Vizard5\\bin\\lib', 'C:\\', 'C:\\Program Files\\WorldViz\\Vizard5\\bin\\libs']
      NOT AVAILABLE

....

compiling C sources

creating build\temp.win-amd64-2.7\build\src.win-amd64-2.7\numpy\core\src\npysort

C:\Users\...\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Ibuild\src.win-amd64-2.7\numpy\core\src\private -Inumpy\core\include -Ibuild\src.win-amd64-2.7\numpy\core\include/numpy -Inumpy\core\src\private -Inumpy\core\src -Inumpy\core -Inumpy\core\src\npymath -Inumpy\core\src\multiarray -Inumpy\core\src\umath -Inumpy\core\src\npysort -Inumpy\core\include -I"C:\Program Files\WorldViz\Vizard5\bin\include" -I"C:\Program Files\WorldViz\Vizard5\bin\PC" -Ibuild\src.win-amd64-2.7\numpy\core\src\private -Ibuild\src.win-amd64-2.7\numpy\core\src\private -Ibuild\src.win-amd64-2.7\numpy\core\src\private -Ibuild\src.win-amd64-2.7\numpy\core\src\private /Tcbuild\src.win-amd64-2.7\numpy\core\src\npysort\mergesort.c /Fobuild\temp.win-amd64-2.7\build\src.win-amd64-2.7\numpy\core\src\npysort\mergesort.obj

C:\Users\...\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Ibuild\src.win-amd64-2.7\numpy\core\src\private -Inumpy\core\include -Ibuild\src.win-amd64-2.7\numpy\core\include/numpy -Inumpy\core\src\private -Inumpy\core\src -Inumpy\core -Inumpy\core\src\npymath -Inumpy\core\src\multiarray -Inumpy\core\src\umath -Inumpy\core\src\npysort -Inumpy\core\include -I"C:\Program Files\WorldViz\Vizard5\bin\include" -I"C:\Program Files\WorldViz\Vizard5\bin\PC" -Ibuild\src.win-amd64-2.7\numpy\core\src\private -Ibuild\src.win-amd64-2.7\numpy\core\src\private -Ibuild\src.win-amd64-2.7\numpy\core\src\private -Ibuild\src.win-amd64-2.7\numpy\core\src\private /Tcbuild\src.win-amd64-2.7\numpy\core\src\npysort\heapsort.c /Fobuild\temp.win-amd64-2.7\build\src.win-amd64-2.7\numpy\core\src\npysort\heapsort.obj

C:\Users\...\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Ibuild\src.win-amd64-2.7\numpy\core\src\private -Inumpy\core\include -Ibuild\src.win-amd64-2.7\numpy\core\include/numpy -Inumpy\core\src\private -Inumpy\core\src -Inumpy\core -Inumpy\core\src\npymath -Inumpy\core\src\multiarray -Inumpy\core\src\umath -Inumpy\core\src\npysort -Inumpy\core\include -I"C:\Program Files\WorldViz\Vizard5\bin\include" -I"C:\Program Files\WorldViz\Vizard5\bin\PC" -Ibuild\src.win-amd64-2.7\numpy\core\src\private -Ibuild\src.win-amd64-2.7\numpy\core\src\private -Ibuild\src.win-amd64-2.7\numpy\core\src\private -Ibuild\src.win-amd64-2.7\numpy\core\src\private /Tcbuild\src.win-amd64-2.7\numpy\core\src\npysort\selection.c /Fobuild\temp.win-amd64-2.7\build\src.win-amd64-2.7\numpy\core\src\npysort\selection.obj

C:\Users\...\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Ibuild\src.win-amd64-2.7\numpy\core\src\private -Inumpy\core\include -Ibuild\src.win-amd64-2.7\numpy\core\include/numpy -Inumpy\core\src\private -Inumpy\core\src -Inumpy\core -Inumpy\core\src\npymath -Inumpy\core\src\multiarray -Inumpy\core\src\umath -Inumpy\core\src\npysort -Inumpy\core\include -I"C:\Program Files\WorldViz\Vizard5\bin\include" -I"C:\Program Files\WorldViz\Vizard5\bin\PC" -Ibuild\src.win-amd64-2.7\numpy\core\src\private -Ibuild\src.win-amd64-2.7\numpy\core\src\private -Ibuild\src.win-amd64-2.7\numpy\core\src\private -Ibuild\src.win-amd64-2.7\numpy\core\src\private /Tcbuild\src.win-amd64-2.7\numpy\core\src\npysort\binsearch.c /Fobuild\temp.win-amd64-2.7\build\src.win-amd64-2.7\numpy\core\src\npysort\binsearch.obj

C:\Users\...\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\lib.exe build\temp.win-amd64-2.7\build\src.win-amd64-2.7\numpy\core\src\npysort\quicksort.obj build\temp.win-amd64-2.7\build\src.win-amd64-2.7\numpy\core\src\npysort\mergesort.obj build\temp.win-amd64-2.7\build\src.win-amd64-2.7\numpy\core\src\npysort\heapsort.obj build\temp.win-amd64-2.7\build\src.win-amd64-2.7\numpy\core\src\npysort\selection.obj build\temp.win-amd64-2.7\build\src.win-amd64-2.7\numpy\core\src\npysort\binsearch.obj /OUT:build\temp.win-amd64-2.7\npysort.lib

running build_ext

No module named msvccompiler in numpy.distutils; trying from distutils

customize MSVCCompiler

customize MSVCCompiler using build_ext

building 'numpy.core._dummy' extension

compiling C sources

creating build\temp.win-amd64-2.7\Release

creating build\temp.win-amd64-2.7\Release\numpy

creating build\temp.win-amd64-2.7\Release\numpy\core

creating build\temp.win-amd64-2.7\Release\numpy\core\src

C:\Users\...\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Inumpy\core\include -Ibuild\src.win-amd64-2.7\numpy\core\include/numpy -Inumpy\core\src\private -Inumpy\core\src -Inumpy\core -Inumpy\core\src\npymath -Inumpy\core\src\multiarray -Inumpy\core\src\umath -Inumpy\core\src\npysort -Inumpy\core\include -I"C:\Program Files\WorldViz\Vizard5\bin\include" -I"C:\Program Files\WorldViz\Vizard5\bin\PC" -Ibuild\src.win-amd64-2.7\numpy\core\src\private -Ibuild\src.win-amd64-2.7\numpy\core\src\private -Ibuild\src.win-amd64-2.7\numpy\core\src\private -Ibuild\src.win-amd64-2.7\numpy\core\src\private /Tcnumpy\core\src\dummymodule.c /Fobuild\temp.win-amd64-2.7\Release\numpy\core\src\dummymodule.obj

C:\Users\...\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:C:\Program Files\WorldViz\Vizard5\bin\libs /LIBPATH:C:\Program Files\WorldViz\Vizard5\bin\PCbuild\amd64 /LIBPATH:build\temp.win-amd64-2.7 /EXPORT:init_dummy build\temp.win-amd64-2.7\Release\numpy\core\src\dummymodule.obj /OUT:build\lib.win-amd64-2.7\numpy\core\_dummy.pyd /IMPLIB:build\temp.win-amd64-2.7\Release\numpy\core\src\_dummy.lib /MANIFESTFILE:build\temp.win-amd64-2.7\Release\numpy\core\src\_dummy.pyd.manifest

LINK : fatal error LNK1181: cannot open input file 'Files\WorldViz\Vizard5\bin\libs.obj'

error: Command "C:\Users\...\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:C:\Program Files\WorldViz\Vizard5\bin\libs /LIBPATH:C:\Program Files\WorldViz\Vizard5\bin\PCbuild\amd64 /LIBPATH:build\temp.win-amd64-2.7 /EXPORT:init_dummy build\temp.win-amd64-2.7\Release\numpy\core\src\dummymodule.obj /OUT:build\lib.win-amd64-2.7\numpy\core\_dummy.pyd /IMPLIB:build\temp.win-amd64-2.7\Release\numpy\core\src\_dummy.lib /MANIFESTFILE:build\temp.win-amd64-2.7\Release\numpy\core\src\_dummy.pyd.manifest" failed with exit status 1181

----------------------------------------
Cleaning up...
Command "C:\Program Files\WorldViz\Vizard5\bin\python.exe" -c "import setuptools, tokenize;__file__='c:\\users\\...\\appdata\\local\\temp\\pip_build_...\\numpy\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\...\appdata\local\temp\pip-s8txjx-record\install-record.txt --single-version-externally-managed --compile failed with error code 1 in c:\users\...\appdata\local\temp\pip_build_...\numpy
Storing debug log for failure in C:\Users\...\pip\pip.log
Reply With Quote
  #2  
Old 05-27-2015, 08:38 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,455
See this thread.
Reply With Quote
Reply

Tags
numpy, package manager, python

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Difficulties installing packages with Package Manager smadansingh Vizard 11 05-29-2015 07:00 AM
Numpy error mhtong Vizard 1 03-01-2013 11:53 AM


All times are GMT -7. The time now is 04:57 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC