jupyter / jupyter/notebook

ModuleNotFound Error ipython-input-4-08a6740ac1aa

Open
#5,653 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.