[Csnd] import csnd6: no current thread (was: .. wrong architecture)
| Date | 2013-06-14 21:46 |
| From | zappfinger |
| Subject | [Csnd] import csnd6: no current thread (was: .. wrong architecture) |
I made a new thread, since the title of the previous did not cover the
current situation.
When I just use plain Ipython (with 64-bit Anaconda Python) I get this:
Python 2.7.5 |Anaconda 1.5.1 (x86_64)| (default, May 31 2013, 10:42:42)
Type "copyright", "credits" or "license" for more information.
IPython 0.13.2 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: import sys
In [2]: sys.path.append('/Library/Python/2.7/site-packages')
In [3]: import csnd6
Fatal Python error: PyThreadState_Get: no current thread
Abort trap: 6
Any clues ?
Richard
--
View this message in context: http://csound.1045644.n5.nabble.com/import-csnd6-no-current-thread-was-wrong-architecture-tp5724518.html
Sent from the Csound - General mailing list archive at Nabble.com.
|
| Date | 2013-06-14 22:31 |
| From | Victor Lazzarini |
| Subject | Re: [Csnd] import csnd6: no current thread (was: .. wrong architecture) |
Not sure. Maybe there is some incompatibility between the Anacond python and csnd6.
Here, I run ipython on top of straight Macpython and it works very well.
coltrane:debug victor$ ipython
Python 2.7.3 (v2.7.3:70274d53c1dd, Apr 9 2012, 20:52:43)
Type "copyright", "credits" or "license" for more information.
IPython 0.13.2 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: import csnd6
In [2]:
On 14 Jun 2013, at 21:46, zappfinger wrote:
> I made a new thread, since the title of the previous did not cover the
> current situation.
>
> When I just use plain Ipython (with 64-bit Anaconda Python) I get this:
>
> Python 2.7.5 |Anaconda 1.5.1 (x86_64)| (default, May 31 2013, 10:42:42)
> Type "copyright", "credits" or "license" for more information.
>
> IPython 0.13.2 -- An enhanced Interactive Python.
> ? -> Introduction and overview of IPython's features.
> %quickref -> Quick reference.
> help -> Python's own help system.
> object? -> Details about 'object', use 'object??' for extra details.
>
> In [1]: import sys
>
> In [2]: sys.path.append('/Library/Python/2.7/site-packages')
>
> In [3]: import csnd6
> Fatal Python error: PyThreadState_Get: no current thread
> Abort trap: 6
>
> Any clues ?
>
> Richard
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/import-csnd6-no-current-thread-was-wrong-architecture-tp5724518.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug tracker
> https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie
|
| Date | 2013-06-14 22:43 |
| From | Victor Lazzarini |
| Subject | Re: [Csnd] import csnd6: no current thread (was: .. wrong architecture) |
Actually, this link seems to provide a hint: I think that the Anaconda python is probably based on a different Python binary to which we have linked the csnd6 module ("MacPython"). My suggestion is this: 1) remove your anaconda installation 2) get Python 2.7 for OSX from python.org 3) install ipython for this python https://pypi.python.org/pypi/ipython (from sources) On 14 Jun 2013, at 22:31, Victor Lazzarini wrote:
Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie |
| Date | 2013-06-14 22:45 |
| From | Victor Lazzarini |
| Subject | Re: [Csnd] import csnd6: no current thread (was: .. wrong architecture) |
| Btw, If I remember well, I installed ipython directly with easy_install $ easy_install ipython On 14 Jun 2013, at 22:43, Victor Lazzarini wrote:
Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie |
| Date | 2013-06-14 22:46 |
| From | Victor Lazzarini |
| Subject | Re: [Csnd] import csnd6: no current thread (was: .. wrong architecture) |
| or even $ pip install ipython On 14 Jun 2013, at 22:45, Victor Lazzarini wrote:
Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie |