[Windows] A story of a beginner who stumbles on Anaconda's PATH setting.

Trigger

When I analyzed it with R, I was asked to learn Python as well, so I stumbled when I was trying hard to build a Python environment.

I want to pass the pass to bash, but it doesn't. .. Why? That's the story.

Solution

-Anaconda PATH setting

If you refer to this, it should be pretty good. .. ..

I can't pass for some reason.

$ conda -V
conda: command not found

Lol to see it many times

This is the first issue.

bash: export PATH=~/anaconda3/bin : No such file or directory

I can't find anything. Why?

I'm not sure, but try to enclose the path with " ".

export PATH="/Users/user_name/anaconda3/bin:$PATH"

Then the error disappeared.

I'm not sure about vim so please let me know in the comments;

Then run the source command again to reflect the added path.

$ conda -V
conda: command not found

Why?

Solution-> Worry deeply.

--- End ---

Why not lol

If you look a little further

-python --Conda command not found

Solution # 4 In some cases, you will get this error if you do not restart your device after installing anaconda as well. Close the terminal window and restart. It worked for me now!

There was.

It's strange-I should have restarted the terminal, but I restarted the PC for the time being lol

as a result,

$ conda -V
conda 4.7.12

Deep emotion.

I honestly don't know the exact cause, but I'll leave a note as one solution.

Recommended Posts

[Windows] A story of a beginner who stumbles on Anaconda's PATH setting.
A story about a Linux beginner putting Linux on a Windows tablet
A story of a deep learning beginner trying to classify guitars on CNN
A story of a person who started aiming for data scientist from a beginner
A memo of installing Chainer 1.5 for GPU on Windows
A record of hell lessons imposed on beginner Python students
A story about a GCP beginner building a Minecraft server on GCE
The story of making a tool that runs on Mac and Windows at the game development site
A memo that reproduces the slide show (gadget) of Windows 7 on Windows 10.
Create a Linux environment on Windows 10
Location of pip.ini (pip.conf) on Windows 10
The story of writing a program
A story about trying to run JavaScripthon on Windows and giving up.
The story of the escape probability of a random walk on an integer grid
Verification of how to periodically execute a script on a Linux server on Windows