jgrss / mpglue

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

Error installing MpGlue on windows 7 #3

Open pranabkrc opened 6 years ago

pranabkrc commented 6 years ago

I am trying to install mpglue on a Windows 7 64 bit machine, by cloning the gir repo and then building it. But I'm getting the following error: image Any solutions for this?

KPGeo commented 6 years ago

I'm having the same issue on windows 10.... seems to be either PATH variable or *. file issue, but every fix I try fails.

KPGeo commented 6 years ago

correction *.h file, as in arrayobject.h

jgrss commented 6 years ago

Have you tried adding the NumPy include path to the distutils.cfg file? The file should be in C:\Python27\Lib\distutils.

Then, update the file to look like:

[build]
compiler = mingw32

[build_ext]
include_dirs= C:\Python27\Lib\site-packages\numpy\core\include
compiler = mingw32
jgrss commented 6 years ago

Can you also test if building in place works?

After cloning or pulling MpGlue:

cd mpglue
python setup.py build_ext --inplace