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

Error when running tutorial #21

Open
mdmanurung opened this issue Nov 9, 2021 · 0 comments
Open

Error when running tutorial #21

mdmanurung opened this issue Nov 9, 2021 · 0 comments

Comments

@mdmanurung
Copy link

Dear authors,

I am trying the tutorial but I encountered this error when trying to import the package.

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-2-f28a0a6ecec8> in <module>()
----> 1 import popalign as PA

2 frames
/usr/local/lib/python3.7/dist-packages/popalign/__init__.py in <module>()
----> 1 from .popalign import *

/usr/local/lib/python3.7/dist-packages/popalign/popalign.py in <module>()
     27 from sklearn.utils import validation
     28 from sklearn.manifold import TSNE
---> 29 import fastcluster as fc
     30 from sklearn import cluster as sc
     31 import matplotlib

/usr/local/lib/python3.7/dist-packages/fastcluster.py in <module>()
     35                           'scipy.spatial.distance.pdist could not be  '
     36                           'imported.')
---> 37 from _fastcluster import linkage_wrap, linkage_vector_wrap
     38 
     39 def single(D):

ImportError: numpy.core.multiarray failed to import

---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the
"Open Examples" button below.
---------------------------------------------------------------------------

I have made sure that numpy is installed. Is it a problem with the version?

Thanks for your time.

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

1 participant