-
Notifications
You must be signed in to change notification settings - Fork 78
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 seems fine but import-issues #28
Comments
Hello, I faced the same issue and solved it. It seems that if you are using Python 3, you need to import like this:
instead of
https://copyprogramming.com/howto/module-not-found-error-when-importing-a-cython-pyd-file So, in sspd.pyx and all other .pyx files in cydist directory, just add a dot . before every basic_euclidean and basic_geographical import. |
Hey,
I don't know if someone still reads this, but I'm trying to run this package in python 3.10.
I installed it, via
Git clone
Inserting a cast to an int in the last function in frechet (line 534..), because it didnt compile:
Inserting some requires into pyproject.toml, as in this issue :
python setup.py install
pip install .
With the changes, the installation seems to work.
But when I try to import the distance module via
import traj_dist.distance as tdist
I get the following error:I tried to change the imports and add paths manually, but that didn't work either. So if you could help me, that would be really nice!
The text was updated successfully, but these errors were encountered: