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

Cant run BiG-Scape after installation #180

Closed
Dmente92 opened this issue Sep 23, 2024 · 4 comments
Closed

Cant run BiG-Scape after installation #180

Dmente92 opened this issue Sep 23, 2024 · 4 comments

Comments

@Dmente92
Copy link

Dear all,

I have installed BiG-Scape following the wiki. Sadly, when I execute the command 'python bigscape.py --version', I just get the following error:

Traceback (most recent call last):
File "bigscape.py", line 63, in
from sklearn.cluster import AffinityPropagation
File "/home/yami/miniconda3/envs/bigscape/lib/python3.6/site-packages/sklearn/cluster/init.py", line 6, in
from .spectral import spectral_clustering, SpectralClustering
File "/home/yami/miniconda3/envs/bigscape/lib/python3.6/site-packages/sklearn/cluster/spectral.py", line 15, in
from ..metrics.pairwise import pairwise_kernels
File "/home/yami/miniconda3/envs/bigscape/lib/python3.6/site-packages/sklearn/metrics/init.py", line 33, in
from . import cluster
File "/home/yami/miniconda3/envs/bigscape/lib/python3.6/site-packages/sklearn/metrics/cluster/init.py", line 20, in
from .unsupervised import silhouette_samples
File "/home/yami/miniconda3/envs/bigscape/lib/python3.6/site-packages/sklearn/metrics/cluster/unsupervised.py", line 12, in
from ..pairwise import pairwise_distances
File "/home/yami/miniconda3/envs/bigscape/lib/python3.6/site-packages/sklearn/metrics/pairwise.py", line 30, in
from .pairwise_fast import _chi2_kernel_fast, _sparse_manhattan
ImportError: libgfortran.so.3: cannot open shared object file: No such file or directory

Any idea how to solve this issue. Thanks

Regards, Daniel

@jorgecnavarrom
Copy link
Collaborator

Hi Daniel

What's your version of scikit-learn? Versions higher than 0.19.2 have created problems in the past

@Dmente92
Copy link
Author

Hi @jorgecnavarrom , my version of scikit-learn is precisely 0.19.2

@Dmente92
Copy link
Author

Hi @jorgecnavarrom , I managed to solve the issue. I just uninstalled scikit-learn 0.19.2 from the conda environment and installed the v0.19.1. Everything is running fine for now. Thanks

@adriangeerre
Copy link

Hi

I followed the conda installation instruction from the wiki but I faced the same issue. I tried reinstalling with scikit-learn 0.19.1 but did not solved the issue.

I have apparently solved the issue (I still needs to test) by installing libgfortran 3.0.0 as described here: ContinuumIO/anaconda-issues#686 (comment)

Best

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

3 participants