I can confirm this issue. But it seems related to any dll (.so in this 
case). 
Auto-completion works, but spyder crashes on the first open bracket '('. 
Strangely enough, it doesn't crash when one or more blank characters are 
written before '(', e.g. myModule.myMethod ( ... ).

Has anyone looked into this since the last post ?

Thanks,
Thomas



On Monday, September 17, 2012 4:47:58 PM UTC+2, Daniel wrote:
>
> Hi Carlos,
>
> Thanks for your advise! 
> Actually it worked only partly: I was able to import opencv via the 
> console after changing it to my systems's python (v. 2.7.2) and it works 
> fine to run scripts out of the editor. But if i use the console, to call a 
> function, Spyder crashes as soon as I type a open bracket '(' . For 
> example, the autocompletion works fine till 'cv.LoadImage' but as soon as I 
> type '(' it crashes.
>
> I don't know if it's my fault how I installed OpenCV, but I couldn't get 
> it working all day long.  
>
> But don't worry to much, since I have to start working on my project 
> really soon, I will try another IDE in the meantime.
>
> But thank you very much for your help,
> Daniel
>
> Am Montag, 17. September 2012 07:34:29 UTC+8 schrieb Carlos Córdoba:
>>
>> Hi Daniel, 
>>
>> Probably the best way to do what you want is to change your python 
>> interpreter instead of PYTHONPATH. To do it, you have to go to 
>>
>> Tools > Preferences > Console > Advanced Settings > Python executable 
>>
>> and use the button to the right to select the interpreter where you 
>> installed OpenCV (which seems to be your system's python). 
>>
>> The reason is OpenCV is a shared library which surely is linked against 
>> the python version where it is installed. 
>>
>> Cheers, 
>> Carlos 
>>
>> El 16/09/12 13:28, Daniel escribió: 
>> > Hi, 
>> > 
>> > first of all thanks for the new Mac OS X installer it works totally 
>> > fine for me on 10.8 Mountain Lion. 
>> > 
>> > But i just can't manage to import the openCV module. I added the 
>> > directory of the cv2.so file to the PYTHONPATH, but each time when i 
>> > try " import cv2 " spyder crashes. 
>> > If I use the system's built-in python2.7 distribution it works. 
>> > 
>> > Do you have any advise how to handle this problem? 
>> > 
>> > Thanks in advance, 
>> > Daniel 
>> > -- 
>> > You received this message because you are subscribed to the Google 
>> > Groups "spyder" group. 
>> > To view this discussion on the web visit 
>> > https://groups.google.com/d/msg/spyderlib/-/xvjBECbqiPgJ. 
>> > To post to this group, send email to [email protected]. 
>> > To unsubscribe from this group, send email to 
>> > [email protected]. 
>> > For more options, visit this group at 
>> > http://groups.google.com/group/spyderlib?hl=en. 
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to