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

AttributeError: module 'tmap' has no attribute 'layout_from_edge_list' #12

Closed
dohalloran opened this issue Jun 30, 2020 · 8 comments
Closed

Comments

@dohalloran
Copy link

Getting the following error when running the simple graph
AttributeError: module 'tmap' has no attribute 'layout_from_edge_list'

@lfnothias
Copy link

I had a similar issue when installing the tmap package from the conda-forge channel instead of the tmap channel.
If that the same reason here, the solution is to the install as recommend : conda install -c tmap tmap

@dohalloran
Copy link
Author

that's exactly how i installed it using conda install -c tmap tmap but get that error for layout_from_edge_list

@aparente-nurix
Copy link

aparente-nurix commented Jun 30, 2020 via email

@lfnothias
Copy link

Installing with conda install -c tmap tmap worked for me, and I was able to run the example code for layout_from_edge_list. See #11

@Lerbytech
Copy link

Interesting.... I had to rebuild tmap from scratch as conda version throwed "Wrong cpu instucrion" to consle for test examples. So, pip version is working? Cool.

@aparente-nurix
Copy link

aparente-nurix commented Jul 8, 2020

I haven't tried pip. The latest conda build works for me on centos 7. In the past when I had issues I downloaded the repo and used:

conda develop path_to_repo

@Lerbytech
Copy link

Oh, i was wrong. Not pip but conda package. Also, I have Ubuntu, not CentOS if it may be important. Anyway - for future generations. If you have problems with package - rebuilding it can help. I did it by recreating steps from https://github.com/reymond-group/tmap/blob/master/azure-pipelines.yml

@dohalloran
Copy link
Author

turns out the issue I was having was only on MAC OS, and it worked fine on Linux

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

4 participants