jupyter / jupyter/notebook

Some Error while updating Python in conda

Open
#4,482 0 comments 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

```
from notebook.nbextensions import main
File "/home/shreyas/Softwares/anaconda3/lib/python3.6/site-packages/notebook/__init__.py", line 25, in
from .nbextensions import install_nbextension
File "/home/shreyas/Softwares/anaconda3/lib/python3.6/site-packages/notebook/nbextensions.py", line 31, in
from .config_manager import BaseJSONConfigManager
File "/home/shreyas/Softwares/anaconda3/lib/python3.6/site-packages/notebook/config_manager.py", line 14, in
from six import PY3
ModuleNotFoundError: No module named 'six'

WARNING conda.core.link:run_script(1099): pre-unlink script failed for package conda-forge::widgetsnbextension-3.4.2-py36_1000
consider notifying the package maintainer

```

I got this while updating Python to 3.7.2 in conda! Please note.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Python 3.7.2 update in conda and review the traceback through notebook/__init__.py, nbextensions.py, and config_manager.py, along with the widgetsnbextension pre-unlink warning. Determine why six is unavailable during the update; done means the update completes without the ModuleNotFoundError or pre-unlink failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
anaconda, jupyter-notebook, python
Domain
build-system, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.