在我的macOS Mojave终端中,我想用pip安装一个python包.它有效,但它说:
You are using pip version 10.0.1, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Run Code Online (Sandbox Code Playgroud)
所以我想用给定的命令更新pip,但是我收到一个错误:
Could not install packages due to an EnvironmentError: [Errno 13] Permission denied:
'/Library/Python/2.7/site-packages/pip-18.0-py2.7.egg/EGG-INFO/PKG-INFO'
Consider using the `--user` option or check the permissions.
Run Code Online (Sandbox Code Playgroud)
这个东西可以滚动 - - - - - >
我真的不明白现在该做什么.此外,我意识到它在错误消息中说Python 2.7,但我有并且只想使用python 3.