I’ve been running qiime2 on my mac for a while with no issues. I recently updated my OS to Catalina, which has caused some trouble. I removed miniconda3 (and all the environments within it, including qiime2) and installed it successfully. Now I am trying to reinstall qiime2-2019.7 and I keep getting the following output:
Collecting package metadata (repodata.json): done
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
I let my computer sit so it could search for incompatible packages, and a few hours later it was still searching. Is something leftover from my original install? How can I fix this?
Hi!
I don’t know the reason of this problem but for me in this situation worked the next solution: I aborted installation and then launched it again without deleting previous (aborted). Second time it was very fast and I got a working environment.
I checked my miniconda3 env folder, but qiime2 isn’t there so it looks like it wasn’t installed properly. I tried rerunning “conda env create -n qiime2-2019.7 --file qiime2-2019.7-py36-osx-conda.yml” but I’m still having the same issue as above, where it is searching for incompatible packages. I tried aborting and launching again (as timanix suggested) but that doesn’t fix the issue.
So I update one of our spare machines to OS X Catalina, it did indeed break conda as everyone has reported, but after deleting it fully and running the default installer for OS X .pkg. I had my base environment in /opt/miniconda3 (which looks just like my linux install ).
From there I was able to install QIIME 2 without any package conflicts. I am a bit relieved that this was the case, as the package "conflicts" reported above actually don't have any conflicting versions.
Based on the output from your conda info, it looks like you installed conda via brew:
I suspect this is partially to blame, although I don't know the specific causes here. I would recommend using brew to uninstall conda again, then use the provided installer linked above, which should know how to handle OS X Catalina.
So I uninstalled conda and then reinstalled using the link you posted. I tried to run conda, but then I remembered why I installed conda via brew in the first place…when I try to run conda I get this output:
zsh: command not found: conda
I spent an embarrassingly long time trying to get conda to run yesterday, and then ended up reinstalling it with brew, which fixed that specific issue. How do I best fix my new issue?
We’re getting closer, but it’s still not quite working. As suggested by the stackoverflow post, I added the following command to my .zshrc file. For anyone reading this, please note that the .zshrc file did not exist (and this appears to be normal for Mac OS) so I had to create it and save it in my home directory before adding the command.
export PATH="/home/username/miniconda/bin:$PATH"
After that I was able to launch conda! However…when I tried to update conda, I received the following error:
ERROR conda.core.link:_execute(700): An error occurred while installing package 'conda-forge::python.app-1.2-py37h1de35cc_1200'.
Rolling back transaction: done
Exception('No compatible shell found!')
()
I also received this error when trying to install wget. I’ve tried googling to see if I can figure out how to solve this error, but I’m not finding anything concrete. Hopefully you have some suggestions?
Ben–conda will launch, but when I run conda update conda I get the following error (the same error I pasted above):
ERROR conda.core.link:_execute(700): An error occurred while installing package ‘conda-forge::python.app-1.2-py37h1de35cc_1200’.
Rolling back transaction: done
Exception(‘No compatible shell found!’)
()
Matthew–Your corrected path was actually already the path that was in my .zshrc file. I pasted the generic command above directly from the stackoverflow post. I made sure to update it in my file so it reflected my actual path!
I just tried typing the full file path for conda install conda and received the same error.
Interestingly, as I was navigating in terminal I used the ls command and received this error:
zsh: command not found: ls
Perhaps it is related to the error I see when I try and update conda or install qiime? I found this article and this post, but I’m still really struggling to troubleshoot this. Specific suggestions would be very helpful.