Jupyter: Notebook package install every time I start it

已回答

I'm using conda environment with Jupyter notebook installed.

Every time I want to open a project with Jupyter notebook, it wants to install the notebook package. This is not just super annyoing because the notebook package is already installed but it sometimes also fails during the install.

Is there any way to force pycharm use the notebook library that comes with conda?

Here is the list of installed conda packages in the interpreter:

 

Every time I want to open a jupyter notebook pcyharm wants to re-install the notebook package:

 

Retrieving notices: ...working... done
Channels:
- conda-forge
- defaults
Platform: win-64
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done

## Package Plan ##

 environment location: C:\Users\marek\anaconda3

 added / updated specs:
   - notebook


The following packages will be downloaded:

   package                    |            build
   ---------------------------|-----------------
   ca-certificates-2024.9.24  |       haa95532_0         131 KB
   conda-24.9.2               |  py311haa95532_0         1.2 MB
   ------------------------------------------------------------
                                          Total:         1.3 MB

The following packages will be UPDATED:

 ca-certificates    conda-forge::ca-certificates-2024.8.3~ --> pkgs/main::ca-certificates-2024.9.24-haa95532_0 
 conda                              24.7.1-py311haa95532_0 --> 24.9.2-py311haa95532_0



Downloading and Extracting Packages: ...working... done
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done

(base) C:\Users\marek>L "C:\Users\marek\anaconda3\condabin\..\Scripts\conda.exe"   install -p C:\Users\marek\anaconda3 "\"notebook\"" -y

'L' is not recognized as an internal or external command,
operable program or batch file.

 

0

Instead of using the system interpreter, create a new conda virtual environment and install the notebook package - you shouldn't have to install it again after the first time.

0

请先登录再写评论。