Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #44897
| 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 | <vincent.vandevyvre@swing.be> |
| 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 <vincent.vandevyvre@swing.be> |
| 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> <mailman.1402.1367924006.3114.python-list@python.org> <85771dda-4289-4cfb-a96f-23809664913e@googlegroups.com> <51891677.1020009@mrabarnett.plus.com> <CAPTjJmrPvimvL1=eT4AoJAYU00pUPzbFvwLJNO=kxjYh1ykkQA@mail.gmail.com> |
| In-Reply-To | <CAPTjJmrPvimvL1=eT4AoJAYU00pUPzbFvwLJNO=kxjYh1ykkQA@mail.gmail.com> |
| 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 <python-list.python.org> |
| List-Unsubscribe | <http://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 | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1415.1367946643.3114.python-list@python.org> (permalink) |
| 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 |
Show key headers only | View raw
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 "<stdin>", line 1, in <module>
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 <https://launchpad.net/oqapy> . Qarte
<https://launchpad.net/qarte> . PaQager <https://launchpad.net/paqager>
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Why sfml does not play the file inside a function in this python code? cheirasacan@gmail.com - 2013-05-07 02:27 -0700
Re: Why sfml does not play the file inside a function in this python code? MRAB <python@mrabarnett.plus.com> - 2013-05-07 11:53 +0100
Re: Why sfml does not play the file inside a function in this python code? cheirasacan@gmail.com - 2013-05-07 06:56 -0700
Re: Why sfml does not play the file inside a function in this python code? MRAB <python@mrabarnett.plus.com> - 2013-05-07 15:57 +0100
Re: Why sfml does not play the file inside a function in this python code? cheirasacan@gmail.com - 2013-05-07 13:02 -0700
Re: Why sfml does not play the file inside a function in this python code? Chris Angelico <rosuav@gmail.com> - 2013-05-08 01:06 +1000
dist-packages or site-packages in Python 3.2 ? Vincent Vande Vyvre <vincent.vandevyvre@swing.be> - 2013-05-07 19:03 +0200
csiph-web