Spoiler: I'm still totally new to Ubuntu/Linux in general; In order to use GPU-supported tensorflow i tried to install Anaconda on my unix/gnome partition, following the instructions of the site: ()
(start copy from anaconda-website)
- Download the installer
- Optional: Verify data integrity with MD5 or SHA-256 More info
- In your terminal window type one of the below and follow the instructions: Python 3.6 version
bash Anaconda3-4.3.0-Linux-x86_64.sh
(end copy from anaconda website)
Naturally i skipped part 2, opened my cmd, pasted 'bash Anaconda3-4.3.0-Linux-x86_64.sh' in there and hit enter. It told me: 'bash: Anaconda3-4.3.0-Linux-x86_64.sh: No such file or directory'. Now i am quite confused, sadly could not find the answer around here (probably is somewhere already, but neither googling nor searching stackoverflow gave me the result, probably am just missing the right terms to google it)
My natural guess would be that i have to tell him, where the download is, or possibly im using the wrong commandline (or something with the 'bash' is fishy), but as i said i am quite clueless.
Thank you a lot for your help in advance, Best regards,
Leon
15 Answers
I got the same error, what worked for me is: Download the Anaconda installer for linux , then change the directory to where you downloaded this installer, for me it was ~/Downloads/ ,
cd ~/Downloads/ or
cd /path/to/where_anaconda_installer is downloadedthen run the command
bash Anaconda3-4.3.0-Linux-x86_64.sh where Anaconda3-4.3.0-Linux-x86_64.sh is the anaconda file you just downloaded
follow the screen prompts. Once installation is complete you can set the path using
export PATH=~/anaconda3/bin:$PATHtest your installation using
conda --version
conda --listHope this helps!
try this
sudo ./Anaconda3-4.3.0-Linux-x86_64.sh I used to install sofwares like this and it worked for me.
Change permissions so bash script can be executed and than run it.
sudo chmod 777 Anaconda3-4.3.0-Linux-x86_64.sh
sudo ./Anaconda3-4.3.0-Linux-x86_64.sh Click here for detailed explanation. For short instructions, do the following (running the commands below in a terminal):
Download the Linux Anaconda version you need.
Verify the downloaded data with MD5 or SHA-2, with
/path/filenamebeing the actualpath/filenameof the file that you downloaded:md5sum /path/filename # md5 sha256sum /path/filename # SHA-2Install the Anaconda version that you downloaded:
bash ~/Downloads/Anaconda3-2019.07-Linux-x86_64.sh # Anaconda 3.7 (latest; 2019) bash ~/Downloads/Anaconda2-2019.07-Linux-x86_64.sh # Anaconda 2.7Scroll down by pressing Enter on the license agreement.
Type
yesand press Enter to agree to the license agreement.Press Enter to install to the default folder.
Press Enter to this question: Do you wish the installer to initialize Anaconda3 by running conda init?
Close and reopen the terminal and type in it:
source ~/.bashrcTo run
condafrom anywhere, without having the base environment activated by default, use:conda config --set auto_activate_base FalseOpen a terminal and type:
anaconda-navigator
Now you can navigate Anaconda window.
The solution sounds stupid but check the name of the file being downloaded and the command you copied. Hope it helps