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


Groups > comp.lang.python > #71831

Re: Putting Py 3.4.1 to work.

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'interpreter': 0.05; '64-bit': 0.07; 'importerror:': 0.07; 'installed.': 0.07; 'modify': 0.07; 'tkinter': 0.07; 'versions.': 0.07; 'overwrite': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'skip:\\ 10': 0.09; 'python': 0.11; 'jan': 0.12; 'wrote': 0.14; 'cmd': 0.16; 'empty.': 0.16; 'experimented': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'skip:[ 30': 0.16; 'subsequently': 0.16; 'sys.path': 0.16; 'unlikely': 0.16; 'weird': 0.16; 'wrote:': 0.18; 'module': 0.19; '(but': 0.19; "skip:' 30": 0.19; 'help.': 0.21; 'seems': 0.21; '>>>': 0.22; 'import': 0.22; 'header:User-Agent:1': 0.23; 'adds': 0.24; 'certainly': 0.24; 'looks': 0.24; '---': 0.24; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; 'am,': 0.29; 'went': 0.31; "skip:' 10": 0.31; '"",': 0.31; 'changed.': 0.31; "skip:' 40": 0.31; 'file': 0.32; 'skip:c 30': 0.32; '(most': 0.33; 'noticed': 0.34; 'problem': 0.35; 'something': 0.35; 'good.': 0.35; 'usual': 0.35; 'add': 0.35; 'idle': 0.36; 'doing': 0.36; 'should': 0.36; 'to:addr :python-list': 0.38; 'files': 0.38; 'pm,': 0.38; 'recent': 0.39; 'does': 0.39; '(from': 0.39; 'launch': 0.39; 'received:71': 0.39; 'skip:. 10': 0.39; 'delete': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'users': 0.40; 'new': 0.61; 'more': 0.64; '20,': 0.68; 'installer': 0.84; 'received:fios.verizon.net': 0.84; 'careful': 0.91; 'ware': 0.91; 'whereas': 0.91; 'have.': 0.93
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: Putting Py 3.4.1 to work.
Date Tue, 20 May 2014 18:19:37 -0400
References <d195c26b-62f9-4240-8f3e-c579a288961d@googlegroups.com> <CAKJDb-Me+gaQxdffdf-rGvRBRN18FJmRXTNCMr1_n7H97_qqsA@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host pool-71-175-90-87.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
In-Reply-To <CAKJDb-Me+gaQxdffdf-rGvRBRN18FJmRXTNCMr1_n7H97_qqsA@mail.gmail.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.10174.1400624408.18130.python-list@python.org> (permalink)
Lines 65
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1400624408 news.xs4all.nl 2887 [2001:888:2000:d::a6]:45253
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:71831

Show key headers only | View raw


On 5/20/2014 4:55 PM, Zachary Ware wrote:
> On Tue, May 20, 2014 at 9:31 AM,  <wxjmfauth@gmail.com> wrote:
>> Experimented users have certainly noticed a lot of
>> things have changed.
>>
>> Short. I installed Py3.4.1, it overwrites c:\Python34 which
>> contained eg. PySide in ...\site-packages.

I installed 3.4.1 on top of 3.4.0, Win 7, both 64-bit versions.

 >> contained eg. PySide in ...\site-packages.

The installer is careful to only overwrite or delete files it installed. 
The only problem one will have is if you modify a file Python installed 
or add a new file where Python subsequently adds one (but that is 
unlikely in bug-fix releases anyway).

>> So far, so good. I can launch Python, IDLE and my interactive
>> interpreter I wrote with tkinter via a cmd in dos, .bat, ...
>>
>> Now the questions. It seems all packages in \site-packages
>> are no more recognized.
>> What am I doing wrong? Why is "site-packages" no more
>> recognized, "forcing" sys.path does not seem to help.
>>
>>  From my interactive interpreter:
>>
>>>>> ---
>> import PySide
>> Traceback (most recent call last):
>>    File "<smid last command>", line 1, in <module>
>> ImportError: No module named 'PySide'
>>>>> ---
>> 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']

 >>> sys.path
['', 'C:\\Programs\\Python34\\Lib\\idlelib', 
'C:\\Windows\\system32\\python34.zip', 'C:\\Programs\\Python34\\DLLs', 
'C:\\Programs\\Python34\\lib', 'C:\\Programs\\Python34', 
'C:\\Users\\Terry\\AppData\\Roaming\\Python\\Python34\\site-packages', 
'C:\\Programs\\Python34\\lib\\site-packages', 'F:\\Python'

Delete \Programs to match what you should have.

> This looks like something went weird in your installation, like you
> installed to 'C:\Python34\DLLs' instead of 'C:\Python34'.

I suspect you nailed it.

>  What path does sys.executable give?

 >>> sys.executable
'C:\\Programs\\Python34\\pythonw.exe' (from Idle)

 > The usual location for site-packages is
> C:\Python34\Lib\site-packages, which is not listed.

whereas the new 'C:\\Programs\\Python34\\lib\\site-packages' will be empty.

-- 
Terry Jan Reedy

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