Skip to content
This repository has been archived by the owner on May 29, 2022. It is now read-only.

Unable to build (functional) Python3 bindings #36

Closed
protogeezer opened this issue Apr 12, 2017 · 2 comments
Closed

Unable to build (functional) Python3 bindings #36

protogeezer opened this issue Apr 12, 2017 · 2 comments

Comments

@protogeezer
Copy link

Per Bryan Parsons suggestion for taking a quick and dirty shot with generating Python3 bindings, I created a CustomPythonSetup.cmake file pointing to my local anaconda 3.6 installation, then built (on OS X 10.12.4) with the command:

et-imac-retina:gpstk-2.9 sjbespa$ sudo ./build.sh -b/Users/sjbespa/work/gpstk/gpstk-2.9-build3 -j8 -eu -P/Users/sjbespa/anaconda/bin/python 

The resulting bindings don't seem to export any symbols, although the module is about the right size (vis-a-vis the python2 bindings):
Last login: Wed Apr 12 09:25:28 on ttys004

et-imac-retina:~ sjbespa$ python
Python 3.6.0 |Anaconda 4.3.1 (x86_64)| (default, Dec 23 2016, 13:19:00) 
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import gpstk
>>> dir(gpstk)
['__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__']
>>> gpstk.__path__
['/Users/sjbespa/.local/lib/python3.6/site-packages/gpstk']

Any ideas on how to attack the problem would be greatly appreciated... I see elsewhere on the GPSTK website that the current bindings were conceived "with an eye towards python 2." It would help to understand what that comment means.

@spacefan
Copy link

spacefan commented Sep 2, 2019

You should use python 2 (version >= 2.7.2) instead of python 3

@UT-dave UT-dave closed this as completed Jun 11, 2021
@UT-dave
Copy link
Contributor

UT-dave commented Jun 11, 2021

ARL will release a new version of GPSTk later this summer with udpated Python bindings.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants