简体   繁体   中英

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 ?

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

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

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