This is a memo for myself when building a virtual environment using Anaconda Navigator.
STEP1 Select "Environments" on the left and build a new environment with "Create" at the bottom center The setting is completed by appropriately selecting "Python 3.7" or the like.
STEP2 From the pull-down on the right, select "All" (or "Not installed") to show the uninstalled libraries. Use the search bar in the upper right to install the following libraries.
#Mandatory
notebook
numpy
pandas
matplotlib
#For machine learning
scikit-learn
keras (It also installs tensorflow)
#For natural language processing
gensim
#For images
pillow
opencv
When the above is completed, press the Run button of the environment in the center and select "Open with Jupyter Notebook". At this time, note that with Jupyter Notebook cannot be selected unless notebook is installed above.
STEP3 Add a library from the terminal that cannot be added from the GUI screen of STEP2.
#For Japanese display of matplotlib
pip install japanize-matplotlib
#For convenient coding with extensions(Hinterland is especially useful)
pip install jupyter-contrib-nbextensions
Recommended Posts