I'm new to bioinformatics, and am trying to install pygraphviz, but have run into problems. I've tried searching for solutions, but can't work it out. I'm working in mac terminal.
The advice I got was:
source activate bioinfo
... which works well
conda install pygraphviz
which outputs:
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
pip install goatools pydot statsmodels fisher
which outputs:
Collecting goatools
Could not find a version that satisfies the requirement goatools (from versions: )
No matching distribution found for goatools
(bioinfo)
I'd be grateful for some help, Thanks!
Your
activate
is probably not activating a conda environment. Usewhich activate
to 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
code
option) 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.txt
producessed: 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 bioinfo
conda install pygraphviz
pip install goatools pydot statsmodels fisher
Thanks 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]