-
Notifications
You must be signed in to change notification settings - Fork 394
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
Build error with Python 3.7 #414
Comments
It looks like regenerating the C sources with cythonize helps: # Ensure our geos will be used.
rm -rf $SRC_DIR/geos-3.3.3
export GEOS_DIR=$PREFIX
# Regenerate C sources for Python 3.7
cythonize --force src/_geoslib.pyx
$PYTHON -m pip install -I --no-deps . |
Thanks @sscherfke that and installing pyproj from source fixed my problem with python 3.7! |
I would welcome a PR that updates the cython output.
…On Thu, Jul 19, 2018 at 10:22 AM, Lukas Guz ***@***.***> wrote:
Thanks @sscherfke <https://github.com/sscherfke> that and installing
pyproj from source fixed my problem with python 3.7!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#414 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AARy-EbpyuzEKxe4NNDbthjc7H-luUj3ks5uIJYsgaJpZM4VSlMz>
.
|
FWIW, I ran into this issue building my project with Python 3.7.1 and this thread got me on the right track. The only step necessary was to build pyproj from source before installing basemap. If I list pyproj github repo in my requirements.txt, this takes care of itself.
Cythonizing This is on Fedora 24, basemap-1.2.0, matplotlib-3.0.1, pyproj-1.9.5.1, geos-devel-3.5.0.3. |
I am trying to build basemap for Python 3.7 with conda-build. The build fails with the following error:
I have tried the latest release as well as the current master. I tried NumPy 1.14 and the RC for 1.15. I tried using an external libgeos and using the bundled one.
All combinations are working with Python 3.6 but failing with 3.7.
The text was updated successfully, but these errors were encountered: