我正试图通过pip安装Plotly,但我无法特别安装packaging。我得到以下错误:
C:\Python 3.6>python -m pip show SetupTools
Name: setuptools
Version: 39.0.1
Summary: Easily download, build, install, upgrade, and uninstall Python packages
Home-page: https://github.com/pypa/setuptools
Author: Python Packaging Authority
Author-email: distutils-sig@python.org
License: UNKNOWN
Location: c:\python 3.6\lib\site-packages
Requires:
C:\Python 3.6>python -m pip install Plotly
Collecting Plotly
Using cached plotly-2.5.0.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'setuptools'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\rskin\AppData\Local\Temp\pip-build-uw5jnlnh\Plotly\ 我正在使用Python3.6,同时还安装了pip和setuptools。我可以在没有问题的情况下安装其他Python包。我认为这可能与我的Python3.6文件的位置有关,但我不太确定有什么想法吗?
发布于 2022-10-28 13:17:56
您可能需要为用户安装pip和setuptools:
pip3 install -U pip setuptoolshttps://stackoverflow.com/questions/49437764
复制相似问题