Newbie here, trying to import selenium. First time importing modules (outside of built-ins). My issue is whenever I pip3 install selenium
it installs correctly to python 2.7.16 rather than 3.7.3. I found this out by running python3
in the terminal with no success importing selenium however just running the regular python
can import selenium.
More info:
- I'm on macOS Catalina 10.15.4
- I tried
python3 -m pip install selenium
based on a stack overflow response. When doing this, I receive the following error:Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/Python/3.7' Consider using the `--user` option or check the permissions.
Not sure what this means but explanation greatly appreciated - Running
which python
returns/usr/bin/python
- Running
which python3
returns/usr/bin/python3
- In Finder, /Library/Python only has the folder "2.7", doesn't have a "3.7"
Let me know if there is anything else I can do or any more information you need from me. Thanks in advance!