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


Groups > comp.lang.python > #71823

Re: Putting Py 3.4.1 to work.

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Putting Py 3.4.1 to work.
Date 2014-05-20 19:13 +0100
References <d195c26b-62f9-4240-8f3e-c579a288961d@googlegroups.com> <llg2ih$2tg$1@reader1.panix.com> <CALwzidnjuW1xmcxYK_epqi8kATKg8v1dvUJCgu7kUCKXWvoG5Q@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.10168.1400609639.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 20/05/2014 18:38, Ian Kelly wrote:
> On Tue, May 20, 2014 at 11:14 AM, John Gordon <gordon@panix.com> wrote:
>> In <d195c26b-62f9-4240-8f3e-c579a288961d@googlegroups.com> wxjmfauth@gmail.com writes:
>>
>>> sys.path
>>> ['D:\\jm\\jmpy\\smid\\smid50beta1', 'C:\\Windows\\system32\\python34.zip',
>>> 'C:\\Python34\\DLLs\\DLLs', 'C:\\Python34\\DLLs\\lib', 'C:\\Python34\\DLLs',
>>> 'C:\\Python34\\DLLs\\lib\\site-packages', 'C:\\Python34\\Lib\\site-packages\\PySide']
>>>>>> ---
>>> import PySide
>>> Traceback (most recent call last):
>>>    File "<smid last command>", line 1, in <module>
>>> ImportError: No module named 'PySide'
>>
>> Is there a file named __init__.py in the PySide directory?
>> Did 'import PySide' used to work on Python 3.4.0?
>>
>
> Or maybe some .pth file got clobbered.
>
> I always reinstall packages after upgrading Python on Windows.  I
> don't know whether the scenario of reinstalling Python on top of an
> existing site-packages directory is supposed to work or not.
>

I've never bothered to reinstall packages after upgrading Python on 
Windows and I've never had a problem.  I can't see how Python can do 
anything with site-packages as it knows nothing about it, other than 
that it exists, so it strikes me that it has to work, or am I missing 
something?

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com

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


Thread

Putting Py 3.4.1 to work. wxjmfauth@gmail.com - 2014-05-20 07:31 -0700
  Re: Putting Py 3.4.1 to work. John Gordon <gordon@panix.com> - 2014-05-20 17:14 +0000
    Re: Putting Py 3.4.1 to work. Ian Kelly <ian.g.kelly@gmail.com> - 2014-05-20 11:38 -0600
    Re: Putting Py 3.4.1 to work. Vincent Vande Vyvre <vincent.vandevyvre@swing.be> - 2014-05-20 20:02 +0200
    Re: Putting Py 3.4.1 to work. Chris Angelico <rosuav@gmail.com> - 2014-05-21 04:12 +1000
    Re: Putting Py 3.4.1 to work. Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-05-20 19:13 +0100
    Re: Putting Py 3.4.1 to work. Vincent Vande Vyvre <vincent.vandevyvre@swing.be> - 2014-05-20 21:11 +0200
      Re: Putting Py 3.4.1 to work. wxjmfauth@gmail.com - 2014-05-20 12:26 -0700
  Re: Putting Py 3.4.1 to work. Zachary Ware <zachary.ware+pylist@gmail.com> - 2014-05-20 15:55 -0500
  Re: Putting Py 3.4.1 to work. Terry Reedy <tjreedy@udel.edu> - 2014-05-20 18:19 -0400
    Re: Putting Py 3.4.1 to work. wxjmfauth@gmail.com - 2014-05-20 22:52 -0700
      Re: Putting Py 3.4.1 to work. wxjmfauth@gmail.com - 2014-05-20 23:36 -0700

csiph-web