Closed GoogleCodeExporter closed 9 years ago
1) You should get v0.4
2) You need the python-setuptools package (yum install python-setuptools)
3) You can run easy_install anywhere
Original comment by justquick
on 26 Oct 2009 at 5:53
After install the tools, the easy_install generated the following error:
easy_install -U pygooglevoice
Searching for pygooglevoice
Reading http://cheeseshop.python.org/pypi/pygooglevoice/
Reading http://code.google.com/p/pygooglevoice
Reading http://cheeseshop.python.org/pypi/pygooglevoice/0.4
Best match: pygooglevoice 0.4
Downloading http://pygooglevoice.googlecode.com/files/pygooglevoice-0.4.tar.gz
Processing pygooglevoice-0.4.tar.gz
Running pygooglevoice-0.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-
pGSXw6/pygooglevoice-0.4/egg-dist-tmp-koQ8x1
zip_safe flag not set; analyzing archive contents...
Adding pygooglevoice 0.4 to easy-install.pth file
Installing gvoice script to /usr/bin
Installed /usr/lib/python2.4/site-packages/pygooglevoice-0.4-py2.4.egg
Processing dependencies for pygooglevoice
gvoice
Traceback (most recent call last):
File "/usr/bin/gvoice", line 5, in ?
pkg_resources.run_script('pygooglevoice==0.4', 'gvoice')
File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 407, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1091, in run_script
exec script_code in namespace, namespace
File "/usr/bin/gvoice", line 5, in ?
pkg_resources.run_script('pygooglevoice==0.4', 'gvoice')
File "build/bdist.linux-i686/egg/googlevoice/__init__.py", line 23, in ?
File "build/bdist.linux-i686/egg/googlevoice/voice.py", line 10, in ?
File "build/bdist.linux-i686/egg/googlevoice/util.py", line 20, in ?
ImportError: No module named simplejson
The /usr/bin/gvoice contained the following:
#!/usr/bin/python
# EASY-INSTALL-SCRIPT: 'pygooglevoice==0.4','gvoice'
__requires__ = 'pygooglevoice==0.4'
import pkg_resources
pkg_resources.run_script('pygooglevoice==0.4', 'gvoice')
I also noticed that the files in /tmp are deleted. Is this the way it is
suppose to
work.
Original comment by mark...@gmail.com
on 26 Oct 2009 at 7:43
Thank you, 0.4 is now working. Here are the steps:
yum install python-setuptools
easy_install simplejson (not needed if using python 2.6)
easy_install pygooglevoice
Original comment by mark...@gmail.com
on 27 Oct 2009 at 2:32
Original issue reported on code.google.com by
mark...@gmail.com
on 26 Oct 2009 at 5:39