WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-users

[Top] [All Lists]

[Xen-users] Re: [Xen-devel] Re: xen-unstable: ImportError: No module nam

To: chris <tknchris@xxxxxxxxx>
Subject: [Xen-users] Re: [Xen-devel] Re: xen-unstable: ImportError: No module named xen.xm
From: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
Date: 2011年1月20日 17:38:23 +0000
Cc: Xen-Devel List <xen-devel@xxxxxxxxxxxxxxxxxxx>, Xen-Users List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: 2011年1月20日 09:39:21 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTi=YL=zC+aozZAOgLiw0n8wFiirEXQp9VJtteAkp@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Citrix Systems, Inc.
References: <AANLkTimCA_T1QsfCVfABtW8776Mkg3toBtmHYHgea56=@xxxxxxxxxxxxxx> <AANLkTin0tfdaXr0MaHpoA9oPM+XQyH34m2RNXOfi_m2N@xxxxxxxxxxxxxx> <1295512732.14981.4699.camel@xxxxxxxxxxxxxxxxxxxxxx> <AANLkTikR7H0LOYECxeVJLXnO_-vLwTxFmweMdQ27dUHz@xxxxxxxxxxxxxx> <1295542490.14780.64.camel@xxxxxxxxxxxxxxxxxxxxxx> <AANLkTi=YL=zC+aozZAOgLiw0n8wFiirEXQp9VJtteAkp@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> >> ['', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2',
> >> '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old',
> >> '/usr/lib/python2.6/lib-dynload',
> >> '/usr/local/lib/python2.6/dist-packages',
> >> '/usr/lib/python2.6/dist-packages', '/usr/lib/pymodules/python2.6']
vs.
> /usr/lib/python2.6/site-packages/xen/xm/main.py
So the Xen python bits are not installed to a path which the python
interpreter is searching.
Xen relies on the python distutils library to build and install its
python bits and makes no specific reference to site-packages in its
makefiles (that I can find).
The Debian python policy
(http://www.debian.org/doc/packaging-manuals/python-policy/ch-python.html) 
suggests that this change of location is deliberate from python 2.6 onwards. 
However /usr/lib/python2.6/distutils/command/install.py still makes reference 
to site-packages which is no doubt where it is coming from.
At this point my Debian python-fu is running low but I think you have
found a bug in Debian and should report it to them as such.
I also suspect that the fact that distutils is installing
non-packaged/locally-built python bits in /usr/lib/python2.6 rather
than /usr/local/lib/python2.6 is also a bug in the python system.
Ian.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-users] Re: [Xen-devel] Re: xen-unstable: ImportError: No module named xen.xm , chris
Next by Date: [Xen-users] Re: I'd like to try PVUSB with 2.6.32.x , Pasi Kärkkäinen
Previous by Thread: [Xen-users] Re: [Xen-devel] Re: xen-unstable: ImportError: No module named xen.xm , chris
Next by Thread: RE: [Xen-users] Re: [Xen-devel] Re: xen-unstable: ImportError: No module named xen.xm , Mike Viau
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /