无法在MacOS Catalina下安装python twint软件包

时间:2020-09-05 19:12:17

标签: python macos installation macos-catalina twint

我想安装pip3 install twint,但出现错误:

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.

我需要在用户选项下键入什么命令来安装它? 是python -m pip3 install twint吗?

1 个答案:

答案 0 :(得分:1)

根据pip的建议,使用--userpython3 -m pip install --user twint

它将在您的家庭(https://pip.pypa.io/en/stable/user_guide/#user-installs)中安装您的软件包

作为更好的选择,您可以查看virtual environments