无法在jupyter笔记本RPi3中导入python软件包(已安装)

时间:2019-06-27 09:47:02

标签: python raspberry-pi jupyter-notebook

我在Raspberry Pi3中使用jupyter笔记本。我已经安装了熊猫和其他软件包。我的python3 IDLE可以导入所有这些包,但是jupyter总是显示错误消息

  

没有名为pandas的模块

尝试了很多东西,但是都没有用。

sudo pip3 install jupyter --upgrade 
sudo pip3 install ipykernel --upgrade

pi@raspberrypi:~ $ pip3 list
Package                       Version    
----------------------------- -----------
alabaster                     0.7.12     
appdirs                       1.4.3      
asn1crypto                    0.24.0     
astroid                       2.1.0      
asttokens                     1.1.13     
attrs                         19.1.0     
automationhat                 0.1.0      
Babel                         2.7.0      
backcall                      0.1.0      
beautifulsoup4                4.7.1      
bleach                        3.1.0      
blinker                       1.4        
blinkt                        0.1.2      
bokeh                         1.2.0      
buttonshim                    0.0.2      
Cap1xxx                       0.1.3      
certifi                       2018.8.24  
chardet                       3.0.4      
Click                         7.0        
cloudpickle                   1.2.1      
colorama                      0.3.7      
colorzero                     1.1        
cookies                       2.2.1        
HeapDict                      1.0.0      
html5lib                      1.0.1      
idna                          2.6        
imagesize                     1.1.0      
ipykernel                     5.1.1      
ipyparallel                   6.2.4      
ipython                       7.5.0      
ipython-genutils              0.2.0      
ipywidgets                    7.4.2      
isort                         4.3.4      
itsdangerous                  0.24       
jedi                          0.13.2     
Jinja2                        2.10       
jsonschema                    3.0.1      
jupyter                       1.0.0      
jupyter-client                5.2.4      
jupyter-console               6.0.0      
jupyter-core                  4.5.0      
keyring                       17.1.1     
keyrings.alt                  3.1.1      
kiwisolver                    1.0.1      
lazy-object-proxy             1.3.1      
locket                        0.2.0      
logilab-common                1.4.2      
lxml                          4.3.2        
packaging                     19.0       
pandas                        0.24.2     

import pandas as pd

ImportError: No modules named pandas

0 个答案:

没有答案