Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 16837  / 3 Years ago, sun, august 29, 2021, 4:55:20

I have installed Python 2.7, setuptools and python-distutils-extra.



When I try to run ./setup.py build to compile C I get following error:



Traceback (most recent call last):
File "./setup.py", line 26, in <module>
from DistUtilsExtra.command import *
ImportError: No module named DistUtilsExtra.command


I beleive it has something to do with paths, but I am fairly new to Linux OS.



I am working on source /opt/project_name/bin/activate. It is a Django project.



Any ideas?


More From » python

 Answers
3

As per this page, it is suggested to install python-apt through aptitude itself:



sudo apt-get install python-apt

[#21338] Sunday, August 29, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
llael

Total Points: 209
Total Questions: 102
Total Answers: 118

Location: Rwanda
Member since Fri, May 5, 2023
1 Year ago
;