Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dev-python/cssutils-0.9.9 No module named setuptools
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Tinitus
Veteran
Veteran


Joined: 20 Sep 2004
Posts: 1754

PostPosted: Tue Feb 03, 2015 1:57 pm    Post subject: dev-python/cssutils-0.9.9 No module named setuptools Reply with quote

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
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4408

PostPosted: Tue Feb 03, 2015 3:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
Tinitus
Veteran
Veteran


Joined: 20 Sep 2004
Posts: 1754

PostPosted: Tue Feb 03, 2015 4:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4408

PostPosted: Tue Feb 03, 2015 6:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum