No such file or directory encountered trying to install Anaconda
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 downloaded
then 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:$PATH
test your installation using
conda --version
conda --list
Hope this helps!
Related videos on Youtube
LJKS
Updated on September 18, 2022Comments
-
LJKS over 1 year
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: (https://www.continuum.io/downloads#linux)
(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
-
steeldriver about 7 yearsIf you used your browser to download it, then it will be wherever your browser saves downloaded files - usually
~/Downloads
. You can change to that directory in a terminal usingcd ~/Downloads
and then you can list the files there usingls
.