0
After installing python 3.6 and then virtualenvwrapper via Pip (Pip install virtualenvwrapper-win), I tried to create a virtual environment by the "mkvirtualenv name" command and the following error occurred:
λ mkvirtualenv django
Using base prefix
'c:\\users\\joãopaulo\\appdata\\local\\programs\\python\\python36-32'
New python executable in
C:\Users\JoãoPaulo\Envs\django\Scripts\python.exe
Installing setuptools, pip, wheel...
Complete output from command
C:\Users\JoãoPaulo\E...o\Scripts\python.exe - setuptools pip wheel:
Traceback (most recent call last):
File "<stdin>", line 3, in <module>
ModuleNotFoundError: No module named 'pkgutil'
----------------------------------------
...Installing setuptools, pip, wheel...done.
Traceback (most recent call last):
File "c:\users\joãopaulo\appdata\local\programs\python\python36-
32\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "c:\users\joãopaulo\appdata\local\programs\python\python36-
32\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\JoãoPaulo\AppData\Local\Programs\Python\Python36-
32\Scripts\virtualenv.exe\__main__.py", line 9, in <module>
File "c:\users\joãopaulo\appdata\local\programs\python\python36-
32\lib\site-packages\virtualenv.py", line 713, in main
symlink=options.symlink)
File "c:\users\joãopaulo\appdata\local\programs\python\python36-
32\lib\site-packages\virtualenv.py", line 945, in create_environment
download=download,
File "c:\users\joãopaulo\appdata\local\programs\python\python36-
32\lib\site-packages\virtualenv.py", line 901, in install_wheel
call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
File "c:\users\joãopaulo\appdata\local\programs\python\python36-
32\lib\site-packages\virtualenv.py", line 797, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command C:\Users\JoãoPaulo\E...o\Scripts\python.exe -
setuptools pip wheel failed with error code 1
I have tried to reinstall the virtualenvwrapper, as well as redo the whole process, however it keeps insisting on the error, and I do not know what else to do, someone can help me
If Voce doesn’t have a reason to use virtualenvwrapper. I suggest that install the anaconda and put an end to bottling problems.
– Sidon
thanks for the tip, I’ll give a search on this and resolve put here.
– João Paulo
Related: https://answall.com/q/209384/5878
– Woss