Albion Swall
Albion Swall

Reputation: 1

Unable to install python twint package under MacOS Catalina

I want to install pip3 install twint but I get the error:

ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/Python/3.8'
Consider using the `--user` option or check the permissions.

what command do i need to type to install it under my user option? would it be python -m pip3 install twint?

Upvotes: 0

Views: 1206

Answers (2)

Zane Cantrell
Zane Cantrell

Reputation: 307

Try installing this using the Anaconda Navigator cmd. The installation did not work in Jupyter Notebook, but it did work in Anaconda Navigator cmd.

Upvotes: 0

Cyril Jouve
Cyril Jouve

Reputation: 1040

as suggested by pip, use --user: python3 -m pip install --user twint

it will install your package in your home (https://pip.pypa.io/en/stable/user_guide/#user-installs)

as a better alternative, you can look into virtual environments

Upvotes: 1

Related Questions