I just did an installation on a GoFlex Home, but I seem to be unable to run some python scripts properly. More specifically planet or venus http://www.planetplanet.org/. I know there is issues regarding Python2 and Python3 compatibility but i have tried both with different errors.
under Python2 I get the following :
$this->bbcode_second_pass_code('', '
[titoudude@goflex planet-2.0]$ python2 planet.py
Traceback (most recent call last):
File "planet.py", line 23, in <module>
import planet
File "/media/data/planet-2.0/planet/__init__.py", line 35, in <module>
import dbhash
File "/usr/lib/python2.7/dbhash.py", line 7, in <module>
import bsddb
File "/usr/lib/python2.7/bsddb/__init__.py", line 67, in <module>
import _bsddb
ImportError: No module named _bsddb
')
under python3 I get this :
$this->bbcode_second_pass_code('', '
[titoudude@goflex planet-2.0]$ python ./planet.py
File "./planet.py", line 58
print "Usage: planet [options] [CONFIGFILE]"
^
SyntaxError: invalid syntax
')
I get the same errors when using root. I'm completely lost on what could be causing these errors as the libraries are present and the syntax is also correct. Any help would be greatly appreciated.
Thanks
-----------------------------------
Edit: After googling for awhile, i found that that the error that I have is regarding the bsddb module not being loaded. I installed the python2-bsddb-5.1.2.600-1 package but I still get the same message. Is compiling python my only option?