Make anaconda environment available from command prompt on windows

First, install Anaconda

  1. Download the distribution for python3.7 from Anaconda.
  2. When you execute the downloaded one, the GUI installer will appear, but if you are not particular about it, you can click the default and the installation is completed.

If you use PyCharm or Jupyter, they will pass the path to the anaconda interpreter individually, so this is the end of the story. But even if you do python -v with cmd, you should get an error. Because the path doesn't pass.

Through Path

Go through the following path from the control panel

C:\Users\hoge\Anaconda3
C:\Users\hoge\Anaconda3\Scripts
C:\Users\hoge\Anaconda3\Library\bin

The end

Maybe now you can do ʻimport numpy`` even from cmd. If you have an additional module you want to use, install it with conda (more convenient than pip). List of frequently used commands in Anaconda

Finally

I will explain what makes me happy to be able to use the anaconda environment with cmd (in this age when there is a convenient IDE such as PyCharm).

Suppose you want to create a very small local app. If you don't host or don't care about DB, it's easier to handle the data locally as a csv file. At that time, I think that there are many people who are happier to write logic in python or c than in javascript or php (because you do not have to think about the front desk).

As a way to connect to the front, you can run a subroutine on js and execute a python program there.

When running a module such as numpy or pandas in a program when running that python, an error will occur if the anaconda environment cannot be used with cmd.

Because the subroutine is cmd.

With that feeling, giving the solemn name "service app" was an introduction to tips that are useful when developing super-inner ring local toys that are confusing.

Recommended Posts

Make anaconda environment available from command prompt on windows
Make Cython available on Windows.
Make pyknp (JUMAN, KNP) available on windows
[Windows + anaconda] Automatically activate the environment when the command prompt is started
[Node-RED] Execute Python on Anaconda virtual environment from Node-RED [Anaconda] [Python]
Anaconda on Windows Terminal
Install Anaconda on Windows 10
Create a comfortable Python 3 (Anaconda) development environment on windows
Anaconda environment construction on CentOS7
Make MeCab available from Python3
Make iPython available on OSGeo4W
Install cvxpy on windows, Anaconda
Prepare Chainer environment on Windows
Build Python environment on Windows
Django environment development on Windows 10
Build python environment on windows
[Tensorflow] Tensorflow environment construction on Windows 10
Notes on installing Anaconda 3 on Windows
OpenJTalk on Windows10 (Speak Japanese with Python from environment construction)
Python environment construction memo on Windows 10
Install python2.7 on windows 32bit environment
Building a Python development environment on Windows -From installing Anaconda to linking Atom and Jupyter Notebook-
Various Anaconda settings in Windows 10 environment
Create a Linux environment on Windows 10
Use Tensorflow 2.1.0 with Anaconda on Windows 10!
Install Python development environment on Windows 10
Install PyStan on Windows without Anaconda
[Python] Make pip available on macOS
Everything from building a Python environment to running it on Windows
Python 2.7, 3.4, 3.5 extension module build environment on Windows
Programming environment for beginners made on Windows
Creating a python virtual environment on Windows
Build Python environment with Anaconda on Mac
Run py.test on Windows Anaconda and MinGW
I built a TensorFlow environment on windows10
[Windows 10] "Deep Learning from scratch" environment construction
Call a command from Python (Windows version)
Building an environment for "Tello_Video" on Windows
command prompt
Call anaconda virtual environment from ubuntu terminal memorandum
Make SciPy, scikit-learn available on M1 chip Macbooks
Run PIFuHD in Windows + Anaconda + Git Bash environment
Put Python's numerical calculation environment Anaconda on mac (2)
Put Python's numerical calculation environment Anaconda on mac
Build Python3.5 + matplotlib environment on Ubuntu 12 using Anaconda
Simply build a Python 3 execution environment on Windows
Python environment construction (Anaconda + VSCode) @ Windows10 [January 2020 version]
Install OpenCV 4.0 and Python 3.7 on Windows 10 with Anaconda
Cross-compile windows version from nim on arch | linux
Make OpenCV3 available from python3 installed with pyenv
[0] TensorFlow-GPU environment construction built with Anaconda on Ubuntu
How to add Anaconda Powershell Prompt to Windows Terminal?
[Python] How to install OpenCV on Anaconda [Windows]
Create a Python virtual development environment on Windows
How to install / verify graphviz on anaconda / windows10
How to pass args or environment variables with Makefile and make command on #Linux