I'm new to Django, and I'm starting a tutorial for Django with React, and I'm struggling with creating the virtual environment by using
(我是Django的新手,并且正在使用React启动Django的教程,而我正在努力使用创建虚拟环境)
pipenv shell
as per the tutorial's instructions.
(按照教程的说明。)
I have seen similar questions, but they have been either with another python version or the error is just different, and the answers haven't helped me. (我见过类似的问题,但是它们要么是另一个python版本,要么是错误有所不同,答案并没有帮助我。)
The error says the following: (该错误说明以下内容:)
Failed creating virtual environment
[pipenv.exceptions.VirtualenvCreationException]: File "C:UsersIvánAppDataLocalProgramsPythonPython38-32Libsite-packagespipenvclicommand.py", line 385, in shell
[pipenv.exceptions.VirtualenvCreationException]: do_shell(
[pipenv.exceptions.VirtualenvCreationException]: File "C:UsersIvánAppDataLocalProgramsPythonPython38-32Libsite-packagespipenvcore.py", line 2155, in do_shell
[pipenv.exceptions.VirtualenvCreationException]: ensure_project(
[pipenv.exceptions.VirtualenvCreationException]: File "C:UsersIvánAppDataLocalProgramsPythonPython38-32Libsite-packagespipenvcore.py", line 570, in ensure_project
[pipenv.exceptions.VirtualenvCreationException]: ensure_virtualenv(
[pipenv.exceptions.VirtualenvCreationException]: File "C:UsersIvánAppDataLocalProgramsPythonPython38-32Libsite-packagespipenvcore.py", line 505, in ensure_virtualenv
[pipenv.exceptions.VirtualenvCreationException]: do_create_virtualenv(
[pipenv.exceptions.VirtualenvCreationException]: File "C:UsersIvánAppDataLocalProgramsPythonPython38-32Libsite-packagespipenvcore.py", line 934, in do_create_virtualenv
[pipenv.exceptions.VirtualenvCreationException]: raise exceptions.VirtualenvCreationException(
[pipenv.exceptions.VirtualenvCreationException]: Traceb
I reinstalled pip (19.3.1) and pipenv to be sure, with no change, and my environment variables are correct, I think, they are as follows: Variable (PYTHONPATH)
(我重新安装了pip(19.3.1)和pipenv,以确保没有任何变化,并且我的环境变量是正确的,我认为它们如下: 变量(PYTHONPATH))
ask by Iván Flores Vázquez translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…