Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
无法在MacOS Catalina下安装python twint包_Python_Macos_Installation_Macos Catalina_Twint - Fatal编程技术网

无法在MacOS Catalina下安装python 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

我想安装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吗?

按照pip的建议,使用
--user
python3-MPIP3安装--user twint

它将在您的家中安装您的软件包()


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

以管理员身份运行,如果您在Mac上,prefix by Sudono不清楚您是如何安装python3的,但是/Library需要提升权限这是否回答了您的问题
sudo
是解决方案,因为它允许您做一些您可能不应该做的事情。如果需要任何系统工具
twint
,它将随系统提供,或者作为苹果的更新推送。不要修改系统安装,因为您需要特定的模块。我添加了标记。对于大多数MacOS问题,还可以查看以前版本的解决方案。