在pythonshell中运行chatbot\u ner API时,我们得到了以下信息

2024-10-04 01:31:12 发布

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

File "/home/swathi/.local/lib/python2.7/site-packages/pandas/init.py", line 19, in "Missing required dependencies {0}".format(missing_dependencies)) ImportError: Missing required dependencies ['numpy']


Tags: inpypandashomeinitlibpackageslocal
2条回答

看起来您需要安装^{}才能运行程序:

pip install numpy

您应该安装所需的依赖项 最简单的方法是使用pip https://pip.pypa.io/en/stable/installing/

pip install numpy

或安装所有sci-py

通过pip

python -m pip install  user numpy scipy matplotlib ipython jupyter pandas sympy nose

通过apt-get

sudo apt-get install python-numpy python-scipy python-matplotlib ipython ipython-notebook python-pandas python-sympy python-nose

更多详细信息请参见:https://www.scipy.org/install.html

相关问题 更多 >