在jupyter noteb中导入pycountry包时面临的问题

2024-06-09 16:56:52 发布

您现在位置:Python中文网/ 问答频道 /正文

我已经用我的终端用下面的命令安装了pycountry

pip install pycountry

安装成功,但当我尝试从终端导入jupyter笔记本时,它显示错误:

Import failure in the Jupyter notebook

在这里您可以看到我已经从终端安装了它:

Picture showing that the package is installed in the python2.7 interpreter.

系统详细信息:

  • 系统:Mac osx
  • Jupyter笔记本
  • python 2.7版

Tags: installpip命令终端mac系统错误详细信息