Traceback (most recent call last:) File "/usr/local/bin/pip3", line 5, in from pkg_resources import load_entry_pointImportError: No module named pkg_resources
You are watching: Importerror no module named pkg_resources
pkg_resources is a dependency of setuptools. Open the terminal and type:
sudo apt install --reinstall python3-pkg-resources python3-setuptools
It"s also related to pip installation module. You can also use python upgrade scripts.Related issue on GitHub : import errorIssue ‘s about wrong importation from python 2.x modules versions which overlap with python3 dependencies. So the goal’s to upgrade pip. The best solution’s to install an upgraded OS for instance Bionic distribution and Do:
pip3 install —-upgrade setuptools pip3
You might be better off using python3 instead of python. And I found these instructions the codakid.com website.
python3 -m pip install -U pygame==1.9.6 --user
Thanks for contributing an answer to Ask Ubuntu!Please be sure to answer the question. Provide details and share your research!
But avoid …Asking for help, clarification, or responding to other answers.Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Post Your Answer Discard
Not the answer you're looking for? Browse other questions tagged 14.04 python3 pip pkg-config or ask your own question.
PIP3 import error cannot import name 'load_entry_point' from 'pkg_resources' (unknown location)
See more: The World According To Chris Lyrics, The World According To Chris From Musical
site design / logo © 2021 Stack Exchange Inc; user contributions licensed under cc by-sa. rev2021.9.10.40187