Re: PyNGL install

From: Raymond P. <rtp1_at_nyahnyahspammersnyahnyah>
Date: Fri Sep 16 2011 - 08:52:37 MDT

You use the command line command otool on the object you want
information on. Type "man otool" to get the options. You
can run it on any library file (*.so) Ngl uses, to see what version
you have.

On Sep 16, 2011, at 8:51 AM, Hiroyuki Kurokawa wrote:

> Thank you for information.
> I have used 32 bit version of PyNGL.
> In this case, I would be using 64 bit version of python?
> Where can I check the version?
>
> Sorry for stupid question..
>
> Thanks,
> Hiro
>
> On 2011/09/16, at 13:52, Raymond P. wrote:
>
>> I believe this means that you have installed a 32 bit PyNGL, but
>> are using a 64-bit version of Python. It is very confusing, since even
>> when you are running a 32 bit version of the operating system, you
>> can install and run 64 bit applications. You get the same error message
>> if you are using a 32 bit Python but have erroneously installed a 64 bit
>> PyNGL. You can find out what kind of PyNGL you installed by running
>> otool on fplib.so .
>>
>> --Ray Pierrehumbert
>>
>>
>> Life will be much better when things settle down enough that everything
>> is 64-bit.
>> On Sep 16, 2011, at 6:36 AM, Hiroyuki Kurokawa wrote:
>>
>>> Hello,
>>>
>>> Now I'm trying to install PyNGL from binary file.
>>> My PC is Mac OS X 10.6.8, 32bit system.
>>> When I check whether it is installed successfully by type "import Ngl" on Python,
>>> There are error messages shown below.
>>>
>>>>>> import Ngl
>>> Traceback (most recent call last):
>>> File "<stdin>", line 1, in <module>
>>> File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyNGL/Ngl.py", line 39, in <module>
>>> import fplib
>>> ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyNGL/fplib.so, 2): no suitable image found. Did find:
>>> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyNGL/fplib.so: mach-o, but wrong architecture
>>>
>>> I could not understand this error.
>>> Is this error to install PyNGL?
>>> Or should I check python or some other settings?
>>>
>>> Thanks,
>>>
>>> Hiroyuki Kurokawa
>>>
>>> ----------------------------------------------------------------------------------------
>>> Hiroyuki Kurokawa
>>> Tokyo Institute of Technology & Max-Planck Institute for Astronomy
>>> PhD student
>>> email:kurokawa@geo.titech.ac.jp
>>> ----------------------------------------------------------------------------------------
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> pyngl-talk mailing list
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
>>
>

_______________________________________________
pyngl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
Received on Fri Sep 16 08:52:35 2011

This archive was generated by hypermail 2.1.8 : Mon Oct 10 2011 - 14:31:01 MDT