【发布时间】:2018-10-15 10:00:31
【问题描述】:
我正在尝试在我的虚拟环境中安装 jupyter notebook。我在我的虚拟环境和最新的 pip 版本上运行了 python 3.5。我几乎无法使用 pip 安装任何库。即使我运行以下命令,它也会给我以下错误:
python3 -m pip install --upgrade pip
python3 -m pip install jupyter
错误:
The directory '/Users/[user]/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/Users/[user]/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting jupyter
Could not fetch URL https://pypi.python.org/simple/jupyter/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:645) - skipping
Could not find a version that satisfies the requirement jupyter (from versions: )
No matching distribution found for jupyter
【问题讨论】:
标签: python pip jupyter-notebook