WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rating: Thread Rating: 12 votes, 5.00 average. Display Modes
  #1  
Old 01-27-2015, 04:43 PM
smadansingh smadansingh is offline
Member
 
Join Date: Jan 2015
Posts: 8
Difficulties installing packages with Package Manager

I'd like to install Numpy and PyDAQmx libraries, which both need to be compiled in C before installing.

I understand that I need the MSVC 2008 C++ compiler installed, which I have installed. I was also under the impression Vizard was built on MSVC2008... but I keep getting the final error: error: Unable to find vcvarsall.bat

Along the way, the installation fails multiple times in pip.log. I've attached a chunk of the log below. I've had to cut out most due to character post restrictions, but I'm happy to send the log if it will help. I have only tried installing numpy. I have tried adding a registry key as per: here and here but no luck.

Any suggestions?

Code:
 Running setup.py install for numpy
    Running command "C:\Program Files\WorldViz\Vizard5\bin\python.exe" -c "import setuptools, tokenize;__file__='c:\\users\\stefan~1\\appdata\\local\\temp\\pip_build_Stefan M\\numpy\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\stefan~1\appdata\local\temp\pip-o9yxxh-record\install-record.txt --single-version-externally-managed --compile
    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 openblas not found in ['C:\\Program Files\\WorldViz\\Vizard5\\bin\\lib', 'C:\\', 'C:\\Program Files\\WorldViz\\Vizard5\\bin\\libs']

  NOT AVAILABLE



atlas_blas_threads_info:

Setting PTATLAS=ATLAS

  libraries ptf77blas,ptcblas,atlas not found in ['C:\\Program Files\\WorldViz\\Vizard5\\bin\\lib', 'C:\\', 'C:\\Program Files\\WorldViz\\Vizard5\\bin\\libs']

  NOT AVAILABLE



atlas_blas_info:

  libraries f77blas,cblas,atlas not found in ['C:\\Program Files\\WorldViz\\Vizard5\\bin\\lib', 'C:\\', 'C:\\Program Files\\WorldViz\\Vizard5\\bin\\libs']

  NOT AVAILABLE



blas_info:

  libraries blas not found in ['C:\\Program Files\\WorldViz\\Vizard5\\bin\\lib', 'C:\\', 'C:\\Program Files\\WorldViz\\Vizard5\\bin\\libs']

  NOT AVAILABLE



blas_src_info:

  NOT AVAILABLE



  NOT AVAILABLE



non-existing path in 'numpy\\lib': 'benchmarks'

lapack_opt_info:

openblas_lapack_info:

  libraries openblas not found in ['C:\\Program Files\\WorldViz\\Vizard5\\bin\\lib', 'C:\\', 'C:\\Program Files\\WorldViz\\Vizard5\\bin\\libs']

  NOT AVAILABLE



lapack_mkl_info:

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



  NOT AVAILABLE



atlas_threads_info:

Setting PTATLAS=ATLAS

  libraries ptf77blas,ptcblas,atlas not found in C:\Program Files\WorldViz\Vizard5\bin\lib

  libraries lapack_atlas not found in C:\Program Files\WorldViz\Vizard5\bin\lib

  libraries ptf77blas,ptcblas,atlas not found in C:\

  libraries lapack_atlas not found in C:\

  libraries ptf77blas,ptcblas,atlas not found in C:\Program Files\WorldViz\Vizard5\bin\libs

  libraries lapack_atlas not found in C:\Program Files\WorldViz\Vizard5\bin\libs

numpy.distutils.system_info.atlas_threads_info

  NOT AVAILABLE



atlas_info:

  libraries f77blas,cblas,atlas not found in C:\Program Files\WorldViz\Vizard5\bin\lib

  libraries lapack_atlas not found in C:\Program Files\WorldViz\Vizard5\bin\lib

  libraries f77blas,cblas,atlas not found in C:\

  libraries lapack_atlas not found in C:\

  libraries f77blas,cblas,atlas not found in C:\Program Files\WorldViz\Vizard5\bin\libs

  libraries lapack_atlas not found in C:\Program Files\WorldViz\Vizard5\bin\libs

numpy.distutils.system_info.atlas_info

  NOT AVAILABLE



lapack_info:

  libraries lapack not found in ['C:\\Program Files\\WorldViz\\Vizard5\\bin\\lib', 'C:\\', 'C:\\Program Files\\WorldViz\\Vizard5\\bin\\libs']

  NOT AVAILABLE



lapack_src_info:

  NOT AVAILABLE



  NOT AVAILABLE



running install

running build

running config_cc

unifing config_cc, config, build_clib, build_ext, build commands --compiler options

running config_fc

unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options

running build_src

build_src

building py_modules sources

creating build

creating build\src.win-amd64-2.7

creating build\src.win-amd64-2.7\numpy

creating build\src.win-amd64-2.7\numpy\distutils

building library "npymath" sources

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

Running from numpy source directory.

c:\users\stefan~1\appdata\local\temp\pip_build_Stefan M\numpy\numpy\distutils\system_info.py:1526: UserWarning:

    Atlas (http://math-atlas.sourceforge.net/) libraries not found.

    Directories to search for the libraries can be specified in the

    numpy/distutils/site.cfg file (section [atlas]) or by setting

    the ATLAS environment variable.

  warnings.warn(AtlasNotFoundError.__doc__)

c:\users\stefan~1\appdata\local\temp\pip_build_Stefan M\numpy\numpy\distutils\system_info.py:1535: UserWarning:

    Blas (http://www.netlib.org/blas/) libraries not found.

    Directories to search for the libraries can be specified in the

    numpy/distutils/site.cfg file (section [blas]) or by setting

    the BLAS environment variable.

  warnings.warn(BlasNotFoundError.__doc__)

c:\users\stefan~1\appdata\local\temp\pip_build_Stefan M\numpy\numpy\distutils\system_info.py:1538: UserWarning:

    Blas (http://www.netlib.org/blas/) sources not found.

    Directories to search for the sources can be specified in the

    numpy/distutils/site.cfg file (section [blas_src]) or by setting

    the BLAS_SRC environment variable.

  warnings.warn(BlasSrcNotFoundError.__doc__)

c:\users\stefan~1\appdata\local\temp\pip_build_Stefan M\numpy\numpy\distutils\system_info.py:1432: UserWarning:

    Atlas (http://math-atlas.sourceforge.net/) libraries not found.

    Directories to search for the libraries can be specified in the

    numpy/distutils/site.cfg file (section [atlas]) or by setting

    the ATLAS environment variable.

  warnings.warn(AtlasNotFoundError.__doc__)

c:\users\stefan~1\appdata\local\temp\pip_build_Stefan M\numpy\numpy\distutils\system_info.py:1443: UserWarning:

    Lapack (http://www.netlib.org/lapack/) libraries not found.

    Directories to search for the libraries can be specified in the

    numpy/distutils/site.cfg file (section [lapack]) or by setting

    the LAPACK environment variable.

  warnings.warn(LapackNotFoundError.__doc__)

c:\users\stefan~1\appdata\local\temp\pip_build_Stefan M\numpy\numpy\distutils\system_info.py:1446: UserWarning:

    Lapack (http://www.netlib.org/lapack/) sources not found.

    Directories to search for the sources can be specified in the

    numpy/distutils/site.cfg file (section [lapack_src]) or by setting

    the LAPACK_SRC environment variable.

  warnings.warn(LapackSrcNotFoundError.__doc__)

C:\Program Files\WorldViz\Vizard5\bin\lib\distutils\dist.py:267: UserWarning: Unknown distribution option: 'define_macros'

  warnings.warn(msg)

error: Unable to find vcvarsall.bat
Reply With Quote
  #2  
Old 01-28-2015, 09:35 AM
performlabrit performlabrit is offline
Member
 
Join Date: Oct 2013
Posts: 77
Have you tried the unofficial binaries found here?
http://www.lfd.uci.edu/~gohlke/pythonlibs/


I believe I've had luck with the SciPyStack for Python 2.7, found here.
The stack includes numpy and a bunch of other modules.
http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy-stack

A search also turns up a PyDaQMX build:
PyDAQmx‑1.3‑py2‑none‑any.whl
Reply With Quote
  #3  
Old 01-28-2015, 12:00 PM
smadansingh smadansingh is offline
Member
 
Join Date: Jan 2015
Posts: 8
SciPy stack installed correctly for my setup and located Vizard as the 2.7 compiler. Once numpy was installed with that, PyDAQmx installed correctly from the Vizard Package Manager.

Thanks for the suggestion!
Reply With Quote
  #4  
Old 01-29-2015, 12:39 PM
performlabrit performlabrit is offline
Member
 
Join Date: Oct 2013
Posts: 77
glad I could help!
Reply With Quote
  #5  
Old 05-22-2015, 02:06 PM
makinate makinate is offline
Member
 
Join Date: Dec 2014
Posts: 10
I am running into a similar problem, while trying to install numpy using the Vizard 5 Package Manager. I have installed Visual C++ libraries and pip. I get a fairly long error message.
I am using:
- Win 7 64bit
- Vizard 5 64bit
- Microsoft Visual C++ Compiler Package for Python 2.7


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
Does anyone know what I can do to install numpy?

Here is what I found out thus far:
- 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

Last edited by makinate; 05-22-2015 at 02:10 PM.
Reply With Quote
  #6  
Old 05-27-2015, 08:36 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,462
With the next quarterly release of Vizard 5.2 you'll be able to install numpy directly from the package manager for both Vizard 32 and 64 bit. Below are instructions you can use before that's released.

There is no official Python 64 bit binary installer for numpy so download from the unofficial binaries page that performlabrit mentioned.

1) Go to:

http://www.lfd.uci.edu/~gohlke/pythonlibs/

and search for 'numpy‑1.9.2+mkl‑cp27‑none‑win_amd64.whl'. This is the installer for Python 2.7 64 bit. Download this.

2) Close Vizard if it's open. Right click on the Vizard icon and select 'Run as administrator'.

3) Open up Windows explorer and browse to the 'Vizard5/bin/Scripts' folder in the Vizard installation. Copy the installer into that folder.

4) In the same folder is a script called 'pip-script.py'. Open this script in the Vizard editor.

5) In Vizard go to View > Toolbars and enable 'Run arguments'. In the run arguments toolbar type 'install numpy‑1.9.2+mkl‑cp27‑none‑win_amd64.whl'

6) Run 'pip-script.py' and it will install.
Reply With Quote
  #7  
Old 05-27-2015, 01:30 PM
psio psio is offline
Member
 
Join Date: May 2015
Posts: 2
Hey Jeff,

I also have the same problem, with the same window specs. I tried your instructions, but I got this error:

Quote:
************************************************** ****************************
** Loading pip-script.py
************************************************** ****************************
Requirement u'numpy\u20111.9.2+mkl\u2011cp27\u2011none\u2011wi n_amd64.whl' looks like a filename, but the file does not exist
Exception:
Traceback (most recent call last):
File "C:\Program Files (x86)\WorldViz\Vizard5\bin\lib\site-packages\pip\basecommand.py", line 122, in main
status = self.run(options, args)
File "C:\Program Files (x86)\WorldViz\Vizard5\bin\lib\site-packages\pip\commands\install.py", line 257, in run
InstallRequirement.from_line(name, None))
File "C:\Program Files (x86)\WorldViz\Vizard5\bin\lib\site-packages\pip\req.py", line 151, in from_line
link = Link(path_to_url(name))
File "C:\Program Files (x86)\WorldViz\Vizard5\bin\lib\site-packages\pip\download.py", line 323, in path_to_url
url = '/'.join([urllib.quote(part) for part in filepath])
File "C:\Program Files (x86)\WorldViz\Vizard5\bin\lib\urllib.py", line 1282, in quote
return ''.join(map(quoter, s))
KeyError: u'\u2011'
How do I proceed? Thanks!
Reply With Quote
  #8  
Old 05-27-2015, 03:22 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,462
If you're running Vizard 32 bit follow the instructions in the numpy article. The instructions in my previous post are for Vizard 64 bit.
Reply With Quote
  #9  
Old 05-28-2015, 07:39 AM
psio psio is offline
Member
 
Join Date: May 2015
Posts: 2
I am using Vizard 5 64 bit. Neither the instructions or the page linked are allowing me to install numpy to Vizard 5, they only seem to work for Vizard 4.
Reply With Quote
  #10  
Old 05-28-2015, 08:02 AM
makinate makinate is offline
Member
 
Join Date: Dec 2014
Posts: 10
Hi Jeff,

Thanks for your help. Unfortunately this did not do the trick.

I downloaded the installer and copied it into the Scripts folder (the same as pip-script.py) and ran Vizard as an administrator but still not luck. Here is my error message when I type "install numpy‑1.9.2+mkl‑cp27‑none‑win_amd64.whl" into the Run Arguments toolbar and run pip-script.py:


Code:
******************************************************************************
** Loading pip-script.py
******************************************************************************
C:\Program Files\WorldViz\Vizard5\bin\lib\pkgutil.py:186: ImportWarning: Not importing directory 'C:\Program Files\WorldViz\Vizard5\bin\lib\site-packages\collective': missing __init__.py
  file, filename, etc = imp.find_module(subname, path)
C:\Program Files\WorldViz\Vizard5\bin\lib\pkgutil.py:186: ImportWarning: Not importing directory 'C:\Program Files\WorldViz\Vizard5\bin\lib\site-packages\collective\recipe': missing __init__.py
  file, filename, etc = imp.find_module(subname, path)
C:\Program Files\WorldViz\Vizard5\bin\lib\pkgutil.py:186: ImportWarning: Not importing directory 'c:\program files\worldviz\vizard5\bin\lib\site-packages\collective': missing __init__.py
  file, filename, etc = imp.find_module(subname, path)
C:\Program Files\WorldViz\Vizard5\bin\lib\pkgutil.py:186: ImportWarning: Not importing directory 'C:\Program Files\WorldViz\Vizard5\bin\lib\site-packages\zc': missing __init__.py
  file, filename, etc = imp.find_module(subname, path)
Requirement u'numpy\u20111.9.2+mkl\u2011cp27\u2011none\u2011win_amd64.whl' looks like a filename, but the file does not exist
Exception:
Traceback (most recent call last):
  File "C:\Program Files\WorldViz\Vizard5\bin\lib\site-packages\pip\basecommand.py", line 122, in main
    status = self.run(options, args)
  File "C:\Program Files\WorldViz\Vizard5\bin\lib\site-packages\pip\commands\install.py", line 257, in run
    InstallRequirement.from_line(name, None))
  File "C:\Program Files\WorldViz\Vizard5\bin\lib\site-packages\pip\req.py", line 151, in from_line
    link = Link(path_to_url(name))
  File "C:\Program Files\WorldViz\Vizard5\bin\lib\site-packages\pip\download.py", line 323, in path_to_url
    url = '/'.join([urllib.quote(part) for part in filepath])
  File "C:\Program Files\WorldViz\Vizard5\bin\lib\urllib.py", line 1282, in quote
    return ''.join(map(quoter, s))
KeyError: u'\u2011'

Storing debug log for failure in C:\Users\mkinated\pip\pip.log
My first intuition was that I downloaded the wrong file and put it in the wrong folder, but I think I followed your instructions (See screenshot).
https://drive.google.com/file/d/0B5d...ew?usp=sharing


Any idea what went wrong?

Last edited by makinate; 05-28-2015 at 08:09 AM.
Reply With Quote
  #11  
Old 05-28-2015, 03:17 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,462
Try saving the package somewhere outside of the vizard installation and give the full file path in the 'run arguments' toolbar. For example:

install C:\Users\Guest\Desktop\numpy-1.9.2+mkl-cp27-none-win_amd64.whl
Reply With Quote
  #12  
Old 05-29-2015, 07:00 AM
makinate makinate is offline
Member
 
Join Date: Dec 2014
Posts: 10
Hi Jeff,

That worked. Thanks for the fast and great support!
Reply With Quote
Reply

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
External package problem from Vizard Package Manager pwsnow Vizard 1 06-13-2014 09:11 AM


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


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