简体   繁体   中英

Pip3 installation issues

I have been having many problems with selenium which I download through pip. On Sublime I would get and error saying there is no module named selenium when I did in fact have it installed. Now I have tried to delete every file so I could start fresh but I am running into new problems. I deleted Homebrew files, selenium files, and python files. When I reinstalled Homebrew and then python it said that python had already existed. Then when I tried to use the pip3 command I got this error:

Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.8/bin/pip3", line 6, in <module> from pip._internal.main import main ModuleNotFoundError: No module named 'pip'

Mac is a nightmare. I have run in to problem after problem and once I fix one there is always another.

This means you don't have pip installed.

try

easy_install pip

or try

python get-pip.py --user

for mac try below:

curl 'https://bootstrap.pypa.io/get-pip.py' > get-pip.py && sudo python get-pip.py

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM