Hi, thanks! I really appreciate the help. I set up a Ubuntu 20.04 instance and successfully installed conda, but I cannot use it yet. I added the executable to my path, but I still get the error $conda: command not found when I try to use it to install Mothur. If you have any thoughts on what could be causing that, I would love to know! Otherwise, it’s going to take me some time to install conda to see if I can use conda to install mothur.
Update: I had to restart my terminal.
For anyone following this gripping saga, someone reported on the GitHub page that he was unable to update to the latest version of Mothur in Ubuntu 18.04 and needed to upgrade to Ubuntu 20.04: Ubuntu update to version 1.44.3? · Issue #759 · mothur/mothur · GitHub
I started a new Ubuntu EC2 instance on AWS, and installed Anaconda with Python3 using:
wget https://repo.continuum.io/archive/Anaconda3-2018.12-Linux-x86_64.sh
Start the guided install of Anaconda by navigating to the file and running:
bash Anaconda3-2018.12-Linux-x86_64.sh
I believe this should add Anaconda to the path, but if not you can use:
export PATH="/home/username/Anaconda3/bin":$PATH
by replacing location in quotes with actual location on your local drive. You may need to close the terminal and restart for conda to be active.
I downloaded the Mothur package and tried to install using:
conda install /path_to_package/
I got an error saying the package could not be located. I then tried to use the information from nvt_1009 above, but got an error saying:
EnvironmentLocationNotFound: not a conda environment
I tried to add conda-forge to the list of channels with this:
conda config --append channels conda-forge
I then tried to install mothur from conda-forge and got the same error:
EnvironmentLocationNotFound: not a conda environment
Still working on this…
Update:
I ran…
conda create -n mothur -y
…a second time. Maybe I typed something in incorrectly and the environment wasn’t created. Anyway, I’m up and running! Thank you again nvt_1009!