Comments (13)
twilio-python is both Python 2 and Python 3 compatible. You can see from this Travis CI job that library passes all its tests when running on Python 3.2
from twilio-python.
There should be instructions for Python 3 in README file.
from twilio-python.
I guess I am a little curious - what would you like to see in the readme?
Did you run into an issue using the library with python3?
Kevin Burke | 415-723-4116 | www.twilio.com
On Fri, Jan 25, 2013 at 5:29 PM, Santosh Kumar [email protected]:
There should be instruction for Python 3 in READMEhttps://github.com/twilio/twilio-python/blob/master/README.mdfile.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/107#issuecomment-12728754.
from twilio-python.
@kevinburke Yes. Even I can't install it by replicating that Travis CI job, and I don't want to go back to Python 2.x.
from twilio-python.
Ok. What happens when you run pip install twilio and then "python
send_sms.py"?
On Saturday, January 26, 2013, Santosh Kumar wrote:
@kevinburke https://github.com/kevinburke Yes. Even I can't install it
by replicating that Travis CI jobhttps://travis-ci.org/twilio/twilio-python/jobs/4317231,
and I don't want to go back to Python 2.x.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/107#issuecomment-12740055.
Kevin Burke | 415-723-4116 | www.twilio.com
from twilio-python.
For me, the nosetests fail for 25 of 25 tests.
It would be easy if a separate library for Python 3 is made; without
the need of virtualenv and pip.
Python 3 is future!
On 1/27/13, Kevin Burke [email protected] wrote:
Ok. What happens when you run pip install twilio and then "python
send_sms.py"?On Saturday, January 26, 2013, Santosh Kumar wrote:
@kevinburke https://github.com/kevinburke Yes. Even I can't install it
by replicating that Travis CI
jobhttps://travis-ci.org/twilio/twilio-python/jobs/4317231,
and I don't want to go back to Python 2.x.—
Reply to this email directly or view it on
GitHubhttps://github.com//issues/107#issuecomment-12740055.
Kevin Burke | 415-723-4116 | www.twilio.com
Reply to this email directly or view it on GitHub:
#107 (comment)
from twilio-python.
Ok. What is the console output of nose?
On Saturday, January 26, 2013, Santosh Kumar wrote:
For me, the nosetests fail for 25 of 25 test fails.
It would be easy if a separate library for Python 3 is made; without
the need of virtualenv and pip.Python 3 is future!
On 1/27/13, Kevin Burke <[email protected] <javascript:_e({},
'cvml', '[email protected]');>> wrote:Ok. What happens when you run pip install twilio and then "python
send_sms.py"?On Saturday, January 26, 2013, Santosh Kumar wrote:
@kevinburke https://github.com/kevinburke Yes. Even I can't install
it
by replicating that Travis CI
jobhttps://travis-ci.org/twilio/twilio-python/jobs/4317231,
and I don't want to go back to Python 2.x.—
Reply to this email directly or view it on
GitHub<
https://github.com/twilio/twilio-python/issues/107#issuecomment-12740055>.
Kevin Burke | 415-723-4116 | www.twilio.com
Reply to this email directly or view it on GitHub:
#107 (comment)—
Reply to this email directly or view it on GitHubhttps://github.com//issues/107#issuecomment-12746865.
Kevin Burke | 415-723-4116 | www.twilio.com
from twilio-python.
@santosh Hi, the setup.py is python 2 and 3 compliant so if your system is running under python 3, the only thing you need to do is the standard:
% python setup.py install
Basically there is nothing much to document, if you are under python 3 it will install and run under it.
from twilio-python.
@gbin That was the first thing after I cloned this repository. But the trackback says my system (python3) has no modules named setuptools and I can't install it through pip
because pip will install it for python2.x.
And there is nothing like pip3.
from twilio-python.
Hi Santosh,
Thank you for adding the helper log - it looks like there is a bug on our side.
You can fix the problem you have right now by also running:
pip install twilio six
This will install the six
library and fix all of the ImportError
messages.
from twilio-python.
alternately you can now run:
pip install --upgrade twilio
which should download version 3.4.3 and fix your problem.
from twilio-python.
@kevinburke Once again, pip
will install six for python2.x on my system; not for python3.
from twilio-python.
Hi Santosh,
Can you be more clear about what you mean when you say pip will fail to install six with python3? What command did you run to try and install six, and what was the output?
You may need to use a different executable command to run pip and virtualenv for python2 and python3. The pip
command is tied to a specific Python version, so pip
may be tied to Python 2.7 and not install the library for any other Python versions. I'm not sure exactly, but you may need to type something like pip-3.2 install six
. Some machines have instructions built in for switching between Python versions, although I'm only familiar with the macintosh ones. Which type of machine are you using?
from twilio-python.
Related Issues (20)
- Additional Parameter missing for specific message replies on WhatsApp HOT 1
- Async generators are implemented incorrectly HOT 2
- {REQ check balance } HOT 1
- Extra dependency `asyncio` included HOT 2
- Why remove functionality without deprecation in minor upgrade? HOT 4
- AttributeError: 'MessagingResponse' object has no attribute 'media' HOT 3
- tollfree_verification.py is gone from messaging/v1 HOT 2
- WARNING: Connection pool is full HOT 8
- Twilio authentication always fails HOT 6
- Twilio python function for incoming_phone_numbers.local.list does not provide only local 10DLC numbers. HOT 1
- Drop unnecessary dependency on `pytz` - stdlib provides `datetime.timezone.utc` HOT 1
- Not able to stream audio back to Twilio in a phone call HOT 1
- `client.messages.create_async` hanging in FastAPI HOT 2
- There is not support for python 3.12 - using pip or setup. HOT 1
- 8.11.0 still not working with python 3.12 windows 10 HOT 4
- Something went wrong WHEN try to login HOT 2
- 8.11.1: pytest fails HOT 7
- validate_twilio_request wrapper
- It really bothers me that I can send text messages with Twilio, but I can't receive any. HOT 1
- Your website does not work on Firefox HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twilio-python.