Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #79355
| References | <BLU168-W44B06AA15B94B616A60ACAAD970@phx.gbl> |
|---|---|
| Date | 2014-10-21 10:54 +1100 |
| Subject | Re: Simple import in python 3 errors with complaint about bytes |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.15017.1413849279.18130.python-list@python.org> (permalink) |
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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Simple import in python 3 errors with complaint about bytes Chris Angelico <rosuav@gmail.com> - 2014-10-21 10:54 +1100
csiph-web