chubbs1234a / pygooglevoice

Automatically exported from code.google.com/p/pygooglevoice
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Python 3.X porting? #49

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Is there a plan to port this library to python 3.X ?

What version of the product are you using? On what operating system?
python 3.2 on W7

Original issue reported on code.google.com by mprabhu...@gmail.com on 18 Dec 2010 at 5:08

GoogleCodeExporter commented 8 years ago
there are a lot of broken pieces under python3 but with an hour of time, you 
can make it work.  is there a particular issue you need help fixing?

Original comment by firefigh...@gmail.com on 15 Sep 2011 at 5:22

GoogleCodeExporter commented 8 years ago
yes,

need to get basic import of googlevoice to work before debugging can take 
place. I get 
"
>>> from googlevoice import Voice
Traceback (most recent call last):
  File "<pyshell#63>", line 1, in <module>
    from googlevoice import Voice
  File "C:\Python32\lib\site-packages\googlevoice\__init__.py", line 17, in <module>
    from voice import Voice
ImportError: No module named voice"

Do you know why

Original comment by jesmitt...@gmail.com on 13 Mar 2012 at 5:41

GoogleCodeExporter commented 8 years ago
I'm having the same issue, I can run it fine under 2.7 but can't import 
anything from the installation on 3.2.

Original comment by sal...@gmail.com on 10 Aug 2012 at 9:37

GoogleCodeExporter commented 8 years ago
courtesy of http://docs.python.org/py3k/library/2to3.html

2to3 is a Python program that reads Python 2.x source code and applies a series 
of fixers to transform it into valid Python 3.x code. The standard library 
contains a rich set of fixers that will handle almost all code. 2to3 supporting 
library lib2to3 is, however, a flexible and generic library, so it is possible 
to write your own fixers for 2to3. lib2to3 could also be adapted to custom 
applications in which Python code needs to be edited automatically.

Original comment by arielko...@gmail.com on 12 Aug 2012 at 12:53

GoogleCodeExporter commented 8 years ago
The pygooglevoice webpage really needs to be updated then to reflect that it is 
not compatible with Python 3.

Original comment by sal...@gmail.com on 12 Aug 2012 at 12:55

GoogleCodeExporter commented 8 years ago
Yeah, I just came across this problem myself tonight... after 2 hours of 
frustration. :P

Original comment by paulhast...@gmail.com on 17 Oct 2012 at 7:37

GoogleCodeExporter commented 8 years ago
I have made a partial port to python 3. I have only tested the Voice() methods 
login() and send_sms() on the python 3 port I made, other methods may work, but 
I have not given them a test. I have my semi port attached here. If anyone 
wants to finish my work, they fork the project

Original comment by trilobit...@gmail.com on 8 Mar 2014 at 4:25

Attachments: