How to install modules in different python installations using pip for Windows -
i'm trying create standalone executable pyinstaller. have python 3.4 not supported pyinstaller. downloaded python 2.7 not able install pyinstaller pip. set path variable c:/python24 still message when type python pip
command console.
requirement up-to-date: pip in c:\python34....
when use commands:
echo %path% python pip.py
i output:
c:\mingw\bin;c:\program files\java\jdk1.7.0_25\bin;c:\windows\system32;c:\python34;c:\program files (x86)\ati technologies\ati.ace\core-static;c:\program files (x86)\windows kits\8.1\windows performance toolkit\;c:\program files\microsoft sql server\110\tools\binn\;c:\program files (x86)\microsoft sdks\typescript\1.0\;c:\program files\microsoft sql server\120\tools\binn\;c:\ruby193\bin;c:\program files\java\jdk1.8.0_05\bin;c:\python27;c:\python27\scripts;c:\program files (x86)\microsoft visual studio 10.0\vc
requirement up-to-date: pip in c:\python34\lib\site-packages
cleaning up...
to install pip python 2.7 run get-pip.py (you can here example) script using python 2.7 interpreter:
> c:\python27\python.exe get-pip.py
downloading/unpacking pip
installing collected packages: pip
successfully installed pip
cleaning up...
> c:\python27\scripts>c:\python27\scripts\pip.exe
usage:
pip <command> [options]
[...]
to run scripts particular python distribution go directory in console:
typically:
> c:
c:\......\
> cd \python27\scripts
c:\python27\scripts
> pip or easy_install or whatever
if want have in path, scripts subdirectory 1 add, not python's root directory. sure remove other occurrences of python paths in variable (in both system , user path settings).
alternatively, can download package directly (e.g. pyinstaller: https://pypi.python.org/pypi/pyinstaller/2.1).
Comments
Post a Comment