-
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
pydist and windows support #1
Comments
Hi Neafbi, and Thank you!. I really have no experience in Windows, Hence I can't reproduce your error and i have no clue about how to solve it :( |
I had the same issue building with Python3, make sure you're building with Python2. |
Hey Guys, Simple steps: The old Geohash lib doesn't seem to work with python3 no more, I have replaced it with geohash2 and edited the code in the file traj_dist/pydist/linecell.py from:
to:
Also, in setup.py I replaced the requirement to geohash2. Use 2to3 script to get python3 ready code:
Copy the pyx files over from the original package in the cydist dir to the cydist dir under the new traj-dist-py3/traj_dist dir From the traj-dist-py3 directory build the extensions and then a wheel file using:
And finally install using pip and the newly created wheel file - looks like this:
|
I also figured out a way to solve this problem, I uesd python 3.6.1 32bit. I checked “distance.py” when I met the error"No module named 'pydist'". Then I made the following changes :" |
Hey, great job but is there a way to avoid this error on windows ?
Thanks !
The text was updated successfully, but these errors were encountered: