• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Python utilities install problem

Q&A Forum › Category: Other › Python utilities install problem
0 Vote Up Vote Down
Allen Buck asked 1 month ago

I just bought the Build Web Servers ESP32_ESP8266 eBook and am following the instructions to install and configur VSCode app. I have installed VS Code application (ver 1.98.2) onto Ubuntu 24.04 on my computer. Python3 ver 3.12.3 is already installed. Per page 29 on the ebook, I am attempting to now install Python Utilities. I get the following errors when attempting this as follows:
allen@allen-HP-Notebook:~$ sudo apt install python3-distutils
[sudo] password for allen:
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Package python3-distutils is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package ‘python3-distutils’ has no installation candidate
How can I solve this issue?

Question Tags: Build Web Servers ebook, Python utilities install
1 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 1 month ago

Hello Allen,
Thank you for letting me know. The python3-distutils package was removed in some newer versions of Ubuntu (Ubuntu 24.04 and later). That package is now included in the standard Python library, so that command is no longer necessary to run. To ensure you have everything, you can alternatively run:

sudo apt install python3-dev

Let me know if this command works for you. Thanks!

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.