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

ImportError #46

Open
tmhaynes opened this issue Oct 10, 2017 · 3 comments
Open

ImportError #46

tmhaynes opened this issue Oct 10, 2017 · 3 comments

Comments

@tmhaynes
Copy link

Hello -
I downloaded and created the klusta environment per directions, but when I try to test with the sample data ($ klusta hybrid_10sec.prm) it raises an "ImportError" that reads:

ImportError: dlopen(/Applications/anaconda/envs/klusta/lib/python3.5/site-packages/scipy/sparse/_sparsetools.cpython-35m-darwin.so, 2): no suitable image found.
Did find:
/Applications/anaconda/envs/klusta/lib/python3.5/site-packages/scipy/sparse/_sparsetools.cpython-35m-darwin.so: truncated mach-o error: segment __TEXT extends to 3825664 which is past end of file 3080192""

I am relatively new to the programming world, my experience being limited to simple data extraction/manipulation with pandas/python. I have tried re-installing klusta but get the same error. Any advice on additional steps I could take?

THANK YOU!

@rossant
Copy link
Member

rossant commented Oct 12, 2017

Hi, this is a weird bug. That might be a problem with the installation of Python and conda, maybe a conflict between different incompatible versions. Do you have several distributions or installations of Python on your computer? Maybe you could try to uninstall all of them, and then reinstall miniconda following the instructions?

@tmhaynes
Copy link
Author

I did indeed, that worked - thanks! Now my next roadblock - I am unable to open klustaviewa gui after running the clustering on the test data

(klusta)$ klustaviewa hybrid_10sec.kwik
-bash: klustaviewa: command not found

I am pretty sure I followed the installation correctly, but I must be missing something. Your help is much appreciated

@rossant
Copy link
Member

rossant commented Oct 15, 2017

The command should be phy kwik-gui hybrid_10sec.kwik. The installation instructions you followed should have installed the phy Kwik GUI.

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