You can install Anaconda with wget
by logging in to the AWS terminal, but if you lose connectivity with packet_write_wait: Connection to xxx port 22: Brokenpipe
, you must install Anaconda to use the conda command.
Why should I install it every time?What is the reason for this?
execution command
wget https://3230d63b5fc54e62148e-c95ac804525aac4b6dba79b00b39d1d3.ssl.cf1.rackcdn.com/Anaconda3-4.0.0-Linux-x86_64.sh
I think it's because PATH doesn't go through.Try running conda after executing the following command:
export PATH=~/anaconda3/bin:$PATH
To use Anaconda, you must run the command every time.If that's troublesome, try registering with ~/.bashrc.
Also, when you install Anaconda, you will see a screen where you select the option "Do you wish the installer to prepend the Anaconda 3 install location to PATH in your /home ///.bashrc?" when you type yes, it will automatically register with ~/.bashrc.
For Linux, the option is No by default.Unlike Windows, the reason for the No is probably due to the problem of using Python installed on the Linux side or using commands installed on ~/anaconda3/bin in priority over operating system.
© 2024 OneMinuteCode. All rights reserved.