Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: 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; 'url:launchpad': 0.05; 'subject:Python': 0.06; 'importerror:': 0.07; 'executed': 0.09; 'skip:/ 10': 0.09; 'try:': 0.09; '__init__.py': 0.16; 'from:addr:swing.be': 0.16; 'from:addr:vincent.vandevyvre': 0.16; 'from:name:vincent vande vyvre': 0.16; 'message-id:@swing.be': 0.16; 'naming': 0.16; 'oqapy': 0.16; 'paqager': 0.16; 'received:mobistar.be': 0.16; 'subfolder': 0.16; 'url:oqapy': 0.16; 'url:paqager': 0.16; 'url:qarte': 0.16; 'v.v.': 0.16; 'folder': 0.16; 'subject: ?': 0.16; 'module': 0.19; "hasn't": 0.19; 'machine': 0.22; '>>>': 0.22; 'import': 0.22; 'python?': 0.22; 'install': 0.23; 'header:User-Agent:1': 0.23; 'error': 0.23; "i've": 0.25; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; 'tried': 0.27; '"",': 0.31; '(my': 0.31; '(on': 0.31; 'file': 0.32; 'critical': 0.32; 'know.': 0.32; '(most': 0.33; 'maybe': 0.34; 'skip:d 20': 0.34; 'created': 0.35; 'problem.': 0.35; 'but': 0.35; 'ubuntu': 0.36; 'thanks': 0.36; 'hi,': 0.36; 'so,': 0.37; 'to:addr:python-list': 0.38; 'recent': 0.39; 'to:addr:python.org': 0.39; 'subject: ': 0.61; 'new': 0.61; 'today': 0.64; 'therefore': 0.72 Date: Tue, 07 May 2013 19:03:00 +0200 From: Vincent Vande Vyvre User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: python-list@python.org Subject: dist-packages or site-packages in Python 3.2 ? References: <69b77965-5ff5-4c6f-a73d-0826b06353f0@googlegroups.com> <85771dda-4289-4cfb-a96f-23809664913e@googlegroups.com> <51891677.1020009@mrabarnett.plus.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 33 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1367946643 news.xs4all.nl 15883 [2001:888:2000:d::a6]:51262 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:44897 Hi, I've one machine with python3.2 (on Ubuntu 12.04), in the folder /usr/lib/python3.2 it is a subfolder dist-packages, maybe created at the install or created when I've installed the binding pyexiv2, I don't know. Now, I've installed a new machine, again with Ubuntu 12.04 and therefore python3.2. This new install hasn't any *-packages subfolder in /usr/lib/python3.2 Today I install PyQt5, the make and make install are executed without error but when I try: >>> from PyQt5 import QtGui Traceback (most recent call last): File "", line 1, in ImportError: No module named PyQt5 I go to check in /usr/lib/python3.2 and I see the install of PyQt5 has created a subfolder site-packages. Is this naming dist-packages/site-packages critical for Python? (My intuition is yes!) So, I've tried with: >>> sys.path.append('/usr/lib/python3.2/site_packages') and, also, created a file __init__.py in /site-packages but that's not solved the problem. Thanks for your advices. -- Vincent V.V. Oqapy . Qarte . PaQager