amigan_99
asked on
Difficulty installing Google Apps SDK on Fedora
I am having difficulty installing the google app engine SDK on my Fedora Core system. How can I get this working? Thanks.
[alexander@fedora1 google_appengine]$ ./dev_appserver.py Downloads/google_appengine
/home/alexander/Downloads/ google_app engine/goo gle/appeng ine/tools/ appcfg.py: 41: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
import sha
/home/alexander/Downloads/ google_app engine/goo gle/appeng ine/api/da tastore_fi le_stub.py :40: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
Traceback (most recent call last):
File "./dev_appserver.py", line 67, in <module>
run_file(__file__, globals())
File "./dev_appserver.py", line 63, in run_file
execfile(script_path, globals_)
File "/home/alexander/Downloads /google_ap pengine/go ogle/appen gine/tools /dev_appse rver_main. py", line 417, in <module>
sys.exit(main(sys.argv))
File "/home/alexander/Downloads /google_ap pengine/go ogle/appen gine/tools /dev_appse rver_main. py", line 360, in main
config, matcher = dev_appserver.LoadAppConfi g(root_pat h, {})
File "/home/alexander/Downloads /google_ap pengine/go ogle/appen gine/tools /dev_appse rver.py", line 3441, in LoadAppConfig
raise AppConfigNotFoundError
google.appengine.tools.dev _appserver .AppConfig NotFoundEr ror
[alexander@fedora1 google_appengine]$ ./dev_appserver.py Downloads/google_appengine
/home/alexander/Downloads/
import sha
/home/alexander/Downloads/
import md5
Traceback (most recent call last):
File "./dev_appserver.py", line 67, in <module>
run_file(__file__, globals())
File "./dev_appserver.py", line 63, in run_file
execfile(script_path, globals_)
File "/home/alexander/Downloads
sys.exit(main(sys.argv))
File "/home/alexander/Downloads
config, matcher = dev_appserver.LoadAppConfi
File "/home/alexander/Downloads
raise AppConfigNotFoundError
google.appengine.tools.dev
ASKER
I tried using yum update python and it said nothing marked for update. So I tried a yum install python and the message was clearer still "package python 2.6.2-2.fc12.i686 already installed".
But going to python.org I see there is in fact a newer version 2.6.4. http://www.python.org/download/.
I'll try to manually install from there.
But going to python.org I see there is in fact a newer version 2.6.4. http://www.python.org/download/.
I'll try to manually install from there.
Yes, try installing it manually.
Good luck.
Good luck.
ASKER
I was able to upgrade the python to 2.6.4..
[root@fedora1 google_appengine]# python
Python 2.6.4 (r264:75706, Dec 20 2009, 13:30:01)
[GCC 4.4.2 20091027 (Red Hat 4.4.2-7)] on linux2
Note the following output from dev_appserver.py
[root@fedora1 google_appengine]# ./dev_appserver.py
/home/alexander/Downloads/ google_app engine/goo gle/appeng ine/tools/ appcfg.py: 41: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
import sha
/home/alexander/Downloads/ google_app engine/goo gle/appeng ine/api/da tastore_fi le_stub.py :40: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
Invalid arguments
Runs a development application server for an application.
dev_appserver.py [options] <application root>
Application root must be the path to the application to run in this server.
Must contain a valid app.yaml or app.yml file.
[root@fedora1 google_appengine]# python
Python 2.6.4 (r264:75706, Dec 20 2009, 13:30:01)
[GCC 4.4.2 20091027 (Red Hat 4.4.2-7)] on linux2
Note the following output from dev_appserver.py
[root@fedora1 google_appengine]# ./dev_appserver.py
/home/alexander/Downloads/
import sha
/home/alexander/Downloads/
import md5
Invalid arguments
Runs a development application server for an application.
dev_appserver.py [options] <application root>
Application root must be the path to the application to run in this server.
Must contain a valid app.yaml or app.yml file.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I'll have to give that a try icenick. I posted to the google app engine board and there they said I would need to downgrade to Python. We'll see what the fix is soon!
ASKER
Well I tried the URL instructions but the result was more of the same ol..
[root@fedora1 google_appengine]# ./dev_appserver.py /home/alexander/Downloads/ google_app engine/gog ogo/gogogo test.py
/home/alexander/Downloads/ google_app engine/goo gle/appeng ine/tools/ appcfg.py: 41: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
import sha
/home/alexander/Downloads/ google_app engine/goo gle/appeng ine/api/da tastore_fi le_stub.py :40: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
Traceback (most recent call last):
File "./dev_appserver.py", line 67, in <module>
run_file(__file__, globals())
File "./dev_appserver.py", line 63, in run_file
execfile(script_path, globals_)
File "/home/alexander/Downloads /google_ap pengine/go ogle/appen gine/tools /dev_appse rver_main. py", line 417, in <module>
sys.exit(main(sys.argv))
File "/home/alexander/Downloads /google_ap pengine/go ogle/appen gine/tools /dev_appse rver_main. py", line 360, in main
config, matcher = dev_appserver.LoadAppConfi g(root_pat h, {})
File "/home/alexander/Downloads /google_ap pengine/go ogle/appen gine/tools /dev_appse rver.py", line 3441, in LoadAppConfig
raise AppConfigNotFoundError
google.appengine.tools.dev _appserver .AppConfig NotFoundEr ror
[root@fedora1 google_appengine]# ./dev_appserver.py /home/alexander/Downloads/
/home/alexander/Downloads/
import sha
/home/alexander/Downloads/
import md5
Traceback (most recent call last):
File "./dev_appserver.py", line 67, in <module>
run_file(__file__, globals())
File "./dev_appserver.py", line 63, in run_file
execfile(script_path, globals_)
File "/home/alexander/Downloads
sys.exit(main(sys.argv))
File "/home/alexander/Downloads
config, matcher = dev_appserver.LoadAppConfi
File "/home/alexander/Downloads
raise AppConfigNotFoundError
google.appengine.tools.dev
ASKER
Never could get this going but I've moved on to other priorities. Thanks.
From the messages above, the warning is related to Python. Python does not use sha and md5. Instead it uses hashlib.
You need to update your python. Try installing newer version of python and try again.
I hope I helped.