-
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
Linux pip install gives "Proj executable not found. Please set PROJ_DIR variable." #477
Linux pip install gives "Proj executable not found. Please set PROJ_DIR variable." #477
Comments
This is likely related to using manylinux2010 wheels with 2.4.1 |
@snowman2 I suppose it's possible with multibuild to still build both manylinux1 and manylinux2010 wheels and upload both? |
According to: pypa/manylinux#179 (comment) It seems it should work with pip 10.x. I don't think that is too unreasonable of a minimum version of pip to use to install pyproj. Or are there reasons why that would be problematic? |
Hmm, that's not very true. Need pip>=19.0.0 for it to work. |
Apart from the pip version, there will also just be OSes that are too old for manylinux2010 (but don't know the exact requirements, not sure if the "2010" is a proper indicator) |
According to: pypa/manylinux#179 (comment), "most of linux flavors that came out before 2010 are now EOL". So, if their maintainers aren't supporting them, then I am not sure if we should be supporting them either. |
I had this issue on travis by the way. Default distro is Xenial there. And default pip |
Yes, you will need |
I guess this is likely the best path forward if it works. |
Yes, the old distros is probably as you quoted not really a problem. Old pip versions seems more annoying (AFAIK there is no good way to message to the users of "hey you should upgrade pip to ensure to install pyproj wheels"). |
I guess I could add a message in the Current plan:
|
hey @snowman2 i'm so happy i found this issue as i started running into this - this week - with our travis build. I'm noticing it works on python 3.5, 3.6 but fails again on 3.7 . essentially i added |
@lwasser it seems that fixed your pyproj issues. The build seems to be failing for a different reason now. |
Ubuntu Bionic is certainly not EOL nor is it using Pip >= 10, and upgrading to a newer pip brings its own problems. Is it necessary to have a breaking change for a minor point release? |
hey @snowman2 ok thank you!! i figured it out. it was a pyproj error associated with tox needing the pip dependency too!! for anyone else running into this - the fix is as easy as this: essentially specifying |
Installation method/steps
Environment Information
Error
Since 2.4.1 release pip install won't work unless you have a more recent version of pip.
pip
18.1
for example will fail because it refuses to download the wheel packages and then will try to compile the sources.Fix
The solution is to upgrade pip to a later version (
pip install --upgrade pip
)You can close this issue if you think this is not a bug worth fixing. I created it mostly so users with the same issue may hopefully find this.
The text was updated successfully, but these errors were encountered: