When using python, you may want to switch the version of python. It is convenient to switch the version of python using the virtual environment of jupyter, but it is a memo because I got stuck in the environment settings.
environment windows10 anaconda installed
How to create a virtual environment with jupyter is described in the following article.
https://qiita.com/yoppe/items/38005f415a5b8b884c7d
However, if you follow this article, you will get an error if win32api cannot be imported when you switch to the virtual environment. It is OK to install win32api with "pip install pywin32".
Launch Anaconda prompt from the start menu.
After starting Anaconda prompt, enter the following command.
python
(base) C:\Users\fdfpy>activate python355 #Switch to virtual environment python355
(python355) C:\Users\fdfpy>pip install pywin32 #Install win32api
Recommended Posts