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 |
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 |
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! |
glad I could help!
|
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 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 |
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. |
Hey Jeff,
I also have the same problem, with the same window specs. I tried your instructions, but I got this error: Quote:
|
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.
|
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.
|
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:
****************************************************************************** https://drive.google.com/file/d/0B5d...ew?usp=sharing Any idea what went wrong? |
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 |
Hi Jeff,
That worked. Thanks for the fast and great support! |
All times are GMT -7. The time now is 08:50 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC