我正在尝试在Anaconda Jupyter Notebook上安装2个python包。python包的链接如下: 1) https://iapws.readthedocs.io/en/latest/modules.html 2) https://pythonhosted.org/thermopy/iapws.html#module-thermopy.iapws
但是我在两个安装上都得到了以下错误。有人能告诉我哪里出了问题吗?

发布于 2019-02-21 17:40:15
您的Jupyter笔记本服务器无法访问互联网。您的操作系统可能有防火墙或限制对第三方应用程序的互联网访问,特别是因为这是一台工作笔记本电脑。
无论如何,使用pip安装组件都很容易。如果您无法从笔记本电脑内部访问互联网,请尝试以管理员身份打开命令提示符,然后简单地键入pip install iapws。
发布于 2019-11-21 02:45:45
通过Anaconda,你应该在你的Jupyter笔记本上写下:
# Install a conda package in the current Jupyter kernel
import sys
!conda install --yes --prefix {sys.prefix} packagename使用python的正常安装,你应该在你的Jupyter笔记本上写下:
# Install a pip package in the current Jupyter kernel
import sys
!{sys.executable} -m pip install packagename将packagename替换为您的包的名称,如numpy。
干杯
https://stackoverflow.com/questions/54801963
复制相似问题