jgrss / mpglue

A Python library for image and vector processing
MIT License
8 stars 3 forks source link

Installation Difficulty #4

Open bradlewt opened 6 years ago

bradlewt commented 6 years ago

Many of the dependencies of MpGlue have now switched to PY 3.x, which makes MpGlue difficult to install outside of a Docker instance, which isn't always possible. What would it take for MpGlue (and spfeas) be modified to allow dependencies with later py versions?

jgrss commented 6 years ago

Probably not much, and it is something that I have been putting off for too long.

bradlewt commented 6 years ago

Hey Jordan,

Could you email me at the CCed address so we can chat about the time required and your availability?

Best,

Walker

On Apr 24, 2018, at 17:02, Jordan notifications@github.com wrote:

Probably not much, and it is something that I have been putting off for too long.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

bradlewt commented 5 years ago

Dear Jordan,

Thank you for all the work. Just a heads up that there seems to be an issue with some of the dependencies around GDAL. The installation works just fine, but running python -c "import mpglue;mpglue.test()" results in execptions saying "GDAL Python must be installed", when it is, ver 2.3.3

During the handling of that exception there is also an ImportError from importing the Vector Tools.

Thanks for checking it out!

jgrss commented 5 years ago

Hi Walker,

The first thing that I can think of is the relative location where you are executing the test. Where are you running the test line from? Inside the Git directory?

Are you using Python 2.x or 3.x?

jgrss commented 5 years ago

Does this issue solve your problem?

bradlewt commented 5 years ago

Hi Jordan,

I was running it from a local directory (downloads), but upon further reflection with Ben it seems to be an install issue with MS Visual C++. I was running py3.7 but I'm up and running now on the 2.7 version using docker. At some point we'll go through and see about updating the docker instance to run the py3.x mpglue and spfeas.