-
Notifications
You must be signed in to change notification settings - Fork 50
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
installation broken in python 3.7 #253
Comments
this worked for me edit: actually I am not sure it worked
>>> import sima Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/bendichter/dev/sima/sima/__init__.py", line 6, in <module>
from sima.imaging import ImagingDataset
File "/Users/bendichter/dev/sima/sima/imaging.py", line 35, in <module>
from sima.segment import ca1pc
File "/Users/bendichter/dev/sima/sima/segment/__init__.py", line 11, in <module>
from .stica import STICA
File "/Users/bendichter/dev/sima/sima/segment/stica.py", line 15, in <module>
from . import oPCA
File "/Users/bendichter/dev/sima/sima/segment/oPCA.py", line 18, in <module>
from . import _opca
ImportError: cannot import name '_opca' from 'sima.segment' (/Users/bendichter/dev/sima/sima/segment/__init__.py) |
This problem is not present in python 3.6, only in python 3.7 |
I had a similar issue while installing sima. There is no 'wheels' dist for sima yet and depending on the pip version you're using, it will look for this. It might be working on the older python version because of an older pip version. The work around is to install a wheels dist of sima from here |
I think the wheels dist needs to be published on PiPY for the standard 'pip install sima' to work |
This is a solution for Windows users, but @bendichter is on Mac OSX. I similarly can't get a wheel of sima to compile on Ubuntu for Python 3.7 or 3.8, and so can't install it on Python 3.7 or 3.8. |
Hi, |
I had no issues with installing in an environment with Python version 3.6.13. Did not work for recent versions (e.g. 3.9.5). |
The text was updated successfully, but these errors were encountered: