问题
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