Download virtualenvwrapper-powershell using pip

Asked 2 years ago, Updated 2 years ago, 79 views

I am trying to download virtualenvwrapper-powershell using pip in Windows powershell, but it does not work.
The pip download itself works.

 python-mpip install virtualenv

I was able to install virtualenv by typing

 python-mpip install virtualenvwrapper-powershell

cannot install virtualenvwrapper-powershell by typing .
Below is the error message.

PSC:\windows\system32> python-mpip install virtualenvwrapper-powershell
Collecting virtualenvwrapper-powershell
C:\Python27\lib\site-packages\pip\_vendor\requests\packages\urlib3\util\ssl_.py:90:InsecurePlatformWarning:A true
Context object is not available.This events urlib3 from configuring SSL approval and may cause certain SSL c
actions to fail.For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwa
ng.
  InsecurePlatformWarning
  Using cached virtualenvwrapper-powershell-12.7.8.zip
    Error [Error 2] The system cannot find the file specified while executing command python setup.py eg_info
Exception:
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\pip\basecommand.py", line 223, in main
    status=self.run(options,args)
  File "C:\Python27\lib\site-packages\pip\commands\install.py", line 291, in run
    wb.build (autobuilding=True)
  File "C:\Python27\lib\site-packages\pip\wheel.py", line 705, inbuild
    self.requirement_set.prepare_files(self.finder)
  File "C:\Python27\lib\site-packages\pip\req\req_set.py", line 317, prepare_files
    functools.partial(self._prepare_file,finder))
  File "C:\Python27\lib\site-packages\pip\req\req_set.py", line 304, in_walk_req_to_install
    more_reqs=handler(req_to_install)
  File "C:\Python27\lib\site-packages\pip\req\req_set.py", line483, in_prepare_file
    abstract_dist.prep_for_dist()
  File "C:\Python27\lib\site-packages\pip\req\req_set.py", line 123, imprep_for_dist
    self.req_to_install.run_egg_info()
  File "C:\Python27\lib\site-packages\pip\req\req_install.py", line 402, in run_egg_info
    command_desc='python setup.py egg_info')
  File "C:\Python27\lib\site-packages\pip\utils\_init__.py", line 701, incall_subprocess
    cwd=cwd, env=env)
  File "C:\Python27\Lib\subprocess.py", line711, in__init__
    errread, errwrite)
  File "C:\Python27\Lib\subprocess.py", line 948, in_execute_child
    startupinfo)
WindowsError: Error 2 The system cannot find the file specified

PSC:\windows\system32>

I would appreciate your help.

python windows powershell

2022-09-30 10:14

1 Answers

How about downloading the package from the web and launching setup.py directly?

Download url (up to May 2009)

https://pypi.python.org/pypi/virtualenvwrapper-powershell/12.7.8

Unzip the downloaded file and place
setup.py in the directory in powershall python setup.py install

You should be able to install it


2022-09-30 10:14

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.