Re: PyNIO on OSX 10.6

From: jsummers <jsummers_at_nyahnyahspammersnyahnyah>
Date: Thu Mar 25 2010 - 15:33:44 MDT

On Mar 25, 2010, at 4:21 PM, David Brown wrote:

> PyNIO is imported as follows:
>
> import Nio
>
> The documentation mentions this but perhaps not prominently enough.
> -dave
>

Thanks Dave. But still no joy.

I changed the test file to:

print "Importing Nio"
try:
        import Nio
        print "\tsucces!"
except:
        print "\tfailed!"
        raise

and still get:

bash-3.2# python ./test_pynio.py
Importing Nio
        failed!
Traceback (most recent call last):
  File "./test_pynio.py", line 3, in <module>
    import Nio
  File "/Library/Python/2.6/site-packages/PyNIO/Nio.py", line 61, in <module>
    from nio import *
ImportError: dlopen(/Library/Python/2.6/site-packages/PyNIO/nio.so, 2): Symbol not found: _nclTypefloatClass
  Referenced from: /Library/Python/2.6/site-packages/PyNIO/nio.so
  Expected in: flat namespace
 in /Library/Python/2.6/site-packages/PyNIO/nio.so

I have:

NCARG_ROOT=/usr/local

exported.

Not sure.

Ideas??

Thanks again

>
> On Mar 25, 2010, at 3:04 PM, jsummers wrote:
>
>> Hello All,
>>
>> I am try to get PyNIO working for one of our researchers here.
>>
>> We are running on an Intel Mac in 64bit mode. I have installed:
>>
>> ncl_ncarg-5.1.1.MacOS_i386_9.7.0.tar
>> PyNIO-1.3.0b1
>>
>> The ncl test: ng4ex gsun01n works fine.
>>
>> The install of PyNIO seems to work, but with a few warnings.
>>
>> Then when testing with:
>> try:
>> print "Importing PyNIO"
>> import PyNIO
>> print "\tsucces!"
>> except:
>> print "\tfailed!"
>> raise
>>
>> print
>> print "Importing PyNIO.Nio"
>> try:
>> import PyNIO.Nio
>> print "\tsucces!"
>> except:
>> print "\tfailed!"
>> raise
>>
>> We do get a fail with the following:
>> Importing PyNIO
>> succes!
>>
>> Importing PyNIO.Nio
>> failed!
>> Traceback (most recent call last):
>> File "/idea/test_pynio.py", line 12, in <module>
>> import PyNIO.Nio
>> File "/Library/Python/2.6/site-packages/PyNIO/Nio.py", line 61, in <module>
>> from nio import *
>> ImportError: dlopen(/Library/Python/2.6/site-packages/PyNIO/nio.so, 2): Symbol not found: _nclTypefloatClass
>> Referenced from: /Library/Python/2.6/site-packages/PyNIO/nio.so
>> Expected in: flat namespace
>> in /Library/Python/2.6/site-packages/PyNIO/nio.so
>>
>> I am not sure the best way to proceed.
>>
>> Ideas / Suggestions??
>>
>> TIA
>>
>> ---
>> Jim Summers
>> School of Computer Science-University of Oklahoma
>>
>>
>>
>>
>> _______________________________________________
>> pyngl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/pyngl-talk

---
Jim Summers
School of Computer Science-University of Oklahoma
_______________________________________________
pyngl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
Received on Thu Mar 25 15:33:49 2010

This archive was generated by hypermail 2.1.8 : Mon Mar 29 2010 - 12:19:51 MDT