Thanks RamRS. I’m still having problems, though the site restricted the number of posts I could make until now.
conda create -n bioinfo produces:
WARNING: A directory already exists at the target location '/Users/michaelflower/miniconda3/envs/bioinfo'
but it is not a conda environment.
Continue creating environment (y/[n])? y
CondaValueError: prefix already exists: /Users/michaelflower/miniconda3/envs/bioinfo
(bioinfo)
source /Users/michaelflower/miniconda3/bin/activate bioinfo seems to be accepted ok:
$ source /Users/michaelflower/miniconda3/bin/activate bioinfo
(bioinfo)
conda install pygraphviz I get:
DirectoryNotACondaEnvironmentError: The target directory exists, but it is not a conda environment.
Use 'conda create' to convert the directory to a conda environment.
target directory: /Users/michaelflower/miniconda3/envs/bioinfo
Thanks for our continued help, and apologies if this is basic
Your
activateis probably not activating a conda environment. Usewhich activateto find if it actually is a conda executable.I'm not sure I follow, but here is what I get ...
That doesn't make sense. What is the output of
conda env list?Please use the formatting bar (especially the
codeoption) to present your post better. You can use backticks for inline code (`text` becomestext), or select a chunk of text and use the highlighted button to format it as a code block. I've done it for you this time.Thanks, the first worked well, but
sed -i 's|/Users/michaelflower/miniconda3/envs/bioinfo||' ~/.conda/environments.txtproducessed: 1: "/Users/michaelflower/.c ...": invalid command code m (bioinfo)Having said that, after removing the (?) damaged conda environment with your command
rm -rf /Users/michaelflower/miniconda3/envs/bioinfo, I tried recreating the conda environment withconda create -y --name bioinfo python=3.6, and looks like it's all working. I've managed to run all the following commands to install pygraphviz.source activate bioinfoconda install pygraphvizpip install goatools pydot statsmodels fisherThanks again!
Glad it worked. I'll move my comment to an answer, which you can accept.
Thanks, I've done that
I don't think you have. If an answer was helpful, you should upvote it; if the answer resolved your question, you should mark it as accepted. You can accept more than one answer if they all work.
Think it's done now ...
Nope. You should see the green check mark under my answer.
I’ve unticked all your comments now ...
OK, looks like there's some communication gap. Please follow these steps:
Done now I believe ...
On 28 Aug 2019, at 16:00, RamRS on Biostar <mailer@biostars.org<a rel="nofollow" href="mailto:mailer@biostars.org">mailer@biostars.org> wrote:
Activity on a post you are following on Biostarhttp://www.biostars.org
User RamRSRamRS wrote Comment: How to run pygraphviz on macOS in condaC: How to run pygraphviz on macOS in conda:
OK, looks like there's some communication gap. Please follow these steps:
[https://image.ibb.co/dfsqrx/upvote_accept_bookmark.png]