Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #79355 > unrolled thread

Re: Simple import in python 3 errors with complaint about bytes

Started byChris Angelico <rosuav@gmail.com>
First post2014-10-21 10:54 +1100
Last post2014-10-21 10:54 +1100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Simple import in python 3 errors with complaint about bytes Chris Angelico <rosuav@gmail.com> - 2014-10-21 10:54 +1100

#79355 — Re: Simple import in python 3 errors with complaint about bytes

FromChris Angelico <rosuav@gmail.com>
Date2014-10-21 10:54 +1100
SubjectRe: Simple import in python 3 errors with complaint about bytes
Message-ID<mailman.15017.1413849279.18130.python-list@python.org>
On Tue, Oct 21, 2014 at 10:29 AM, Mike Boyle <moboyle79@outlook.com> wrote:
> But when it hits that line, python 3 throws its hands up in disgust:
>
>> python -c 'import quaternion'

Just something crazy to try: Instead of using python -c, create an
actual script with just that one line in it. It might be that you have
some strange console config that's causing problems.

You may also want to try changing all your names to be unique
("quaternion1" as the package name, "quaternion2" as the Python file
in it, etc), which should tell you which one it's actually failing on.

ChrisA

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web