Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

No module named 'distutils'

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
g0rg0n
Tux's lil' helper
Tux's lil' helper
Posts: 100
Joined: Sat Feb 18, 2006 2:16 am

No module named 'distutils'

  • Quote

Post by g0rg0n » Sat Jun 15, 2024 4:50 am

[Administrator note: this post, and the first response, were originally attached to the solved topic SOLVED python 3.12 fontforge No module named 'distutils'. As logrusx notes, this is not appropriate, so I split it out. -Hu]

dev-libs/gobject-introspection-1.78.1 also fails due to missing distutils.

Code: Select all

  File "/var/tmp/portage/dev-libs/gobject-introspection-1.78.1/work/gobject-introspection-1.78.1-build/giscanner/utils.py", line 385, in <module>
    import distutils.cygwinccompiler
ModuleNotFoundError: No module named 'distutils'

Code: Select all

❯ emerge -vp setuptools

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 3.45 s (backtrack: 0/20).

[ebuild   R    ] dev-python/setuptools-70.0.0::gentoo  USE="-test" PYTHON_TARGETS="python3_11 python3_12* -pypy3 -python3_10 -python3_13" 0 KiB
[ebuild   R    ] dev-python/setuptools-scm-8.1.0::gentoo  USE="-test" PYTHON_TARGETS="python3_11 python3_12* -pypy3 -python3_10 -python3_13" 0 KiB

Total: 2 packages (2 reinstalls), Size of downloads: 0 KiB

~ took 4s 
❯ python --version
Python 3.12.3

thought emerge -uDU @world would take care of updated python targets.. running emerge -D python first now
nicewarm.coffee
Top
logrusx
Advocate
Advocate
User avatar
Posts: 3530
Joined: Thu Feb 22, 2018 2:29 pm

  • Quote

Post by logrusx » Sat Jun 15, 2024 5:44 am

g0rg0n wrote:dev-libs/gobject-introspection-1.78.1 also fails due to missing distutils.
File a bug. It's not a good idea to post to other threads, it convollutes the thread as well as decreases the chance your problem will get the attention it needs.
Last but not least, it's not a good manner.

Best Regards,
Georgi
Top
Hu
Administrator
Administrator
Posts: 24389
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Sat Jun 15, 2024 1:44 pm

To extend on what logrusx said, posting to a SOLVED thread is a particularly poor choice, because some people will not read a thread that has been SOLVED, and so will miss your post completely.
Top
Post Reply

3 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic