View previous topic :: View next topic |
Author |
Message |
Tinitus Veteran

Joined: 20 Sep 2004 Posts: 1754
|
Posted: Tue Feb 03, 2015 1:57 pm Post subject: dev-python/cssutils-0.9.9 No module named setuptools |
|
|
Hallo,
beim Update kommt bei mir der Fehler:
Code: | warning: build_py: byte-compiling is disabled, skipping.
* Building of dev-python/cssutils-0.9.9 with CPython 3.2...
python3.2 setup.py build -b build-3.2
Traceback (most recent call last):
File "setup.py", line 41, in <module>
from setuptools import setup, find_packages
ImportError: No module named setuptools
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "setup.py", line 43, in <module>
from ez_setup import use_setuptools
ImportError: No module named ez_setup
* ERROR: dev-python/cssutils-0.9.9::gentoo failed (compile phase):
* Building failed with CPython 3.2 in distutils_building() function
|
Ich habe schon
dev-python/setuptools-7.0 neu installiert.
python-updater hat auch keine Fehler gefunden.
Was kan man noch machen? |
|
Back to top |
|
 |
franzf Advocate


Joined: 29 Mar 2005 Posts: 4565
|
Posted: Tue Feb 03, 2015 3:42 pm Post subject: |
|
|
python-3.2 wurde entfernt, jedenfalls aus den PYTHON_TARGETS.
Interessant wäre ein emerge -pvt cssutils. Steht da noch 3.2 in den PYTHON_TARGETS?
Was sagt eselect python list? |
|
Back to top |
|
 |
Tinitus Veteran

Joined: 20 Sep 2004 Posts: 1754
|
Posted: Tue Feb 03, 2015 4:27 pm Post subject: |
|
|
Code: | eselect python list
Available Python interpreters:
[1] python2.7
[2] python3.2
[3] python3.3 *
[4] python3.4 |
Habe schon jede Version getestet.
Code: |
[ebuild UD ] dev-python/cssutils-0.9.9 [0.9.10-r1] USE="-examples {-test}" PYTHON_TARGETS="(-pypy%) (-python2_7%*) (-python3_3%*) (-python3_4%)" 0 KiB |
|
|
Back to top |
|
 |
franzf Advocate


Joined: 29 Mar 2005 Posts: 4565
|
Posted: Tue Feb 03, 2015 6:32 pm Post subject: |
|
|
Ok, stable cssutils ebuild ist doof
Er baut für das aktive python 2 und python 3. Nix PYTHON_TARGETS.
Setze also python mit eselect python, am besten gleich 3.4. (Option mit --python3 setzen, falls du deinen Haupt.interpreter noch auf python2 lassen willst)
Danach GANZ WICHTIG env-update && source /etc/profile nicht vergessen!!! (Oder /etc/zsh/zprofile, wenn du zsh verwendest)
Danach sollte es funktionieren.
Und vllt. sicherheitshalber python:3.2 deinstallieren  |
|
Back to top |
|
 |
|