Closed prubbens closed 6 years ago
This is usually a PYTHONPATH error. Are you sure you installed with the same interpreter as the one that you are trying to import it from? A common error is to install with system Python and then run with Anaconda Python, or the other way around.
Yes, I thought this would be the reason, however running the module from the terminal still gives me the same error.. I'll have a closer look in the meanwhile.
If this is the case, how can I fix this?
I don't know what system you are on, but what do which python
and which pip3
return?
which python
: /home/prubbens/anaconda3/bin/python
which pip3
: /home/prubbens/anaconda3/bin/pip3
And I am using Ubuntu 14.04
Did you try conda install somoclu
? Before you do that, make sure you clear things up (pip3 uninstall somoclu
, quite possibly you have to execute this twice).
Tried that in the beginning, and now again after uninstalling somoclu, I get the following error:
UnsatisfiableError: The following specifications were found to be in conflict:
- python 3.4*
- somoclu
Use "conda info <package>" to see the dependencies for each package.
Does somoclu
only run with >=Python3.5
?
Right, it only builds for Python 2.7, 3.5 and 3.6. Two ways forward:
Ok, after some reinstallation work, and dependencies solving, managed to install somoclu
. Thanks for the swift responses!
Having installed the package
somoclu
, I get the error:ImportError: No module named 'somoclu'
, after runningimport somoclu
.I installed
somoclu
using the commandsudo pip3 install somoclu
and also following the guidelines installingsomoclu
from the github repo. Any ideas what might be the issue? I'm using Python3.4, numpy, ...