Your setup.py
file needs setuptools
. Some Python packages used to use distutils
for distribution, but most now use setuptools
, a more complete package. Here is a question about the differences between them.
To install setuptools
on Debian:
sudo apt-get install python3-setuptools
For an older version of Python (Python 2.x):
sudo apt-get install python-setuptools
Related Posts:
- What is __init__.py for?
- What is __init__.py for?
- What’s the difference between a Python module and a Python package?
- Can’t import my own modules in Python
- What’s the difference between a Python module and a Python package?
- How to install pip with Python 3?
- Relative imports – ModuleNotFoundError: No module named x
- ImportError: No module named tensorflow
- What is setup.py?
- beyond top level package error in relative import
- beyond top level package error in relative import
- Importing modules from parent folder
- unhashable type: ‘dict’ Type Error [duplicate]
- `from … import` vs `import .` [duplicate]
- Importing modules from parent folder
- ModuleNotFoundError: No module named ‘sklearn’
- beyond top level package error in relative import
- ModuleNotFoundError: No module named ‘sklearn’
- SyntaxError: multiple statements found while compiling a single statement
- SyntaxError: multiple statements found while compiling a single statement
- How do I unload (reload) a Python module?
- filename.whl is not a supported wheel on this platform
- error: Unable to find vcvarsall.bat
- error: Unable to find vcvarsall.bat
- Python – Module Not Found
- Why is python setup.py saying invalid command ‘bdist_wheel’ on Travis CI?
- How to fix “Attempted relative import in non-package” even with __init__.py
- Python can’t find module in the same folder
- from PIL import Image – ImportError: No module named PIL
- No module named setuptools
- How to fix “Attempted relative import in non-package” even with __init__.py
- How to use 2to3 properly for python?
- “ImportError: No module named site” on Windows
- ImportError: No module named six
- python setup.py uninstall
- Printing subscript in python
- Python way to clone a git repository
- How do I update a Python package?
- “Python version 2.7 required, which was not found in the registry” error when attempting to install netCDF4 on Windows 8
- Error: No module named ‘fcntl’
- Random word generator- Python
- How can I install the Beautiful Soup module on the Mac?
- How to import or include data structures (e.g. a dict) into a Python file from a separate file
- How do I compile my Python 3 app to an .exe?
- ModuleNotFoundError: What does it mean __main__ is not a package?
- SyntaxError: unexpected EOF while parsing
- Why am I seeing “TypeError: string indices must be integers”?
- TypeError: only integer scalar arrays can be converted to a scalar index with 1D numpy indices array
- How to emulate a do-while loop?
- ‘Conda’ is not recognized as internal or external command
- Python list of dictionaries search
- Extract file name from path, no matter what the os/path format
- Importing requests module does not work
- Converting string into datetime
- How do I read CSV data into a record array in NumPy?
- How to normalize a NumPy array to a unit vector?
- Is arr.__len__() the preferred way to get the length of an array in Python?
- Running Python from Atom
- TypeError: can’t use a string pattern on a bytes-like object in re.findall()
- inserting characters at the start and end of a string
- Python: SyntaxError: keyword can’t be an expression
- “ImportError: no module named ‘requests'” after installing with pip
- Explain __dict__ attribute
- How to pretty print nested dictionaries?
- Is there a linked list predefined library in Python?
- return, return None, and no return at all?
- What does [:-1] mean/do in python? [duplicate]
- Displaying better error message than “No JSON object could be decoded”
- How do I check if a string is a number (float)?
- How are Pipfile and Pipfile.lock used?
- Create a .csv file with values from a Python list
- Why matplotlib does not plot?
- ‘pip install’ fails for every package (“Could not find a version that satisfies the requirement”) [duplicate]
- Spyder Not Launching
- How do I profile memory usage in Python?
- Wait until page is loaded with Selenium WebDriver for Python
- ImportError: No module named ‘yaml’
- TypeError: ‘_io.TextIOWrapper’ object is not subscriptable
- super(type, obj): obj must be an instance or subtype of type
- What does “hashable” mean in Pytho
- Python multiprocessing.Pool: AttributeError
- Convert string to ASCII value python
- “Divide by zero encountered in log” when not dividing by zero
- How to include external Python code to use in other files?
- What does {0} mean in this Python string?
- Tab Error in Python
- Installation of pygame with Anaconda
- Is there a Python equivalent of the C# null-coalescing operator?
- Python 3.6 import requests
- Tensorflow 2.0 – AttributeError: module ‘tensorflow’ has no attribute ‘Session’
- What is key=lambda
- Extract a part of the filepath (a directory) in Python
- Python 3.5.1 urllib has no attribute request
- Rotating a two-dimensional array in Python
- Pandas unstack problems: ValueError: Index contains duplicate entries, cannot reshape
- How do I read image data from a URL in Python?
- Python: Convert timedelta to int in a dataframe
- Can’t concat bytes to str
- Unable to install boto3
- Python MySQLdb not importing