ese-msc / introduction-to-python

"Introduction to Python" course for future Imperial College London MSc students
BSD 3-Clause "New" or "Revised" License
75 stars 94 forks source link

Error importing pybryt #74

Closed edsml-jm623 closed 1 year ago

edsml-jm623 commented 1 year ago

**D:\introduction-to-python>conda activate introduction-to-python

(introduction-to-python) D:\introduction-to-python>jupyter notebook**

**ModuleNotFoundError Traceback (most recent call last) Cell In[1], line 1 ----> 1 import pybryt 2 from lecture import pybryt_reference

ModuleNotFoundError: No module named 'pybryt'**

I checked the installed package, pybryt was successfully installed.

edsml-jm623 commented 1 year ago

I just figured it out.

I used pip install ipykernel

and then >python -m ipykernel install --user --introduction-to-python

change the kernel in jupyter and it worked!