1,146 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
80
views
How to make setup.py invoke C++ compiler instead of C?
I have no problem building native modules when using Python 3.11 on my FreeBSD desktop – invoking distutils.core.Extension with language = 'c++' is enough to have the C++ compiler invoked.
However, on ...
0
votes
1
answer
54
views
ModuleNotFoundError: No module named 'distutils' in dockerpycreds when using wandb with Python 3.12 (Conda)
When using the latest version of wandb in a Conda environment with Python 3.12, an error is raised due to a dependency on the distutils module—which has been removed in Python 3.12. The error ...
0
votes
1
answer
57
views
How to refer to source-files outside of Python module directory?
Our project builds a program from sources across multiple "sibling" subdirectories.
We'd like to make (a subset of) the same code accessible directly from Python-scripts. To that end, I ...
0
votes
1
answer
44
views
Cython *.pxd file cannot use absolute imports for Cython submodule
I am getting an Error compiling Cython file, 'myproject/utils/hdf5.pxd' not found` when trying to build my Cython project in a certain way.
My Cython project is organized this way:
myproject/
setup....
-1
votes
1
answer
133
views
After I changed to python 3.12 I got the error ModuleNotFoundError: No module named 'distutils' [duplicate]
The error that I see on terminal when I run my djanogo server on my instance
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib....
2
votes
1
answer
517
views
Buildozer not able to find distutils, despite having setuptools installed
I am trying to make my own android app with a kivy project on Windows 11, and buildozer is not working. I've installed WSL and have gotten to the point where I need to run buildozer android debug ...
-1
votes
1
answer
434
views
Error "No module named 'setuptools.extern.six'" while trying to install OpenHands
Help me to fix this issue i am on windows and iam trying to running locally with out docker or wsl
pip install openhands
Collecting openhands
Using cached OpenHands-0.1.4.1-py3-none-any.whl.metadata ...
1
vote
0
answers
141
views
"pip install pytetgen" can't find Cython module, but "pip install Cython" shows it is already installed
I have used Spack 0.24.0.dev0 to create an environment that includes Python 3.13.0, and I also used Spack to install several python modules including Cython.
Now I need to install the pytetgen module (...
1
vote
0
answers
496
views
pip fails with ModuleNotFoundError: No module named 'distutils' when running from python 3.12 or 3.13
I have several versions of Python installed (via apt). And when I run
$ python3.${version} -m pip
it displays the help message as expected when version ≤ 11. But it fails on 3.12 and 3.13:
Traceback (...
1
vote
0
answers
132
views
How to use MinGW's gcc compiler when installing Python package using Pip for python 3.12 and higher?
I configured MinGW and distutils so now I can compile extensions using Cython, and it works fine instead of giving error. But the same error shows up when I want to install pip package which does not ...
0
votes
0
answers
57
views
Anaconda Navigator Fails to Start with ModuleNotFoundError: No module named 'distutils'
The anaconda navigator suddenly stoped working from today(17-10-2024).
C:\ProgramData\anaconda3>anaconda-navigator Traceback (most recent call last): File "C:\ProgramData\anaconda3\Scripts\...
7
votes
1
answer
22k
views
ModuleNotFoundError: No module named 'distutils.msvccompiler' when trying to install numpy 1.16
I'm working inside a conda environment and I'm trying to downgrade numpy to version 1.16, but when running pip install numpy==1.16 I keep getting the following error:
$ pip install numpy==1.16
...
0
votes
0
answers
100
views
Python module "distutils.util" in environment [duplicate]
I'm trying to install LST-AI (https://github.com/CompImg/LST-AI) on Ubuntu 24.04.1 LTS following the instruction listed in GitHub, but after setting up and activating the environment I try run the n°4 ...
0
votes
0
answers
206
views
No module named 'distutils' but also 'requirement already satisfied:setuptools in ./.venv/lib/python3.12/site-packages (72.1.0)
I'm working on trying to test a new data quality tool (Soda). It requires you to have Python and Pip installed and optionally docker. What I've done so far is: install the Soda package I can use to ...
1
vote
2
answers
699
views
No module named 'distutils.cmd' with Python3.9 in Ubuntu 22.04
I've created a virtual environment of Python3.9 with Pycharm but when I try to install the packages in requirements, I get this error:
Error: Traceback (most recent call last):
File "/snap/...