-
Notifications
You must be signed in to change notification settings - Fork 216
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
Support for Python 3.7 #136
Comments
Thanks for adding Travis tests. I see that installing the package from GitHub repo works fine for me too. It is the latest version available on PyPI that is outdated and is raising an error during installation for Python 3.7. Could someone also make a new release and upload it to PyPI? |
I suspect it is an issue with the C file generated by Cython. The version requirements for Cython probably need to be updated in requirements-dev.txt... I guess Cython 0.28 should be the minimum to support Python 3.7. (Cython Changelog) |
When I use the latest Cython version |
It looks like 0.28.4 was released last week, so I guess that should now be the minimum Cython version. |
The reason why the PyPI release does not work but installing from Git (with |
Is this releasable now? |
Anything we can help with to build and release a new version of this library? |
Thank you @valgur for what you said above - it gave me inspiration on how to get this repo working with pipenv! 🎉
|
1. Do not do CI testing on Python 3.7 2. Do not install geopandas on Python 3.7 Ref: #178, pyproj4/pyproj#136
1. Do not do CI testing on Python 3.7 2. Do not install geopandas on Python 3.7 Ref: #178, pyproj4/pyproj#136
1. Do not do CI testing on Python 3.7 2. Do not install geopandas on Python 3.7 Ref: #178, pyproj4/pyproj#136
Try a pre-compiled wheel. After struggling with install via pip, I downloaded the 37 whl file at following URL and pointed my pip install to that file. voila! |
PyPI release still does not work. |
@valgur , is it possible to force |
Several issues report problems with using `pip install pyproj`. A workaround is using the latest version from Github. Some issues with pip problems: pyproj4#141 pyproj4#136 pyproj4#133 pyproj4#132 pyproj4#130 pyproj4#59 pyproj4#25 pyproj4#13 pyproj4#9.
* newer version is needed to fix build with newer python-3.7: _proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'? *type = tstate->exc_type; ^~~~~~~~ curexc_type * see pyproj4/pyproj#138 pyproj4/pyproj#136 * and pypi.bbclass is needed to fetch the source from files.pythonhosted.org, the old pypi.python.org/packages/source doesn't have the new releases * the newest version is 2.1.3, but that needs a bit more changes like: DEPENDS += "${PYTHON_PN}-cython-native" and then it still fails with: | Proj executable not found. Please set PROJ_DIR variable. | ERROR: 'python3 setup.py build ' execution failed. will probably need native pyproj as well, I'll leave that to someone actually using pyproj (I was just fixing the build error detected in bitbake world with Yocto 2.7 Warrior). Signed-off-by: Martin Jansa <[email protected]>
* newer version is needed to fix build with newer python-3.7: _proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'? *type = tstate->exc_type; ^~~~~~~~ curexc_type * see pyproj4/pyproj#138 pyproj4/pyproj#136 * and pypi.bbclass is needed to fetch the source from files.pythonhosted.org, the old pypi.python.org/packages/source doesn't have the new releases * the newest version is 2.1.3, but that needs a bit more changes like: DEPENDS += "${PYTHON_PN}-cython-native" and then it still fails with: | Proj executable not found. Please set PROJ_DIR variable. | ERROR: 'python3 setup.py build ' execution failed. will probably need native pyproj as well, I'll leave that to someone actually using pyproj (I was just fixing the build error detected in bitbake world with Yocto 2.7 Warrior). Signed-off-by: Martin Jansa <[email protected]>
* newer version is needed to fix build with newer python-3.7: _proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'? *type = tstate->exc_type; ^~~~~~~~ curexc_type * see pyproj4/pyproj#138 pyproj4/pyproj#136 * and pypi.bbclass is needed to fetch the source from files.pythonhosted.org, the old pypi.python.org/packages/source doesn't have the new releases * the newest version is 2.1.3, but that needs a bit more changes like: DEPENDS += "${PYTHON_PN}-cython-native" and then it still fails with: | Proj executable not found. Please set PROJ_DIR variable. | ERROR: 'python3 setup.py build ' execution failed. will probably need native pyproj as well, I'll leave that to someone actually using pyproj (I was just fixing the build error detected in bitbake world with Yocto 2.7 Warrior). Signed-off-by: Martin Jansa <[email protected]>
* newer version is needed to fix build with newer python-3.7: _proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'? *type = tstate->exc_type; ^~~~~~~~ curexc_type * see pyproj4/pyproj#138 pyproj4/pyproj#136 * and pypi.bbclass is needed to fetch the source from files.pythonhosted.org, the old pypi.python.org/packages/source doesn't have the new releases * the newest version is 2.1.3, but that needs a bit more changes like: DEPENDS += "${PYTHON_PN}-cython-native" and then it still fails with: | Proj executable not found. Please set PROJ_DIR variable. | ERROR: 'python3 setup.py build ' execution failed. will probably need native pyproj as well, I'll leave that to someone actually using pyproj (I was just fixing the build error detected in bitbake world with Yocto 2.7 Warrior). Signed-off-by: Martin Jansa <[email protected]>
* newer version is needed to fix build with newer python-3.7: _proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'? *type = tstate->exc_type; ^~~~~~~~ curexc_type * see pyproj4/pyproj#138 pyproj4/pyproj#136 * and pypi.bbclass is needed to fetch the source from files.pythonhosted.org, the old pypi.python.org/packages/source doesn't have the new releases * the newest version is 2.1.3, but that needs a bit more changes like: DEPENDS += "${PYTHON_PN}-cython-native" and then it still fails with: | Proj executable not found. Please set PROJ_DIR variable. | ERROR: 'python3 setup.py build ' execution failed. will probably need native pyproj as well, I'll leave that to someone actually using pyproj (I was just fixing the build error detected in bitbake world with Yocto 2.7 Warrior). Signed-off-by: Martin Jansa <[email protected]>
* newer version is needed to fix build with newer python-3.7: _proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'? *type = tstate->exc_type; ^~~~~~~~ curexc_type * see pyproj4/pyproj#138 pyproj4/pyproj#136 * and pypi.bbclass is needed to fetch the source from files.pythonhosted.org, the old pypi.python.org/packages/source doesn't have the new releases * the newest version is 2.1.3, but that needs a bit more changes like: DEPENDS += "${PYTHON_PN}-cython-native" and then it still fails with: | Proj executable not found. Please set PROJ_DIR variable. | ERROR: 'python3 setup.py build ' execution failed. will probably need native pyproj as well, I'll leave that to someone actually using pyproj (I was just fixing the build error detected in bitbake world with Yocto 2.7 Warrior). Signed-off-by: Martin Jansa <[email protected]>
* newer version is needed to fix build with newer python-3.7: _proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'? *type = tstate->exc_type; ^~~~~~~~ curexc_type * see pyproj4/pyproj#138 pyproj4/pyproj#136 * and pypi.bbclass is needed to fetch the source from files.pythonhosted.org, the old pypi.python.org/packages/source doesn't have the new releases * the newest version is 2.1.3, but that needs a bit more changes like: DEPENDS += "${PYTHON_PN}-cython-native" and then it still fails with: | Proj executable not found. Please set PROJ_DIR variable. | ERROR: 'python3 setup.py build ' execution failed. will probably need native pyproj as well, I'll leave that to someone actually using pyproj (I was just fixing the build error detected in bitbake world with Yocto 2.7 Warrior). Signed-off-by: Martin Jansa <[email protected]>
* newer version is needed to fix build with newer python-3.7: _proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'? *type = tstate->exc_type; ^~~~~~~~ curexc_type * see pyproj4/pyproj#138 pyproj4/pyproj#136 * and pypi.bbclass is needed to fetch the source from files.pythonhosted.org, the old pypi.python.org/packages/source doesn't have the new releases * the newest version is 2.1.3, but that needs a bit more changes like: DEPENDS += "${PYTHON_PN}-cython-native" and then it still fails with: | Proj executable not found. Please set PROJ_DIR variable. | ERROR: 'python3 setup.py build ' execution failed. will probably need native pyproj as well, I'll leave that to someone actually using pyproj (I was just fixing the build error detected in bitbake world with Yocto 2.7 Warrior). Signed-off-by: Martin Jansa <[email protected]>
* newer version is needed to fix build with newer python-3.7: _proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'? *type = tstate->exc_type; ^~~~~~~~ curexc_type * see pyproj4/pyproj#138 pyproj4/pyproj#136 * and pypi.bbclass is needed to fetch the source from files.pythonhosted.org, the old pypi.python.org/packages/source doesn't have the new releases * the newest version is 2.1.3, but that needs a bit more changes like: DEPENDS += "${PYTHON_PN}-cython-native" and then it still fails with: | Proj executable not found. Please set PROJ_DIR variable. | ERROR: 'python3 setup.py build ' execution failed. will probably need native pyproj as well, I'll leave that to someone actually using pyproj (I was just fixing the build error detected in bitbake world with Yocto 2.7 Warrior). Signed-off-by: Martin Jansa <[email protected]>
* newer version is needed to fix build with newer python-3.7: _proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'? *type = tstate->exc_type; ^~~~~~~~ curexc_type * see pyproj4/pyproj#138 pyproj4/pyproj#136 * and pypi.bbclass is needed to fetch the source from files.pythonhosted.org, the old pypi.python.org/packages/source doesn't have the new releases * the newest version is 2.1.3, but that needs a bit more changes like: DEPENDS += "${PYTHON_PN}-cython-native" and then it still fails with: | Proj executable not found. Please set PROJ_DIR variable. | ERROR: 'python3 setup.py build ' execution failed. will probably need native pyproj as well, I'll leave that to someone actually using pyproj (I was just fixing the build error detected in bitbake world with Yocto 2.7 Warrior). Signed-off-by: Martin Jansa <[email protected]>
* newer version is needed to fix build with newer python-3.7: _proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'? *type = tstate->exc_type; ^~~~~~~~ curexc_type * see pyproj4/pyproj#138 pyproj4/pyproj#136 * and pypi.bbclass is needed to fetch the source from files.pythonhosted.org, the old pypi.python.org/packages/source doesn't have the new releases * the newest version is 2.1.3, but that needs a bit more changes like: DEPENDS += "${PYTHON_PN}-cython-native" and then it still fails with: | Proj executable not found. Please set PROJ_DIR variable. | ERROR: 'python3 setup.py build ' execution failed. will probably need native pyproj as well, I'll leave that to someone actually using pyproj (I was just fixing the build error detected in bitbake world with Yocto 2.7 Warrior). Signed-off-by: Martin Jansa <[email protected]>
* newer version is needed to fix build with newer python-3.7: _proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'? *type = tstate->exc_type; ^~~~~~~~ curexc_type * see pyproj4/pyproj#138 pyproj4/pyproj#136 * and pypi.bbclass is needed to fetch the source from files.pythonhosted.org, the old pypi.python.org/packages/source doesn't have the new releases * the newest version is 2.1.3, but that needs a bit more changes like: DEPENDS += "${PYTHON_PN}-cython-native" and then it still fails with: | Proj executable not found. Please set PROJ_DIR variable. | ERROR: 'python3 setup.py build ' execution failed. will probably need native pyproj as well, I'll leave that to someone actually using pyproj (I was just fixing the build error detected in bitbake world with Yocto 2.7 Warrior). Signed-off-by: Martin Jansa <[email protected]>
* newer version is needed to fix build with newer python-3.7: _proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'? *type = tstate->exc_type; ^~~~~~~~ curexc_type * see pyproj4/pyproj#138 pyproj4/pyproj#136 * and pypi.bbclass is needed to fetch the source from files.pythonhosted.org, the old pypi.python.org/packages/source doesn't have the new releases * the newest version is 2.1.3, but that needs a bit more changes like: DEPENDS += "${PYTHON_PN}-cython-native" and then it still fails with: | Proj executable not found. Please set PROJ_DIR variable. | ERROR: 'python3 setup.py build ' execution failed. will probably need native pyproj as well, I'll leave that to someone actually using pyproj (I was just fixing the build error detected in bitbake world with Yocto 2.7 Warrior). Signed-off-by: Martin Jansa <[email protected]>
* newer version is needed to fix build with newer python-3.7: _proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'? *type = tstate->exc_type; ^~~~~~~~ curexc_type * see pyproj4/pyproj#138 pyproj4/pyproj#136 * and pypi.bbclass is needed to fetch the source from files.pythonhosted.org, the old pypi.python.org/packages/source doesn't have the new releases * the newest version is 2.1.3, but that needs a bit more changes like: DEPENDS += "${PYTHON_PN}-cython-native" and then it still fails with: | Proj executable not found. Please set PROJ_DIR variable. | ERROR: 'python3 setup.py build ' execution failed. will probably need native pyproj as well, I'll leave that to someone actually using pyproj (I was just fixing the build error detected in bitbake world with Yocto 2.7 Warrior). Signed-off-by: Martin Jansa <[email protected]>
* newer version is needed to fix build with newer python-3.7: _proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'? *type = tstate->exc_type; ^~~~~~~~ curexc_type * see pyproj4/pyproj#138 pyproj4/pyproj#136 * and pypi.bbclass is needed to fetch the source from files.pythonhosted.org, the old pypi.python.org/packages/source doesn't have the new releases * the newest version is 2.1.3, but that needs a bit more changes like: DEPENDS += "${PYTHON_PN}-cython-native" and then it still fails with: | Proj executable not found. Please set PROJ_DIR variable. | ERROR: 'python3 setup.py build ' execution failed. will probably need native pyproj as well, I'll leave that to someone actually using pyproj (I was just fixing the build error detected in bitbake world with Yocto 2.7 Warrior). Signed-off-by: Martin Jansa <[email protected]>
* newer version is needed to fix build with newer python-3.7: _proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'? *type = tstate->exc_type; ^~~~~~~~ curexc_type * see pyproj4/pyproj#138 pyproj4/pyproj#136 * and pypi.bbclass is needed to fetch the source from files.pythonhosted.org, the old pypi.python.org/packages/source doesn't have the new releases * the newest version is 2.1.3, but that needs a bit more changes like: DEPENDS += "${PYTHON_PN}-cython-native" and then it still fails with: | Proj executable not found. Please set PROJ_DIR variable. | ERROR: 'python3 setup.py build ' execution failed. will probably need native pyproj as well, I'll leave that to someone actually using pyproj (I was just fixing the build error detected in bitbake world with Yocto 2.7 Warrior). Signed-off-by: Martin Jansa <[email protected]>
* newer version is needed to fix build with newer python-3.7: _proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'? *type = tstate->exc_type; ^~~~~~~~ curexc_type * see pyproj4/pyproj#138 pyproj4/pyproj#136 * and pypi.bbclass is needed to fetch the source from files.pythonhosted.org, the old pypi.python.org/packages/source doesn't have the new releases * the newest version is 2.1.3, but that needs a bit more changes like: DEPENDS += "${PYTHON_PN}-cython-native" and then it still fails with: | Proj executable not found. Please set PROJ_DIR variable. | ERROR: 'python3 setup.py build ' execution failed. will probably need native pyproj as well, I'll leave that to someone actually using pyproj (I was just fixing the build error detected in bitbake world with Yocto 2.7 Warrior). Signed-off-by: Martin Jansa <[email protected]>
* newer version is needed to fix build with newer python-3.7: _proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'? *type = tstate->exc_type; ^~~~~~~~ curexc_type * see pyproj4/pyproj#138 pyproj4/pyproj#136 * and pypi.bbclass is needed to fetch the source from files.pythonhosted.org, the old pypi.python.org/packages/source doesn't have the new releases * the newest version is 2.1.3, but that needs a bit more changes like: DEPENDS += "${PYTHON_PN}-cython-native" and then it still fails with: | Proj executable not found. Please set PROJ_DIR variable. | ERROR: 'python3 setup.py build ' execution failed. will probably need native pyproj as well, I'll leave that to someone actually using pyproj (I was just fixing the build error detected in bitbake world with Yocto 2.7 Warrior). Signed-off-by: Martin Jansa <[email protected]>
* newer version is needed to fix build with newer python-3.7: _proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'? *type = tstate->exc_type; ^~~~~~~~ curexc_type * see pyproj4/pyproj#138 pyproj4/pyproj#136 * and pypi.bbclass is needed to fetch the source from files.pythonhosted.org, the old pypi.python.org/packages/source doesn't have the new releases * the newest version is 2.1.3, but that needs a bit more changes like: DEPENDS += "${PYTHON_PN}-cython-native" and then it still fails with: | Proj executable not found. Please set PROJ_DIR variable. | ERROR: 'python3 setup.py build ' execution failed. will probably need native pyproj as well, I'll leave that to someone actually using pyproj (I was just fixing the build error detected in bitbake world with Yocto 2.7 Warrior). Signed-off-by: Martin Jansa <[email protected]>
* newer version is needed to fix build with newer python-3.7: _proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'? *type = tstate->exc_type; ^~~~~~~~ curexc_type * see pyproj4/pyproj#138 pyproj4/pyproj#136 * and pypi.bbclass is needed to fetch the source from files.pythonhosted.org, the old pypi.python.org/packages/source doesn't have the new releases * the newest version is 2.1.3, but that needs a bit more changes like: DEPENDS += "${PYTHON_PN}-cython-native" and then it still fails with: | Proj executable not found. Please set PROJ_DIR variable. | ERROR: 'python3 setup.py build ' execution failed. will probably need native pyproj as well, I'll leave that to someone actually using pyproj (I was just fixing the build error detected in bitbake world with Yocto 2.7 Warrior). Signed-off-by: Martin Jansa <[email protected]>
* newer version is needed to fix build with newer python-3.7: _proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'? *type = tstate->exc_type; ^~~~~~~~ curexc_type * see pyproj4/pyproj#138 pyproj4/pyproj#136 * and pypi.bbclass is needed to fetch the source from files.pythonhosted.org, the old pypi.python.org/packages/source doesn't have the new releases * the newest version is 2.1.3, but that needs a bit more changes like: DEPENDS += "${PYTHON_PN}-cython-native" and then it still fails with: | Proj executable not found. Please set PROJ_DIR variable. | ERROR: 'python3 setup.py build ' execution failed. will probably need native pyproj as well, I'll leave that to someone actually using pyproj (I was just fixing the build error detected in bitbake world with Yocto 2.7 Warrior). Signed-off-by: Martin Jansa <[email protected]>
* newer version is needed to fix build with newer python-3.7: _proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'? *type = tstate->exc_type; ^~~~~~~~ curexc_type * see pyproj4/pyproj#138 pyproj4/pyproj#136 * and pypi.bbclass is needed to fetch the source from files.pythonhosted.org, the old pypi.python.org/packages/source doesn't have the new releases * the newest version is 2.1.3, but that needs a bit more changes like: DEPENDS += "${PYTHON_PN}-cython-native" and then it still fails with: | Proj executable not found. Please set PROJ_DIR variable. | ERROR: 'python3 setup.py build ' execution failed. will probably need native pyproj as well, I'll leave that to someone actually using pyproj (I was just fixing the build error detected in bitbake world with Yocto 2.7 Warrior). Signed-off-by: Martin Jansa <[email protected]>
* newer version is needed to fix build with newer python-3.7: _proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'? *type = tstate->exc_type; ^~~~~~~~ curexc_type * see pyproj4/pyproj#138 pyproj4/pyproj#136 * and pypi.bbclass is needed to fetch the source from files.pythonhosted.org, the old pypi.python.org/packages/source doesn't have the new releases * the newest version is 2.1.3, but that needs a bit more changes like: DEPENDS += "${PYTHON_PN}-cython-native" and then it still fails with: | Proj executable not found. Please set PROJ_DIR variable. | ERROR: 'python3 setup.py build ' execution failed. will probably need native pyproj as well, I'll leave that to someone actually using pyproj (I was just fixing the build error detected in bitbake world with Yocto 2.7 Warrior). Signed-off-by: Martin Jansa <[email protected]>
* newer version is needed to fix build with newer python-3.7: _proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'? *type = tstate->exc_type; ^~~~~~~~ curexc_type * see pyproj4/pyproj#138 pyproj4/pyproj#136 * and pypi.bbclass is needed to fetch the source from files.pythonhosted.org, the old pypi.python.org/packages/source doesn't have the new releases * the newest version is 2.1.3, but that needs a bit more changes like: DEPENDS += "${PYTHON_PN}-cython-native" and then it still fails with: | Proj executable not found. Please set PROJ_DIR variable. | ERROR: 'python3 setup.py build ' execution failed. will probably need native pyproj as well, I'll leave that to someone actually using pyproj (I was just fixing the build error detected in bitbake world with Yocto 2.7 Warrior). Signed-off-by: Martin Jansa <[email protected]>
* newer version is needed to fix build with newer python-3.7: _proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'? *type = tstate->exc_type; ^~~~~~~~ curexc_type * see pyproj4/pyproj#138 pyproj4/pyproj#136 * and pypi.bbclass is needed to fetch the source from files.pythonhosted.org, the old pypi.python.org/packages/source doesn't have the new releases * the newest version is 2.1.3, but that needs a bit more changes like: DEPENDS += "${PYTHON_PN}-cython-native" and then it still fails with: | Proj executable not found. Please set PROJ_DIR variable. | ERROR: 'python3 setup.py build ' execution failed. will probably need native pyproj as well, I'll leave that to someone actually using pyproj (I was just fixing the build error detected in bitbake world with Yocto 2.7 Warrior). Signed-off-by: Martin Jansa <[email protected]>
* newer version is needed to fix build with newer python-3.7: _proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'? *type = tstate->exc_type; ^~~~~~~~ curexc_type * see pyproj4/pyproj#138 pyproj4/pyproj#136 * and pypi.bbclass is needed to fetch the source from files.pythonhosted.org, the old pypi.python.org/packages/source doesn't have the new releases * the newest version is 2.1.3, but that needs a bit more changes like: DEPENDS += "${PYTHON_PN}-cython-native" and then it still fails with: | Proj executable not found. Please set PROJ_DIR variable. | ERROR: 'python3 setup.py build ' execution failed. will probably need native pyproj as well, I'll leave that to someone actually using pyproj (I was just fixing the build error detected in bitbake world with Yocto 2.7 Warrior). Signed-off-by: Martin Jansa <[email protected]>
* newer version is needed to fix build with newer python-3.7: _proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'? *type = tstate->exc_type; ^~~~~~~~ curexc_type * see pyproj4/pyproj#138 pyproj4/pyproj#136 * and pypi.bbclass is needed to fetch the source from files.pythonhosted.org, the old pypi.python.org/packages/source doesn't have the new releases * the newest version is 2.1.3, but that needs a bit more changes like: DEPENDS += "${PYTHON_PN}-cython-native" and then it still fails with: | Proj executable not found. Please set PROJ_DIR variable. | ERROR: 'python3 setup.py build ' execution failed. will probably need native pyproj as well, I'll leave that to someone actually using pyproj (I was just fixing the build error detected in bitbake world with Yocto 2.7 Warrior). Signed-off-by: Martin Jansa <[email protected]>
Hi,
now that Python 3.7 is officially the latest stable version, do you have any plans to support it?
At the moment
pyproj
is raising an error when I try to install it locally for Python 3.7.0 (using pip 10.0.1 and Linux Ubuntu). I get the same error as when I try to run Travis CI for my package which haspyproj
as a dependency: error messageThe text was updated successfully, but these errors were encountered: