On Mon, Feb 9, 2015 at 2:37 PM, Brian wrote:
> Thank you, Ian and Zack! That was exactly the issue. Apparently, having a
> token.py script (one of my first Python 2 scripts to get an authorization
> token from a billing server) is OK for Python 2 but breaks Python 3.
Local modules that have the
Thank you, Ian and Zack! That was exactly the issue. Apparently, having a
token.py script (one of my first Python 2 scripts to get an authorization token
from a billing server) is OK for Python 2 but breaks Python 3.
*face palm*
Thank you again so very much!
Brian
On Monday, February 9, 2015
On Mon, Feb 9, 2015 at 2:37 PM, Brian wrote:
> Zach,
>
> Here is what I get on the Mac:
>
> $ python3 -c "import token;print(token.__file__)"
> /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/token.py
That looks correct.
> Just for grins, I also ran it against the built-in Python
On Mon, Feb 9, 2015 at 1:37 PM, Brian wrote:
> Zach,
>
> Here is what I get on the Mac:
>
> $ python3 -c "import token;print(token.__file__)"
> /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/token.py
Are you running this from the same directory where you have your test
scripts (i
Zach,
Here is what I get on the Mac:
$ python3 -c "import token;print(token.__file__)"
/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/token.py
Just for grins, I also ran it against the built-in Python 2.7.5 version:
$ python -c "import token;print(token.__file__)"
/System/Lib
On Mon, Feb 9, 2015 at 1:20 PM, Brian wrote:
> I am also seeing this in my Mac Mavericks Python 3 installation when I use
> just the built-in logging library. Again, a tiny example executable script
> and the results:
>
> $ cat test2.py
> #!/usr/bin/env python3
> import logging
> logging.info("T
I am also seeing this in my Mac Mavericks Python 3 installation when I use just
the built-in logging library. Again, a tiny example executable script and the
results:
$ cat test2.py
#!/usr/bin/env python3
import logging
logging.info("TEST2 starting")
$ ./test2.py
Traceback (most recent call las
On the Mac running Mavericks, I have successfully managed to install and use
the requests library for HTTP and HTTPS requests using Python 2. But I'd like
to move to Python 3.
I downloaded the most recent stable version of Python 3 for Mac. All is well. I
did a pip3 install requests command and