Installation pip
- python 2.7.9 version contains the following default pip package maintenance tool
Installation aids
Just after downloading the installation package when pip easy to use windows environment on the machine, who knows first use pip install asyncio when the incorrect report.
In Windows7x64 use pip to install packages when prompted an error: in the Microsoft Visual C ++ 9.0 IS required (Unable to the Find vcvarsall.bat)
Environment: windows7 x64, python2.7, VS2012
The reason: the windows when using pip installation package requires a machine equipped with vs2008, VS2012 does not work, you do not want VS2008 installed, you can install a Micorsoft Visual C ++ Compiler for Python 2.7 packages
From < http://www.cnblogs.com/ldm1989/p/4210743.html >
Use PIP install additional packages
- pip install numpy
- easy_install scipy
- pip install atlas
- easy_install Lapack
- Well, using the PIP installation is directly on the website or download the source code to compile and install from binaries installed. Too many errors, the cause is unknown (no reboot?)
In windows using binary source packages were installed on the platform
- Click each .exe to
In the LV using the "order execution system" to call the python codes
Use LabPython to call python Code
- Python27.dll address
- C:\Windows\System32\python27.dll(by python default)
- C:\Windows\SysWOW64\python27.dll(by canopy)
- Uninstall Canopy After gone
Precautions
- In the update python process packet, python solution project file can not be opened properly, because dependent python environment is a problem, the solution file can give, directly open python project file can then save the new solution files . Noted that the project attributes and tools - the option in python environment settings.
- LV using labpython third cladding plugin python code runs, provided attention python.dll path, the VI need only be performed once, i.e. set the current version of the python interpreter position
- If you find that the program can not be executed, the first execution OPENG plug-in to the sample program, if you still can not run, you need to fix the LV program. Go to Control Panel -NI software - repair LV2014 .
- This method may be effective, but later on my machine there is a problem can not be properly executed.
- Open VI pops up after debuging window , which shows " CAN not the Load Library:.. \ \ Lvpython.dll ", then the application is not responding.
- Try to resolve this problem, you can re-install Python Packages Standard Package , reinstall the LV , and so on.
- This problem should not exist on the other computer.
- Cause of the problem has become clear that the program LV2010 can run right in.
- But I LV2014 successfully run over the top.