ModuleNotFound Error ipython-input-4-08a6740ac1aa
- Dominant language
- Jupyter Notebook
- Stars
- 13.3k
- Forks
- 5.8k
- Avg merge
- 6d 11h
- Merged PRs (30d)
- 7
Description
I am very new to anaconda3 and catalina, and I am attempting to do my first lesson but failed. Apologises if this is very basic. I try and explain what I did.
I ran thru the setup in terminal then installed anaconda3 gui on catalina (python 3)
/users/xx/opt/anaconda3
Installed the 2 api I wish to work with
pip install hathitrust-api
pip install internetarchive
I started Jupyter and failed first run
# Import the HT Data API wrapper
from hathitrust_api import DataAPI
[my key and secret]
# instantiate the Data API connection object
data_api = DataAPI(ht_access_key, ht_secret_key)
Error returned
ModuleNotFoundError Traceback (most recent call last)
in
1 # Import the HT Data API wrapper
----> 2 from hathitrust_api import DataAPI
I googled the error and it said, (my paraphrase) Jupyter python cannot find the python. So I tried to determine what version is running. I chose the Anaconda python 3 to install.
Any help is greatly appreciated. Thankyou.
Contributor guide
Research direction
No project file, test, or entry point is named. Start by comparing the Python environment used by the Jupyter kernel with the environment where hathitrust-api and internetarchive were installed; done means the notebook import runs without ModuleNotFoundError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- anaconda, jupyter-notebook, python
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100