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've tried reinstalling the virtualenvwrapper, as well as redoing the whole process, but it keeps insisting on the error, and I do not know what else to do,