ModuleNotFoundError: No module named 'pyarrow' with satisfied requirements

旧巷老猫 提交于 2019-12-13 03:42:30

问题


I am trying to run this command in Jupyter Notebook: import pyarrow, get the same error: "ModuleNotFoundError: No module named 'pyarrow'

I have installed it already with pip3 and brew also. So when I ran pip3install pyarrow it says requirements are already satisfied. All other libraries I have installed runs with no issues from the same directory.

Thank you.


回答1:


This is an odd one, for sure. I am not familiar enough with pyarrow to know why the following worked.

From the docs, If I do pip3 install pyarrow and run pip3 list, pyarrow shows up in the list but I cannot seem to import it from the python CLI. Yet, if I also run conda install -c conda-forge pyarrow, installing all of it's dependencies, now jupyter notebook can import it properly.



来源:https://stackoverflow.com/questions/59075535/modulenotfounderror-no-module-named-pyarrow-with-satisfied-requirements

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!