Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install error in Ubuntu 20.04 #34

Open
zhanglab2008 opened this issue Oct 27, 2020 · 1 comment
Open

Install error in Ubuntu 20.04 #34

zhanglab2008 opened this issue Oct 27, 2020 · 1 comment

Comments

@zhanglab2008
Copy link

zhanglab2008 commented Oct 27, 2020

Hi team,

Congratulation on the new pipeline. However, I spent a day trying to install desc on my ubuntu server (20.04, amd64) but it failed. Here are my attempts:

  1. I created a new conda environment and install python 3.5.4 on my server. Then I installed tensorflow 1.7.0 in the new env. Then I install desc per the tutorial. Everything looked fine. However, when I ran desc.run_desc_test(), it failed with error
    ImportError: ('Failed to import pydot. You must pip install pydot and install graphviz (https://graphviz.gitlab.io/download/), ', 'for pydotprint to work.'). I installed pydot and graphviz through PyPI, and ran the test again. I got the same error.

  2. I created another new environment and installed python 3.6.6. Tensorflow installation is fine. But when I installed desc, I failed to build wheels for louvain and igraph.

  3. I created another environment and installed python 3.8.3. Tensorflow 1.7.0 installation failed.

  4. I repeated the trial 1 as described above and build desc from scratch by downloading the repo. It threw me an error that pandas, matplotlib did not found. I installed pandas and matplotlib, and then re-installed desc. It threw me the same errors.

I wonder what Ubuntu version you were using when you tested desc on linux?

Many thanks!

Zhang

@ichobits
Copy link

ichobits commented Apr 8, 2021

graphviz need to install from ubuntu soft command.
apt install , or downlaod from graphviz website.
I have the same error in windows.

then pip install pydot ,ok

if not work, please update the conda
conda update conda
conda update anaconda
and pip
and must reinstall scanpy==1.5.1, if version >1.5.1,will not work

Lu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants