Re: [Matplotlib-users] subplot grids with EPD
Hi, Personally I've tried to install Matplotlib 1.0.0 manually in EPD on Mac and Linux. For some reason on Linux it went totally OK from the first try (just had to define PREFIX correctly). On Mac I've tried to do the same but for some reason the libs are linked somehow differently and while the installation went OK (at least it didn't complain) mpl didn't work. I admit I don't have that much experience with Mac linking but it seems to be the issue. BTW have you tried to force 32-bit compilation using 'arch'? I was getting such messages when I've tired to run 64-bit module with 32-bit Python (didn't specify arch correctly). Best wishes, Jakub On 10/05/2010 03:26 PM, Robin wrote: Hi, I am using EPD 6.2 (32 bit) on a mac. I would like to use subplot grids (matplotlib.gridspec) which seems to require mpl 1.0.0. Is there anyway to install this and use it with EPD? So far I have tried everything from the installation guide, but whatever I do I get a bus error in ft2font. I can't get the wx backend to show up in the config stage (although wx is installed in EPD). I have tried building it myself, with the make.osx script, and with the EPD guide on the installation page, both with gcc 4.0 and gcc 4.2 but everything gives the same bus error. I'm actually not sure what compiler is used for EPD so perhaps that is the problem. Alternatively, is there a way to pick out the subplot grid features and use them with the epd matplotlib? If anyone is interested this is the error I get: Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x Crashed Thread: 0 Dispatch queue: com.apple.main-thread Thread 0 Crashed: Dispatch queue: com.apple.main-thread 0 ??? 00 0 + 0 1 libSystem.B.dylib 0x96f31108 _Unwind_GetLanguageSpecificData + 24 2 libstdc++.6.dylib 0x97166d86 __gxx_personality_v0 + 120 3 libgcc_s.1.dylib 0x0040b476 _Unwind_RaiseException_Phase2 + 102 (unwind.inc:68) 4 libgcc_s.1.dylib 0x0040b890 _Unwind_Resume + 112 (unwind.inc:238) 5 ft2font.so0x04501a98 FT2Font::FT2Font(std::string) + 4776 (ExtensionOldType.hxx:88) 6 ft2font.so0x04501fd3 ft2font_module::new_ft2font(Py::Tuple const) + 515 (ft2font.cpp:1969) 7 ft2font.so0x045041b6 Py::ExtensionModuleft2font_module::invoke_method_varargs(void*, Py::Tuple const) + 102 (ExtensionModule.hxx:184) 8 ft2font.so0x0450db87 method_varargs_call_handler + 343 9 org.python.python 0x000cbfd5 PyEval_EvalFrameEx + 19429 10 org.python.python 0x000ce14d PyEval_EvalCodeEx + 2109 11 org.python.python 0x000cc1bc PyEval_EvalFrameEx + 19916 12 org.python.python 0x000ce14d PyEval_EvalCodeEx + 2109 13 org.python.python 0x0004b136 function_call + 166 14 org.python.python 0x00019b05 PyObject_Call + 85 15 org.python.python 0x0002c0e6 instancemethod_call + 422 16 org.python.python 0x00019b05 PyObject_Call + 85 17 org.python.python 0x000c642e PyEval_CallObjectWithKeywords + 78 18 org.python.python 0x0002efb2 PyInstance_New + 114 19 org.python.python 0x00019b05 PyObject_Call + 85 20 org.python.python 0x000ca927 PyEval_EvalFrameEx + 13623 21 org.python.python 0x000cc956 PyEval_EvalFrameEx + 21862 22 org.python.python 0x000ce14d PyEval_EvalCodeEx + 2109 23 org.python.python 0x000ce2d7 PyEval_EvalCode + 87 24 org.python.python 0x000e5a3c PyImport_ExecCodeModuleEx + 188 25 org.python.python 0x000e66dc load_source_module + 540 26 org.python.python 0x000e72fd import_submodule + 301 27 org.python.python 0x000e7559 load_next + 201 28 org.python.python 0x000e7f53 PyImport_ImportModuleLevel + 419 29 org.python.python 0x000c09bf builtin___import__ + 159 30 org.python.python 0x00019b05 PyObject_Call + 85 31 org.python.python 0x000c642e PyEval_CallObjectWithKeywords + 78 32 org.python.python 0x000c99c0 PyEval_EvalFrameEx + 9680 33 org.python.python 0x000ce14d PyEval_EvalCodeEx + 2109 34 org.python.python 0x000ce2d7 PyEval_EvalCode + 87 35 org.python.python 0x000e5a3c PyImport_ExecCodeModuleEx + 188 36 org.python.python 0x000e66dc load_source_module + 540 37 org.python.python 0x000e72fd import_submodule + 301 38 org.python.python 0x000e78a7 ensure_fromlist + 439 39 org.python.python 0x000e833d PyImport_ImportModuleLevel + 1421 40
Re: [Matplotlib-users] subplot grids with EPD
On Wed, Oct 6, 2010 at 10:31 AM, Jakub Nowacki j.s.nowa...@gmail.com wrote: Hi, Personally I've tried to install Matplotlib 1.0.0 manually in EPD on Mac and Linux. For some reason on Linux it went totally OK from the first try (just had to define PREFIX correctly). On Mac I've tried to do the same but for some reason the libs are linked somehow differently and while the installation went OK (at least it didn't complain) mpl didn't work. I admit I don't have that much experience with Mac linking but it seems to be the issue. BTW have you tried to force 32-bit compilation using 'arch'? I was getting such messages when I've tired to run 64-bit module with 32-bit Python (didn't specify arch correctly). Thanks for the information. For me it is the same - the build completes successfully but I get the bus error when importing pyplot. I think it is 32 bit... I am installing to a 32 bit Python. Also in the past when I've had arch errors like that they show up at linking rather than runtime, and I think from the stack trace it is getting into the extension module ft2font - if it was 64 vs 32 bit I think it wouldn't load the .so. I am not sure if EPD is built with intel compilers and MKL - perhaps that could be the issue. Unfortunately I don't have intel compiler available to test. In the end I built against a fresh python.org 2.7 install and reinstalled numpy and scipy. Cheers Robin Best wishes, Jakub On 10/05/2010 03:26 PM, Robin wrote: Hi, I am using EPD 6.2 (32 bit) on a mac. I would like to use subplot grids (matplotlib.gridspec) which seems to require mpl 1.0.0. Is there anyway to install this and use it with EPD? So far I have tried everything from the installation guide, but whatever I do I get a bus error in ft2font. I can't get the wx backend to show up in the config stage (although wx is installed in EPD). I have tried building it myself, with the make.osx script, and with the EPD guide on the installation page, both with gcc 4.0 and gcc 4.2 but everything gives the same bus error. I'm actually not sure what compiler is used for EPD so perhaps that is the problem. Alternatively, is there a way to pick out the subplot grid features and use them with the epd matplotlib? If anyone is interested this is the error I get: Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x Crashed Thread: 0 Dispatch queue: com.apple.main-thread Thread 0 Crashed: Dispatch queue: com.apple.main-thread 0 ??? 00 0 + 0 1 libSystem.B.dylib 0x96f31108 _Unwind_GetLanguageSpecificData + 24 2 libstdc++.6.dylib 0x97166d86 __gxx_personality_v0 + 120 3 libgcc_s.1.dylib 0x0040b476 _Unwind_RaiseException_Phase2 + 102 (unwind.inc:68) 4 libgcc_s.1.dylib 0x0040b890 _Unwind_Resume + 112 (unwind.inc:238) 5 ft2font.so 0x04501a98 FT2Font::FT2Font(std::string) + 4776 (ExtensionOldType.hxx:88) 6 ft2font.so 0x04501fd3 ft2font_module::new_ft2font(Py::Tuple const) + 515 (ft2font.cpp:1969) 7 ft2font.so 0x045041b6 Py::ExtensionModuleft2font_module::invoke_method_varargs(void*, Py::Tuple const) + 102 (ExtensionModule.hxx:184) 8 ft2font.so 0x0450db87 method_varargs_call_handler + 343 9 org.python.python 0x000cbfd5 PyEval_EvalFrameEx + 19429 10 org.python.python 0x000ce14d PyEval_EvalCodeEx + 2109 11 org.python.python 0x000cc1bc PyEval_EvalFrameEx + 19916 12 org.python.python 0x000ce14d PyEval_EvalCodeEx + 2109 13 org.python.python 0x0004b136 function_call + 166 14 org.python.python 0x00019b05 PyObject_Call + 85 15 org.python.python 0x0002c0e6 instancemethod_call + 422 16 org.python.python 0x00019b05 PyObject_Call + 85 17 org.python.python 0x000c642e PyEval_CallObjectWithKeywords + 78 18 org.python.python 0x0002efb2 PyInstance_New + 114 19 org.python.python 0x00019b05 PyObject_Call + 85 20 org.python.python 0x000ca927 PyEval_EvalFrameEx + 13623 21 org.python.python 0x000cc956 PyEval_EvalFrameEx + 21862 22 org.python.python 0x000ce14d PyEval_EvalCodeEx + 2109 23 org.python.python 0x000ce2d7 PyEval_EvalCode + 87 24 org.python.python 0x000e5a3c PyImport_ExecCodeModuleEx + 188 25 org.python.python 0x000e66dc load_source_module + 540 26 org.python.python 0x000e72fd import_submodule + 301 27 org.python.python 0x000e7559 load_next + 201 28 org.python.python 0x000e7f53 PyImport_ImportModuleLevel + 419 29
[Matplotlib-users] subplot grids with EPD
Hi, I am using EPD 6.2 (32 bit) on a mac. I would like to use subplot grids (matplotlib.gridspec) which seems to require mpl 1.0.0. Is there anyway to install this and use it with EPD? So far I have tried everything from the installation guide, but whatever I do I get a bus error in ft2font. I can't get the wx backend to show up in the config stage (although wx is installed in EPD). I have tried building it myself, with the make.osx script, and with the EPD guide on the installation page, both with gcc 4.0 and gcc 4.2 but everything gives the same bus error. I'm actually not sure what compiler is used for EPD so perhaps that is the problem. Alternatively, is there a way to pick out the subplot grid features and use them with the epd matplotlib? If anyone is interested this is the error I get: Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x Crashed Thread: 0 Dispatch queue: com.apple.main-thread Thread 0 Crashed: Dispatch queue: com.apple.main-thread 0 ??? 00 0 + 0 1 libSystem.B.dylib 0x96f31108 _Unwind_GetLanguageSpecificData + 24 2 libstdc++.6.dylib 0x97166d86 __gxx_personality_v0 + 120 3 libgcc_s.1.dylib0x0040b476 _Unwind_RaiseException_Phase2 + 102 (unwind.inc:68) 4 libgcc_s.1.dylib0x0040b890 _Unwind_Resume + 112 (unwind.inc:238) 5 ft2font.so 0x04501a98 FT2Font::FT2Font(std::string) + 4776 (ExtensionOldType.hxx:88) 6 ft2font.so 0x04501fd3 ft2font_module::new_ft2font(Py::Tuple const) + 515 (ft2font.cpp:1969) 7 ft2font.so 0x045041b6 Py::ExtensionModuleft2font_module::invoke_method_varargs(void*, Py::Tuple const) + 102 (ExtensionModule.hxx:184) 8 ft2font.so 0x0450db87 method_varargs_call_handler + 343 9 org.python.python 0x000cbfd5 PyEval_EvalFrameEx + 19429 10 org.python.python 0x000ce14d PyEval_EvalCodeEx + 2109 11 org.python.python 0x000cc1bc PyEval_EvalFrameEx + 19916 12 org.python.python 0x000ce14d PyEval_EvalCodeEx + 2109 13 org.python.python 0x0004b136 function_call + 166 14 org.python.python 0x00019b05 PyObject_Call + 85 15 org.python.python 0x0002c0e6 instancemethod_call + 422 16 org.python.python 0x00019b05 PyObject_Call + 85 17 org.python.python 0x000c642e PyEval_CallObjectWithKeywords + 78 18 org.python.python 0x0002efb2 PyInstance_New + 114 19 org.python.python 0x00019b05 PyObject_Call + 85 20 org.python.python 0x000ca927 PyEval_EvalFrameEx + 13623 21 org.python.python 0x000cc956 PyEval_EvalFrameEx + 21862 22 org.python.python 0x000ce14d PyEval_EvalCodeEx + 2109 23 org.python.python 0x000ce2d7 PyEval_EvalCode + 87 24 org.python.python 0x000e5a3c PyImport_ExecCodeModuleEx + 188 25 org.python.python 0x000e66dc load_source_module + 540 26 org.python.python 0x000e72fd import_submodule + 301 27 org.python.python 0x000e7559 load_next + 201 28 org.python.python 0x000e7f53 PyImport_ImportModuleLevel + 419 29 org.python.python 0x000c09bf builtin___import__ + 159 30 org.python.python 0x00019b05 PyObject_Call + 85 31 org.python.python 0x000c642e PyEval_CallObjectWithKeywords + 78 32 org.python.python 0x000c99c0 PyEval_EvalFrameEx + 9680 33 org.python.python 0x000ce14d PyEval_EvalCodeEx + 2109 34 org.python.python 0x000ce2d7 PyEval_EvalCode + 87 35 org.python.python 0x000e5a3c PyImport_ExecCodeModuleEx + 188 36 org.python.python 0x000e66dc load_source_module + 540 37 org.python.python 0x000e72fd import_submodule + 301 38 org.python.python 0x000e78a7 ensure_fromlist + 439 39 org.python.python 0x000e833d PyImport_ImportModuleLevel + 1421 40 org.python.python 0x000c09bf builtin___import__ + 159 41 org.python.python 0x00019b05 PyObject_Call + 85 42 org.python.python 0x000c642e PyEval_CallObjectWithKeywords + 78 43 org.python.python 0x000c99c0 PyEval_EvalFrameEx + 9680 44 org.python.python 0x000ce14d PyEval_EvalCodeEx + 2109 45 org.python.python 0x000ce2d7 PyEval_EvalCode + 87 46 org.python.python 0x000e5a3c PyImport_ExecCodeModuleEx + 188 47 org.python.python 0x000e66dc load_source_module + 540 48 org.python.python 0x000e72fd import_submodule + 301 49