Installshell-gptusingpipx upgrade pipxpipx upgrade-all. Run thesgptcommand. Expected Behavior Thesgptcommand should run without any errors. Actual Behavior The following error is encountered:ModuleNotFoundError: No module named 'pkg_resources' Workaround The issue was resolved by injectingsetuptoolsin...
这个线程可能值得一试:pip3 install not working - No module named 'pip._vendor.pkg_resources'.你...
或者使用虚拟环境,这是推荐的方法。https://discuss.python.org/t/help-needed-about-versionconflict-p...
使用boot2docker可以快速启动Docker,但需要使用Vagrant进行配置。创建一个Linux虚拟机可以更好地与本地开发...
pkg_resources is confused by the "egg" in the name Exception: Traceback (most recent call last): File "/home/qwcode/p/pypa/pip/pip/basecommand.py", line 200, in main status = self.run(options, args) File "/home/qwcode/p/pypa/pip/pip/commands/install.py", line 302, in run root...
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2349, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) ModuleNotFoundError: No module named 'wheel.bdist_wheel' --- Failed building wheel for pycparser Running setup.py clean...
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 565, in resolve raise DistributionNotFound(req) # XXX put more info here pkg_resources.DistributionNotFound: virtualenv==1.9.1 所以我没有设法避免系统virtualenv。
»python+uwsgi+django+虚拟环境 posted @2019-07-30 17:41Xingtxx阅读(480) 评论(0) 公告 昵称:Xingtxx 园龄:7年10个月 粉丝:4 关注:46 +加关注 <2025年5月> 日一二三四五六 27282930123 45678910 11121314151617 18192021222324 25262728293031
from pip._internal.utils.wheel import pkg_resources_distribution_for_wheel File "/usr/lib/python3.8/site-packages/pip/_internal/utils/wheel.py", line 12, in <module> from pip._vendor.six import PY2, ensure_str ImportError: cannot import name 'ensure_str' from 'six' (/home/carl/.local...
load_entry_point('setuptools==33.1.1', 'console_scripts', 'easy_install')() File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 565, in load_entry_point return get_distribution(dist).load_entry_point(group, name)...