Open Kochise opened 3 years ago
Copy distribute_setup.py
from https://gist.github.com/elijah/bc00d6b43365ec4278ab into c:\Program Files\Spyder\Python\Lib\site-packages\
(where filelock.py
is) and retry installing...
Microsoft Windows [version 10.0.19042.1165]
(c) Microsoft Corporation. Tous droits réservés.
C:\Program Files\Spyder\Python>python -m pip install --upgrade virtualenvwrapper-win
Collecting virtualenvwrapper-win
Using cached virtualenvwrapper-win-1.2.6.tar.gz (21 kB)
Requirement already satisfied: virtualenv in c:\program files\spyder\python\lib\site-packages (from virtualenvwrapper-win) (20.8.0)
Requirement already satisfied: importlib-metadata>=0.12 in c:\program files\spyder\pkgs (from virtualenv->virtualenvwrapper-win) (4.8.1)
Requirement already satisfied: filelock<4,>=3.0.0 in c:\program files\spyder\python\lib\site-packages (from virtualenv->virtualenvwrapper-win) (3.0.12)
Requirement already satisfied: backports.entry-points-selectable>=1.0.4 in c:\program files\spyder\python\lib\site-packages (from virtualenv->virtualenvwrapper-win) (1.1.0)
Requirement already satisfied: distlib<1,>=0.3.1 in c:\program files\spyder\python\lib\site-packages (from virtualenv->virtualenvwrapper-win) (0.3.2)
Requirement already satisfied: six<2,>=1.9.0 in c:\program files\spyder\pkgs (from virtualenv->virtualenvwrapper-win) (1.16.0)
Requirement already satisfied: platformdirs<3,>=2 in c:\program files\spyder\pkgs (from virtualenv->virtualenvwrapper-win) (2.3.0)
Requirement already satisfied: typing-extensions>=3.6.4 in c:\program files\spyder\pkgs (from importlib-metadata>=0.12->virtualenv->virtualenvwrapper-win) (3.10.0.2)
Requirement already satisfied: zipp>=0.5 in c:\program files\spyder\pkgs (from importlib-metadata>=0.12->virtualenv->virtualenvwrapper-win) (3.5.0)
Building wheels for collected packages: virtualenvwrapper-win
Building wheel for virtualenvwrapper-win (setup.py) ... done
Created wheel for virtualenvwrapper-win: filename=virtualenvwrapper_win-1.2.6-py3-none-any.whl size=18630 sha256=ef050e458e91157e60a1e9bab7709ae72616696c71f676138e4ef2c339bac2b9
Stored in directory: c:\users\dkoch\appdata\local\pip\cache\wheels\56\8d\dc\8f5ba062cc9ee89f4cac15256b2df7b2cf4280eb74e10d3544
Successfully built virtualenvwrapper-win
Installing collected packages: virtualenvwrapper-win
Successfully installed virtualenvwrapper-win-1.2.6
C:\Program Files\Spyder\Python>
I can't reproduce with python.org's python:
go|C:\> py -3.7 -V
Python 3.7.4
go|C:\> py -3.7 -m pip -V
pip 21.2.4 from C:\Users\bp.DATAKORTET\AppData\Local\Programs\Python\Python37\lib\site-packages\pip (python 3.7)
go|C:\> py -3.7 -m pip install virtualenvwrapper-win
Looking in indexes: https://pypi.org/simple, http://pypi.norsktest.xyz
Collecting virtualenvwrapper-win
Using cached virtualenvwrapper-win-1.2.6.tar.gz (21 kB)
Collecting virtualenv
Downloading virtualenv-20.8.0-py2.py3-none-any.whl (5.3 MB)
|████████████████████████████████| 5.3 MB 1.6 MB/s
Collecting six<2,>=1.9.0
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting backports.entry-points-selectable>=1.0.4
Downloading backports.entry_points_selectable-1.1.0-py2.py3-none-any.whl (6.2 kB)
Collecting importlib-metadata>=0.12
Downloading importlib_metadata-4.8.1-py3-none-any.whl (17 kB)
Collecting platformdirs<3,>=2
Downloading platformdirs-2.3.0-py3-none-any.whl (13 kB)
Collecting filelock<4,>=3.0.0
Using cached filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.1
Downloading distlib-0.3.2-py2.py3-none-any.whl (338 kB)
|████████████████████████████████| 338 kB 6.8 MB/s
Requirement already satisfied: typing-extensions>=3.6.4 in c:\users\bp.datakortet\appdata\local\programs\python\python37\lib\site-packages (from importlib-metadata>=0.12->virtualenv->virtualenvwrapper-win) (3.7.4)
Collecting zipp>=0.5
Downloading zipp-3.5.0-py3-none-any.whl (5.7 kB)
Using legacy 'setup.py install' for virtualenvwrapper-win, since package 'wheel' is not installed.
Installing collected packages: zipp, importlib-metadata, six, platformdirs, filelock, distlib, backports.entry-points-selectable, virtualenv, virtualenvwrapper-win
WARNING: The script virtualenv.exe is installed in 'C:\Users\bp.DATAKORTET\AppData\Local\Programs\Python\Python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Running setup.py install for virtualenvwrapper-win ... done
Successfully installed backports.entry-points-selectable-1.1.0 distlib-0.3.2 filelock-3.0.12 importlib-metadata-4.8.1 platformdirs-2.3.0 six-1.16.0 virtualenv-20.8.0 virtualenvwrapper-win-1.2.6 zipp-3.5.0
I'm guessing you have an incompatible version of distlib or filelock?
Trying to install
virtualenvwrapper-win
: