Re: [SE|PY-macdev] newbie -- First Error from CVS latest
Brought to you by:
sephiroth_tmm
|
From: Isaac R. <isa...@mi...> - 2004-09-06 15:43:41
|
Any thoughts on this? Do others on this subject realize they are not using Python 2.3.4, but built in 2.3? I wonder if just moving Python up to "/usr/bin/" would take care of this issues. Isaac On Sep 4, 2004, at 11:43 PM, Ashley McCoy wrote: > ... same thing happening here, > > how to point new install to old wxPython Module > > using $PYTHONPATH does not help > > Ashley > > Isaac Rivera wrote: > >> OK. >> >> I upgraded python to 2.3.4 and installed wxPython. >> >> But after checking the version of python discovered that the shell >> accessed the old version, 2.3 that comes with the system and not the >> upgrade. The old version was installed in /usr/bin/ while the new >> 2.3.4 in /usr/local/bin/. >> >> Removed old, added the path to the bash PATH. nice, I can access >> python upgrade. BUT it does not access wxPython: "ImportError: No >> module named wx". >> >> Isaac >> >> On Sep 4, 2004, at 7:22 PM, Ashley McCoy wrote: >> >>> Are you trying to install wxPython or write a script with it? >>> >>> I've been reading the Python tutorial which is very helpful >>> http://www.python.org/doc/2.3.4/ >>> >>> Ashley >>> >>> Isaac Rivera wrote: >>> >>>> same problem: >>>> >>>> isaacriv$ export >>>> PATH=/bin:/sbin:/usr/bin:/usr/sbin:/Developer/Tools:/usr/local:/ >>>> usr/ local/bin/ >>>> isaacriv$ python >>>> Python 2.3.4 (#1, Sep 4 2004, 17:00:17) >>>> [GCC 3.3 20030304 (Apple Computer, Inc. build 1666)] on darwin >>>> Type "help", "copyright", "credits" or "license" for more >>>> information. >>>> >>> import wx >>>> Traceback (most recent call last): >>>> File "<stdin>", line 1, in ? >>>> ImportError: No module named wx >>>> >>>> >>>> On Sep 4, 2004, at 5:24 PM, Alessandro Crugnola *sephiroth* wrote: >>>> >>>>> For using wxPython, use this syntax: >>>>> >>>>> import wx >>>>> >>>>> Then you have all wxpython modules as: >>>>> >>>>> wx.Frame >>>>> wx.Dialog >>>>> ... >>>>> >>>>> >>>>> >>>>> Alessandro Crugnola - sephiroth >>>>> --------------------------------------------- >>>>> Macromedia Flash Team Volunteer >>>>> http://www.macromedia.com/go/team >>>>> Flash && PHP developer >>>>> ale...@se... >>>>> >>>>> *relax with SEPY http://www.sf.net/projects/sepy >>>>> --------------------------------------------- >>>>> >>>>> >>>>> ::-----Original Message----- >>>>> ::From: sep...@li... >>>>> ::[mailto:sep...@li...] On Behalf Of >>>>> ::Isaac Rivera >>>>> ::Sent: sabato 4 settembre 2004 22.17 >>>>> ::To: sep...@li... >>>>> ::Subject: Re: [SE|PY-macdev] newbie -- First Error from CVS latest >>>>> :: >>>>> ::Ok--- >>>>> :: >>>>> ::I added ":/usr/local/bin" to my path and deleted Python on >>>>> "/usr/bin" >>>>> :: >>>>> ::Now Python 2.3.4 launches on the terminal correctly when I >>>>> ::type python during the current shell session. >>>>> :: >>>>> ::However, I does not find wxPython from this location. I just the >>>>> the >>>>> ::classic: >>>>> :: >>>>> :: >>> import wxPython >>>>> ::Traceback (most recent call last): >>>>> :: File "<stdin>", line 1, in ? >>>>> ::ImportError: No module named wxPython >>>>> :: >>>>> ::2 questions: >>>>> :: >>>>> ::How do I alter PATH to this permanently and not just the >>>>> ::current session. >>>>> ::"export >>>>> ::PATH=/bin:/sbin:/usr/bin:/usr/sbin:/Developer/Tools:/usr/local:/ >>>>> usr/ >>>>> ::local/bin/" >>>>> :: >>>>> ::and how do I make python see wxPython? >>>>> :: >>>>> :: >>>>> ::On Sep 2, 2004, at 3:53 PM, Ashley McCoy wrote: >>>>> :: >>>>> ::> Remove or rename old python binary, make sure /usr/local/bin >>>>> is is >>>>> ::> your PATH >>>>> ::> >>>>> ::> % echo $PATH >>>>> ::> % export PATH=$PATH:/usr/local/bin >>>>> ::> % echo $PATH >>>>> ::> >>>>> ::> Did you get $suite to compile? >>>>> ::> >>>>> ::> Ashley >>>>> ::> >>>>> ::> old pythoIsaac Rivera wrote: >>>>> ::> >>>>> ::>> Thats exactly what happens. >>>>> ::>> >>>>> ::>> But when I type "/usr/local/bin/python" then this happens: >>>>> ::>> >>>>> ::>> Python 2.3.4 (#1, Sep 2 2004, 09:02:03) [GCC 3.3 20030304 >>>>> (Apple >>>>> ::>> Computer, Inc. build 1666)] on darwin Type "help", >>>>> "copyright", >>>>> ::>> "credits" or "license" for more information. >>>>> ::>> >>> >>>>> ::>> >>>>> ::>> Notice two the headers: >>>>> ::>> >>>>> ::>> Python 2.3 (#1, Sep 13 2003, 19:51:59) >>>>> ::>> >>>>> ::>> vs. >>>>> ::>> >>>>> ::>> Python 2.3.4 (#1, Sep 2 2004, 09:02:03) >>>>> ::>> >>>>> ::>> Diferent versions and dates. The second one, the one I >>>>> ::just updated >>>>> ::>> and I invoke by typing "/usr/local/bin/python" is the current >>>>> ::>> version. The other one accessed by just typing "python" is >>>>> ::older, the >>>>> ::>> Panther default and the one we are all using unless we are >>>>> calling >>>>> ::>> "/usr/local/bin/python". >>>>> ::>> >>>>> ::>> Isaac >>>>> ::>> >>>>> ::>> On Sep 2, 2004, at 2:08 PM, valley wrote: >>>>> ::>> >>>>> ::>>> So what happens when you type 'python' or 'python2.3' in >>>>> ::your shell ? >>>>> ::>>> Normally something like this should appear: >>>>> ::>>> $ python >>>>> ::>>> Python 2.3 (#1, Sep 13 2003, 19:51:59) [GCC 3.3 20030304 >>>>> (Apple >>>>> ::>>> Computer, build 1495)] on darwin Type "help", >>>>> ::"copyright", "credits" >>>>> ::>>> or "license" for more information. >>>>> ::>>> >>>>> ::>>>>>> >>>>> ::>>> >>>>> ::>>> Perhaps it's a path problem. On the 4Suite site it is >>>>> ::said that you >>>>> ::>>> don't have to do the build for installing it, just type >>>>> ::>>> python setup.py install >>>>> ::>>> >>>>> ::>>> >>>>> ::>>> valley >>>>> ::>>> >>>>> ::>>> >>>>> ::>>> >>>>> ::>>> ----- Original Message ----- >>>>> ::>>> From: "Isaac Rivera" <isa...@mi...> >>>>> ::>>> To: <sep...@li...> >>>>> ::>>> Sent: Thursday, September 02, 2004 3:17 PM >>>>> ::>>> Subject: Re: [SE|PY-macdev] newbie -- First Error from CVS >>>>> latest >>>>> ::>>> >>>>> ::>>> >>>>> ::>>>> On trying to install 4Suite in Panther I get >>>>> ::>>>> >>>>> ::>>>> "command 'gcc' failed with exit status 1" >>>>> ::>>>> >>>>> ::>>>> I have upgraded XCode tools and the gcc is the new version >>>>> 3.3. >>>>> ::>>>> >>>>> ::>>>> Isaac >>>>> ::>>>> >>>>> ::>>>> On Sep 2, 2004, at 7:17 AM, Valentin Treu wrote: >>>>> ::>>>> >>>>> ::>>>>> I never had this error. But 4Suite should build and install >>>>> ::>>>>> correctly, so try a little bit around ;-) This error >>>>> ::perhaps also >>>>> ::>>>>> could be a SEPY error due to changes that Alessandro >>>>> ::made - I can >>>>> ::>>>>> try this out this evening with the latest cvs version. >>>>> ::>>>>> >>>>> ::>>>>> valley >>>>> ::>>>>> >>>>> ::>>>>> >>>>> ::>>>>> >>>>> ::>>>>> >>>>> ::>>>>> On Thu, 2 Sep 2004, Ashley McCoy wrote: >>>>> ::>>>>> >>>>> ::>>>>>> Thanks Valley, >>>>> ::>>>>>> >>>>> ::>>>>>> got the latest wxpython, sepy runs splash screen then >>>>> tooltips >>>>> ::>>>>>> appear but splash screen stays, the document window >>>>> ::which appears >>>>> ::>>>>>> under the tool tips resizes with incorrect screen redraw >>>>> ::>>>>>> >>>>> ::>>>>>> Throws an errror at command line --> below >>>>> ::>>>>>> >>>>> ::>>>>>> I had thought to check through the list of dependancies >>>>> you >>>>> ::>>>>>> mentioned on the Wiki and have found an error building >>>>> 4suite >>>>> ::>>>>>> that does not seem to be resolved as of yet, it fails on >>>>> ::>>>>>> build_ext this appears to be a problem with python2.3 >>>>> ::>>>>>> >>>>> ::>>>>>> So I wonder if I I would have to build python from >>>>> scratch ?? >>>>> ::>>>>>> >>>>> ::>>>>>> Ashley >>>>> ::>>>>>> >>>>> ::>>>>>> >>>>> ::>>>>>> >>>>> ::>>>>>> >>>>> ::>>>>>> g4-1ghz:~/SciTE amccoy$ pythonw main.pyw [Debug] 20:32:46: >>>>> ::>>>>>> Unrecognized accel key 'CAPSLOCK', accel string ignored. >>>>> ::>>>>>> [Debug] 20:32:46: Unrecognized accel key 'CAPSLOCK', >>>>> ::accel string >>>>> ::>>>>>> ignored. >>>>> ::>>>>>> Traceback (most recent call last): >>>>> ::>>>>>> File "/Users/amccoy/SciTE/SEPY.py", line 140, in Notify >>>>> ::>>>>>> frame = main_window(parent=None, id=wx.NewId(), >>>>> ::>>>>>> title=About_title, dialog = self.dialog) >>>>> ::>>>>>> File "/Users/amccoy/SciTE/SEPY.py", line 321, in >>>>> __init__ >>>>> ::>>>>>> self.loadDB() >>>>> ::>>>>>> File "/Users/amccoy/SciTE/SEPY.py", line 371, in loadDB >>>>> ::>>>>>> self.DB["values"] = DB.values() >>>>> ::>>>>>> AttributeError: _DBWithCursor instance has no >>>>> ::attribute 'values' >>>>> ::>>>>>> >>>>> ::>>>>>> Valentin Treu wrote: >>>>> ::>>>>>> >>>>> ::>>>>>>> i also had this error. be sure that you've got the newest >>>>> ::>>>>>>> wxpython from here: >>>>> ::>>>>>>> http://starship.python.net/crew/robind/wxPython/daily/ >>>>> ::>>>>>>> >>>>> ::>>>>>>> valley >>>>> ::>>>>>>> >>>>> ::>>>>>>> >>>>> ::>>>>>>> >>>>> ::>>>>>>> >>>>> ::>>>>>>> >>>>> ::>>>>>>> On Thu, 2 Sep 2004, Ashley McCoy wrote: >>>>> ::>>>>>>> >>>>> ::>>>>>>> >>>>> ::>>>>>>> >>>>> ::>>>>>>>> Is there a curent list of changes I need to make? >>>>> ::>>>>>>>> >>>>> ::>>>>>>>> Ashley >>>>> ::>>>>>>>> >>>>> ::>>>>>>>> First Error :: >>>>> ::>>>>>>>> >>>>> ::>>>>>>>> Traceback (most recent call last): >>>>> ::>>>>>>>> File "/Users/amccoy/SciTE/SEPY.py", line 140, in Notify >>>>> ::>>>>>>>> frame = main_window(parent=None, id=wx.NewId(), >>>>> ::>>>>>>>> title=About_title, dialog = self.dialog) File >>>>> ::>>>>>>>> "/Users/amccoy/SciTE/SEPY.py", line 183, in __init__ >>>>> ::>>>>>>>> self.project_history = wx.FileHistory(5, >>>>> ::wx.ID_FILE11) File >>>>> ::>>>>>>>> >>>>> ::"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ >>>>> ::>>>>>>>> python2.3/site-packages/wxPython/misc2.py", >>>>> ::>>>>>>>> line 1072, in __init__ >>>>> ::>>>>>>>> self.this = >>>>> misc2c.new_wxFileHistory(*_args,**_kwargs) >>>>> ::>>>>>>>> TypeError: new_wxFileHistory() takes at most 1 argument >>>>> (2 >>>>> ::>>>>>>>> given) >>>>> ::>>>>>>>> >>>>> ::>>>>>>>> >>>>> ::>>>>>>>> ------------------------------------------------------- >>>>> ::>>>>>>>> This SF.Net email is sponsored by BEA Weblogic Workshop >>>>> FREE >>>>> ::>>>>>>>> Java Enterprise J2EE developer tools! >>>>> ::>>>>>>>> Get your free copy of BEA WebLogic Workshop 8.1 today. >>>>> ::>>>>>>>> http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click >>>>> ::>>>>>>>> _______________________________________________ >>>>> ::>>>>>>>> sepy-macdev mailing list >>>>> ::>>>>>>>> sep...@li... >>>>> ::>>>>>>>> https://lists.sourceforge.net/lists/listinfo/sepy-macdev >>>>> ::>>>>>>>> >>>>> ::>>>>>>>> >>>>> ::>>>>>>>> >>>>> ::>>>>>>>> >>>>> ::>>>>>>> >>>>> ::>>>>>>> >>>>> ::>>>>>>> >>>>> ::>>>>>>> ------------------------------------------------------- >>>>> ::>>>>>>> This SF.Net email is sponsored by BEA Weblogic Workshop >>>>> FREE >>>>> ::>>>>>>> Java Enterprise J2EE developer tools! >>>>> ::>>>>>>> Get your free copy of BEA WebLogic Workshop 8.1 today. >>>>> ::>>>>>>> http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click >>>>> ::>>>>>>> _______________________________________________ >>>>> ::>>>>>>> sepy-macdev mailing list >>>>> ::>>>>>>> sep...@li... >>>>> ::>>>>>>> https://lists.sourceforge.net/lists/listinfo/sepy-macdev >>>>> ::>>>>>>> >>>>> ::>>>>>>> >>>>> ::>>>>>>> >>>>> ::>>>>>> >>>>> ::>>>>>> >>>>> ::>>>>>> >>>>> ::>>>>>> ------------------------------------------------------- >>>>> ::>>>>>> This SF.Net email is sponsored by BEA Weblogic >>>>> ::Workshop FREE Java >>>>> ::>>>>>> Enterprise J2EE developer tools! >>>>> ::>>>>>> Get your free copy of BEA WebLogic Workshop 8.1 today. >>>>> ::>>>>>> http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click >>>>> ::>>>>>> _______________________________________________ >>>>> ::>>>>>> sepy-macdev mailing list >>>>> ::>>>>>> sep...@li... >>>>> ::>>>>>> https://lists.sourceforge.net/lists/listinfo/sepy-macdev >>>>> ::>>>>>> >>>>> ::>>>>>> >>>>> ::>>>>> >>>>> ::>>>>> >>>>> ::>>>>> >>>>> ::>>>>> ------------------------------------------------------- >>>>> ::>>>>> This SF.Net email is sponsored by BEA Weblogic Workshop >>>>> ::FREE Java >>>>> ::>>>>> Enterprise J2EE developer tools! >>>>> ::>>>>> Get your free copy of BEA WebLogic Workshop 8.1 today. >>>>> ::>>>>> http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click >>>>> ::>>>>> _______________________________________________ >>>>> ::>>>>> sepy-macdev mailing list >>>>> ::>>>>> sep...@li... >>>>> ::>>>>> https://lists.sourceforge.net/lists/listinfo/sepy-macdev >>>>> ::>>>>> >>>>> ::>>>> >>>>> ::>>>> >>>>> ::>>>> >>>>> ::>>>> ------------------------------------------------------- >>>>> ::>>>> This SF.Net email is sponsored by BEA Weblogic Workshop >>>>> ::FREE Java >>>>> ::>>>> Enterprise J2EE developer tools! >>>>> ::>>>> Get your free copy of BEA WebLogic Workshop 8.1 today. >>>>> ::>>>> http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click >>>>> ::>>>> _______________________________________________ >>>>> ::>>>> sepy-macdev mailing list >>>>> ::>>>> sep...@li... >>>>> ::>>>> https://lists.sourceforge.net/lists/listinfo/sepy-macdev >>>>> ::>>>> >>>>> ::>>> >>>>> ::>>> >>>>> ::>>> >>>>> ::>>> ------------------------------------------------------- >>>>> ::>>> This SF.Net email is sponsored by BEA Weblogic Workshop FREE >>>>> Java >>>>> ::>>> Enterprise J2EE developer tools! >>>>> ::>>> Get your free copy of BEA WebLogic Workshop 8.1 today. >>>>> ::>>> http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click >>>>> ::>>> _______________________________________________ >>>>> ::>>> sepy-macdev mailing list >>>>> ::>>> sep...@li... >>>>> ::>>> https://lists.sourceforge.net/lists/listinfo/sepy-macdev >>>>> ::>>> >>>>> ::>> >>>>> ::>> >>>>> ::>> >>>>> ::>> ------------------------------------------------------- >>>>> ::>> This SF.Net email is sponsored by BEA Weblogic Workshop FREE >>>>> Java >>>>> ::>> Enterprise J2EE developer tools! >>>>> ::>> Get your free copy of BEA WebLogic Workshop 8.1 today. >>>>> ::>> http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click >>>>> ::>> _______________________________________________ >>>>> ::>> sepy-macdev mailing list >>>>> ::>> sep...@li... >>>>> ::>> https://lists.sourceforge.net/lists/listinfo/sepy-macdev >>>>> ::>> >>>>> ::> >>>>> ::> >>>>> ::> >>>>> ::> ------------------------------------------------------- >>>>> ::> This SF.Net email is sponsored by BEA Weblogic Workshop FREE >>>>> Java >>>>> ::> Enterprise J2EE developer tools! >>>>> ::> Get your free copy of BEA WebLogic Workshop 8.1 today. >>>>> ::> http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click >>>>> ::> _______________________________________________ >>>>> ::> sepy-macdev mailing list >>>>> ::> sep...@li... >>>>> ::> https://lists.sourceforge.net/lists/listinfo/sepy-macdev >>>>> ::> >>>>> :: >>>>> :: >>>>> :: >>>>> ::------------------------------------------------------- >>>>> ::This SF.Net email is sponsored by BEA Weblogic Workshop FREE >>>>> ::Java Enterprise J2EE developer tools! >>>>> ::Get your free copy of BEA WebLogic Workshop 8.1 today. >>>>> ::http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click >>>>> ::_______________________________________________ >>>>> ::sepy-macdev mailing list >>>>> ::sep...@li... >>>>> ::https://lists.sourceforge.net/lists/listinfo/sepy-macdev >>>>> >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> This SF.Net email is sponsored by BEA Weblogic Workshop >>>>> FREE Java Enterprise J2EE developer tools! >>>>> Get your free copy of BEA WebLogic Workshop 8.1 today. >>>>> http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click >>>>> _______________________________________________ >>>>> sepy-macdev mailing list >>>>> sep...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/sepy-macdev >>>>> >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> This SF.Net email is sponsored by BEA Weblogic Workshop >>>> FREE Java Enterprise J2EE developer tools! >>>> Get your free copy of BEA WebLogic Workshop 8.1 today. >>>> http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click >>>> _______________________________________________ >>>> sepy-macdev mailing list >>>> sep...@li... >>>> https://lists.sourceforge.net/lists/listinfo/sepy-macdev >>>> >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by BEA Weblogic Workshop >>> FREE Java Enterprise J2EE developer tools! >>> Get your free copy of BEA WebLogic Workshop 8.1 today. >>> http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click >>> _______________________________________________ >>> sepy-macdev mailing list >>> sep...@li... >>> https://lists.sourceforge.net/lists/listinfo/sepy-macdev >>> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by BEA Weblogic Workshop >> FREE Java Enterprise J2EE developer tools! >> Get your free copy of BEA WebLogic Workshop 8.1 today. >> http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click >> _______________________________________________ >> sepy-macdev mailing list >> sep...@li... >> https://lists.sourceforge.net/lists/listinfo/sepy-macdev >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > sepy-macdev mailing list > sep...@li... > https://lists.sourceforge.net/lists/listinfo/sepy-macdev > |