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


Groups > comp.lang.python > #98243

Re: teacher need help!

From Ian Kelly <ian.g.kelly@gmail.com>
Newsgroups comp.lang.python
Subject Re: teacher need help!
Date 2015-11-04 14:31 -0700
Message-ID <mailman.28.1446672713.16136.python-list@python.org> (permalink)
References (2 earlier) <CANy1k1iq-9K_D+iVUW4ErFF5QvByH3r+WMVyHdq2Mrr9nbeNhg@mail.gmail.com> <BLUPR0201MB1524A5C40F14DD282BA0A379D63A0@BLUPR0201MB1524.namprd02.prod.outlook.com> <5624AC43.3080105@timgolden.me.uk> <BLUPR0201MB1524BEDFAD098F598BE43F1ED6390@BLUPR0201MB1524.namprd02.prod.outlook.com> <BLUPR0201MB1524FF0A22E3FD0E8A6439E7D62A0@BLUPR0201MB1524.namprd02.prod.outlook.com>

Show all headers | View raw


On Wed, Nov 4, 2015 at 11:18 AM, Storey, Geneva
<geneva.storey@fultonind.kyschools.us> wrote:
>
>
>
>
> I am having the same problem that we experienced earlier (see below).  This student was exploring random numbers in Python.  She named her program random which caused confusion for her computer.  We deleted the file, but still had the problem.

Was there a lingering .pyc file? The following transcript is from
Linux but still illustrative of the probable cause.

$ echo 'print("Oops!")' > random.py
$ ls random.*
random.py
$ python -c "import random"
Oops!
$ ls random.*
random.py  random.pyc
$ rm random.py
$ python -c "import random"
Oops!
$ rm random.pyc
$ python -c "import random"


> I removed Python from the machine.  When I tried to reinstall, I got the attached error message.  Now it won't even install.  Any suggestions would be greatly appreciated!

Unfortunately the attachment doesn't seem to have made it through.
Also, many of the subscribers here read this mailing list as a Usenet
group and wouldn't be able to see the attachment anyway. Please copy
and paste the error instead.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: teacher need help! Ian Kelly <ian.g.kelly@gmail.com> - 2015-11-04 14:31 -0700

csiph-web