[PYTHON] Error "Entry point not found" when starting Jupyter Notebook in virtual environment

error

This article etc. (This article is not bad because it is the same with other information) When starting Jupyter Notebook in a virtual environment, the following error There has occurred. rapture_20200306111548.jpg

Procedure entry point
?PyWinObject_FromULARGE_INTEGER@@YAPEAU_object@@AEBT_ULARGE_INTEGER@@@z is the dynamic link library(Virtual environment path)\pythoncom37.Not found in dll

What I looked up and came out

Find the issues that encountered the same error.

https://github.com/ContinuumIO/anaconda-issues/issues/11502

It seems that the solution given by this is to replace pythoncom37.dll under System with pythoncom37.dll under Anaconda. This may solve it. (Unverified)

However, while reading this and trying it, I was interested in something else ...

The solution I did

Execute the following command in the virtual environment from the anaconda prompt.

conda install conda

It seems that conda was not included in the virtual environment. If you install conda with conda, it will work. Let's start it.

jupyter notebook

It is OK if it starts without any error.

By the way

In the first place, there is information that this error does not occur if you start jupyter Notebook from git bash or power shell (without going through anaconda prompt).

Recommended Posts

Error "Entry point not found" when starting Jupyter Notebook in virtual environment
Error running Jupyter Notebook in Anaconda virtual environment
Multiprocessing error in Jupyter Notebook
Reflect the virtual environment created with Miniconda in Jupyter notebook
Dealing with key not found error in pacstrap when installing Arch Linux
Browser specification of Jupyter Notebook in Windows environment
Try using conda virtual environment with Jupyter Notebook
Error when entering virtual environment with workon command
Could not import C error in GO environment
What to do when the graph does not appear in jupyter (ipython) notebook
Virtual environment construction with Docker + Flask (Python) + Jupyter notebook
Simplified Path input when enabling virtual environment in venv
When "ERROR: HTTP is not supported." Is displayed in mpsyt
virtual environment in python
Machine learning with Jupyter Notebook in OCI Always Free environment (2019/12/17)
Opens in a new window when launching Jupyter Notebook (Windows)
Browser does not open automatically when jupyter notebook is started
I want to use a virtual environment with jupyter notebook!
Automatically opens in a new window when launching Jupyter Notebook
Error: pg_config executable not found
Display HTML in Jupyter notebook
[Error] Symbol not found: _PyUnicodeUCS2_Compare
Switch virtual environment with jupyter
python3.8 venv environment jupyter notebook
Jupyter Notebook 6.0.2 cannot be installed in the Python 2.7 environment created in Anaconda
Debug settings in virtual environment when using Pipenv with VS Code
Learn machine learning anytime, anywhere in an on-demand Jupyter Notebook environment
Error in ordinal number when importing Numpy in Anaconda environment of Windows