无法在MacOS Catalina下安装python twint包
我想安装pip3 install twint,但出现错误:无法在MacOS Catalina下安装python twint包,python,macos,installation,macos-catalina,twint,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-MPIP3安装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-MPIP3安装twint吗?按照pip的建议,使用
--user
:python3-MPIP3安装--user twint
它将在您的家中安装您的软件包()
作为更好的选择,您可以查看以管理员身份运行,如果您在Mac上,prefix by Sudono不清楚您是如何安装python3的,但是/Library需要提升权限这是否回答了您的问题
sudo
是解决方案,因为它允许您做一些您可能不应该做的事情。如果需要任何系统工具twint
,它将随系统提供,或者作为苹果的更新推送。不要修改系统安装,因为您需要特定的模块。我添加了标记。对于大多数MacOS问题,还可以查看以前版本的解决方案。