在Jupyter Notebook上安装python软件包 [英] Install python packages on Jupyter Notebook

查看:127
本文介绍了在Jupyter Notebook上安装python软件包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在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

I am trying to install 2 python packages on Anaconda Jupyter Notebook. The links to the python packages are as follow: 1) https://iapws.readthedocs.io/en/latest/modules.html 2) https://pythonhosted.org/thermopy/iapws.html#module-thermopy.iapws

但是在两个安装中都出现以下错误.谁能告诉我这是怎么回事?

But I am getting the following error on both installations. Can anyone tell me what is wrong?

推荐答案

您的Jupyter笔记本服务器无法访问Internet.您的操作系统可能有防火墙,或限制了对第三方应用程序的Internet访问,尤其是因为这是一台便携式笔记本电脑.

Your Jupyter notebook server does not have access to internet. You operating system might have a firewall or limit internet access to third party applications, especially since this is a work laptop.

无论如何,使用pip轻松安装组件.如果您无法从笔记本电脑内部访问Internet,请尝试以管理员身份打开命令提示符,然后直接键入pip install iapws.

Regardless, it is easy to install components using pip. If you cannot access the internet from inside the notebook, try opening a Command Prompt as admin and simply type pip install iapws.

这篇关于在Jupyter Notebook上安装python软件包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆