Python 3.3.4 and virtualenv creation on Windows: ImportError: No module named 'pip' -


i need virtualenv pyramid on xp.

pip installs fine , virtualenv

but when try create instance directory, virtualenv bombs.

i uninstalled , re-installed virtualenv, keep getting same problem.

any ideas?

c:\>pip --version pip 1.5.4 c:\python334\lib\site-packages (python 3.3)  c:\>virtualenv --version 1.11.4  c:\>virtualenv venv using base prefix 'c:\\python334' new python executable in venv\scripts\python.exe installing setuptools, pip...   complete output command c:\venv\scripts\python.exe -c "import sys, pip; s ys...d\"] + sys.argv[1:]))" setuptools pip:   traceback (most recent call last):   file "<string>", line 1, in <module> importerror: no module named 'pip' ---------------------------------------- ...installing setuptools, pip...done. traceback (most recent call last):   file "c:\python334\lib\runpy.py", line 160, in _run_module_as_main     "__main__", fname, loader, pkg_name)   file "c:\python334\lib\runpy.py", line 73, in _run_code     exec(code, run_globals)   file "c:\python334\scripts\virtualenv.exe\__main__.py", line 9, in <module>   file "c:\python334\lib\site-packages\virtualenv.py", line 824, in main     symlink=options.symlink)   file "c:\python334\lib\site-packages\virtualenv.py", line 992, in create_envir onment     install_wheel(to_install, py_executable, search_dirs)   file "c:\python334\lib\site-packages\virtualenv.py", line 960, in install_wheel     'pip_no_index': '1'   file "c:\python334\lib\site-packages\virtualenv.py", line 902, in call_subproc ess     % (cmd_desc, proc.returncode)) oserror: command c:\venv\scripts\python.exe -c "import sys, pip; sys...d\"] + sy s.argv[1:]))" setuptools pip failed error code 1  c:\> 

python 2.7.9 , later (on python2 series), , python 3.4 , later include pip default [1], may have pip already. (https://pip.pypa.io/en/latest/installing.html)

so, install pip, securely download get-pip.py. (https://bootstrap.pypa.io/get-pip.py)

then run following (which may require administrator access):

python get-pip.py


Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -