我正在尝试使用pip在Python中安装几个模块,特别是dotenv,但是出现了错误。
我已经尝试更新pip版本和更新setuptool,但问题仍然存在。
我尝试使用pip安装dotenv,它显示了几分钟的安装消息,但最终未能安装。以下是我收到的错误提示:
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [67 lines of output]
Traceback (most recent call last):
File "C:\users\rajj\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\installer.py", line 82, in fetch_build_egg
subprocess.check_call(cmd)
File "C:\users\rajj\appdata\local\programs\python\python38-32\lib\subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:\\users\\rajj\\appdata\\local\\programs\\python\\python38-32\\python.exe', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', 'C:\\Users\\Public\\Documents\\Wondershare\\CreatorTemp\\tmpz17tfqwd', '--quiet', 'distribute']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception: