Hi,
I tried to install the newest version of drPython on my Redhat Enterprise Linux 5.5 (Tikanga) box.
$ uname -a
Linux myhost 2.6.18-194.11.3.el5 #1 SMP Mon Aug 23 15:51:38 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
$ python -V
Python 2.4.3
Note: Updating to a newer Python is not an option.
In order to meet the prereqs, I downloaded several rpm and -test ed them. These were found to be the newest available for Python 2.4 that would install with no errors.
SDL-1.2.11-1.fc6.i386.rpm
wxPython-common-gtk2-unicode-2.8.9.1-fc6_py2.4.i386.rpm
wxPython2.8-gtk2-unicode-2.8.9.1-fc6_py2.4.i386.rpm (depends on both above)
Note: the fedora core 6 file were the closest to RHEL 5.5 I could find. Maybe this is already wrong?
Downloading newest DrPython_3.11.3.zip
chmoding +x all py, pyw, and the lin file
$ ./drpython.py
./drpython.py: line 44: from: command not found
if i were you, i would use the idle editor and environment that comes with it right out of the box.
if you don't like using a mouse to code with (like i prefer), use vi, nvi, or vim.
python documentation is better than java and C# msdn stuff - at least i think so
i like to code in all the languages, and think that the IDE's with all the smart logic in the editors are for the less skilled. and, IMHO, those who rely on them, shouldn't be writing code.
i think you are trying to put a square peg into a round hole (mixing versions).
that's enough for me, please pass the album cover…
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thanks, I will try SVN then. And if I have issues, I will see whether I find even older versions packaged for 2.4 and my arch. I let you know how it goes.
@david: and yes I code myself in vi a lot and can always 'fall back'. Was just curious to try drPython..
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Maybe that was not pointed out clear enought. Python 2.4 ist not supported anymore with current DrPython, because of the newly introduced "with" statements, and 165 should work. Your error with import _core_ looks strange. I never saw that. Is your wx2.8 working with other wxPython Programs? Demo is working? When you call "python" and then try "import wx", can you import wx?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I tried to install the newest version of drPython on my Redhat Enterprise Linux 5.5 (Tikanga) box.
Note: Updating to a newer Python is not an option.
In order to meet the prereqs, I downloaded several rpm and -test ed them. These were found to be the newest available for Python 2.4 that would install with no errors.
SDL-1.2.11-1.fc6.i386.rpm
wxPython-common-gtk2-unicode-2.8.9.1-fc6_py2.4.i386.rpm
wxPython2.8-gtk2-unicode-2.8.9.1-fc6_py2.4.i386.rpm (depends on both above)
Note: the fedora core 6 file were the closest to RHEL 5.5 I could find. Maybe this is already wrong?
Downloading newest DrPython_3.11.3.zip
chmoding +x all py, pyw, and the lin file
-> HANGS, have to CTRL+C
Any ideas? Should I set up paths or env variables, or is there a basic incompatibilty with those fc6 packets?
Thanks
Antares
Sorry, in last time, with 'with' statement was added. Can you get the code from svn? Then it should work.
(the import: "from __future__ import with_statement" was added every time, the with statement was used)
@Antares: Unfortunately your Python version is too old. The with statement as importable feature from the __future__ was added in Python 2.5.
if i were you, i would use the idle editor and environment that comes with it right out of the box.
if you don't like using a mouse to code with (like i prefer), use vi, nvi, or vim.
python documentation is better than java and C# msdn stuff - at least i think so
i like to code in all the languages, and think that the IDE's with all the smart logic in the editors are for the less skilled. and, IMHO, those who rely on them, shouldn't be writing code.
i think you are trying to put a square peg into a round hole (mixing versions).
that's enough for me, please pass the album cover…
thanks, I will try SVN then. And if I have issues, I will see whether I find even older versions packaged for 2.4 and my arch. I let you know how it goes.
@david: and yes I code myself in vi a lot and can always 'fall back'. Was just curious to try drPython..
SVN: Is there a particular revision I should check out? The current one (538) produces of course the same error. (The files in the trunk that is)
Out of curiosity, I also tried ./tags/165/drphython/drpython.pyw:
Maybe that was not pointed out clear enought. Python 2.4 ist not supported anymore with current DrPython, because of the newly introduced "with" statements, and 165 should work. Your error with import _core_ looks strange. I never saw that. Is your wx2.8 working with other wxPython Programs? Demo is working? When you call "python" and then try "import wx", can you import wx?