Skip to content

2.4.1 version installation with pip does not work #478

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

Closed
eeromakiesko opened this issue Nov 7, 2019 · 5 comments
Closed

2.4.1 version installation with pip does not work #478

eeromakiesko opened this issue Nov 7, 2019 · 5 comments
Labels
installation-issues Issue related to installation problems.

Comments

@eeromakiesko
Copy link

Installation method/steps

Installation with pip inside docker container does not work.
pip install pyproj

produces:
Collecting pyproj (from geopandas==0.4.1->-r /requirements_php.txt (line 5))
Downloading ... (462kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Complete output from command python setup.py egg_info:
Proj executable not found. Please set PROJ_DIR variable.

This was done inside docker base image:
php:7.3-apache

Environment Information

  • pyproj 2.4.1 fails 2.4.0 works fine
  • Python version 3.7
  • Operation System Information docker image php:7.3-apache (alpine based linux)
@eeromakiesko eeromakiesko added the installation-issues Issue related to installation problems. label Nov 7, 2019
@snowman2
Copy link
Member

snowman2 commented Nov 7, 2019

Likely related to #477. pyproj 2.4.1 uses manylinux 2010 wheels, so I would recommend upgrading your version of pip.

@snowman2
Copy link
Member

snowman2 commented Nov 8, 2019

Closing as I am pretty sure it is related to #477

@snowman2 snowman2 closed this as completed Nov 8, 2019
@snowman2
Copy link
Member

snowman2 commented Nov 8, 2019

Thanks for the report!

@jorisvandenbossche
Copy link
Contributor

You are using Alpine linux (from the base docker image), and for that platform, there are no binary wheels. This means it will try to install pyproj from source, but that also means that you will need to install PROJ in advance I assume.

@eeromakiesko
Copy link
Author

eeromakiesko commented Nov 11, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installation-issues Issue related to installation problems.
Projects
None yet
Development

No branches or pull requests

3 participants