|
From: Bruce S. <Bru...@nc...> - 2007-08-12 17:48:48
|
I have no idea how/why your two different Python 2.5's behave differently. I do notice that the Sage download, which bundles together a large number of packages, includes numeric rather than numpy, but you seem to have numpy installed. And in any case the error message concerning Unicode. Sorry! I hope someone else has a clue. There is indeed a known bug in the autoconf machinery for creating the vpython convenience script. On the download page at vpython.org there is a suggestion to use a script like this (which you presumably figured out for yourself): cd /usr/local/lib/python2.5/site-packages/visual/examples /usr/local/bin/python2.5 /usr/local/lib/python2.5/idlelib/idle.pyw Bruce Sherwood Jaap Spies wrote: > I tried to install Visual with the python version coming with SAGE: > http://www.sagemath.org/ > > > "make install" fails to make an executable vpython: > 1) there is still a ${prefix} in the file vpython > 2) IDLE points to the wrong place > > But running vpython then fails: > >> Python 2.5.1 (r251:54863, Aug 12 2007, 13:20:03) >> [GCC 4.1.2 20070502 (Red Hat 4.1.2-12)] on linux2 >> Type "copyright", "credits" or "license()" for more information. >> >> **************************************************************** >> Personal firewall software may warn about the connection IDLE >> makes to its subprocess using this computer's internal loopback >> interface. This connection is not visible on any external >> interface and no data is sent to or received from the Internet. >> **************************************************************** >> >> IDLE 1.2.1 >>>>> ================================ RESTART ================================ >>>>> >> Traceback (most recent call last): >> File "/home/jaap/work/downloads/sage-2.7.3/local/lib/python2.5/site-packages/visual/examples/bounce.py", line 1, in <module> >> from visual import * >> File "/home/jaap/downloads/sage-2.7.3/local//lib/python2.5/site-packages/visual/__init__.py", line 27, in <module> >> import cvisual >> ImportError: /usr/lib/libboost_python.so.2: undefined symbol: PyUnicodeUCS4_FromEncodedObject >> >> > > No problems with libboost_python when I install visual-4.beta16 with my standard python2.5 > What is going on here? > > Jaap > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |