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

ModuleNotFoundError: No module named 'cydist.sspd' with Python 3 #2

Open
rpelorosso opened this issue Jul 30, 2018 · 2 comments
Open

Comments

@rpelorosso
Copy link

Hi! I'm trying to run the examples using python 3, and I'm getting the following error:

[silencer@myhostname traj_dist]$ python example.py 
Traceback (most recent call last):
  File "example.py", line 2, in <module>
    import traj_dist.distance as tdist
  File "/usr/lib/python3.6/site-packages/traj_dist/distance.py", line 3, in <module>
    from cydist.sspd import c_e_sspd, c_g_sspd
ModuleNotFoundError: No module named 'cydist.sspd'

I have installed it as per the readme file. It is working in python 2, however.

Do you have any idea about what could be happening? I'd like to use this library with python 3.

Thank you for your hard work!
Rodrigo

@bguillouet
Copy link
Owner

Hi,

Sorry for the late answer.
Unfortunately I wrote this code to work under python 2.7, so it will need some re-organization to work under python 3 and i won't be able to help you on this specific problem.

@djjavo
Copy link
Contributor

djjavo commented Aug 14, 2019

Hi! I'm trying to run the examples using python 3, and I'm getting the following error:

[silencer@myhostname traj_dist]$ python example.py 
Traceback (most recent call last):
  File "example.py", line 2, in <module>
    import traj_dist.distance as tdist
  File "/usr/lib/python3.6/site-packages/traj_dist/distance.py", line 3, in <module>
    from cydist.sspd import c_e_sspd, c_g_sspd
ModuleNotFoundError: No module named 'cydist.sspd'

I have installed it as per the readme file. It is working in python 2, however.

Do you have any idea about what could be happening? I'd like to use this library with python 3.

Thank you for your hard work!
Rodrigo

Hi Rodrigo, if you are still interested in using this, I have it working on Python 3.6. Either check out the pull request, or my fork of this repository.

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