We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is your operating system and version? Ubuntu 20.04
What is your Python version? Python 3.8.5
What version of pip do you have? pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8)
If following an online tutorial or guide, please provide a link to the page or section giving you trouble:
https://packaging.python.org/tutorials/packaging-projects/
When I run python3 -m build, I get this error:
python3 -m build
Uninstalling setuptools-44.0.0: Successfully uninstalled setuptools-44.0.0 Collecting setuptools>=42 Using cached setuptools-54.1.2-py3-none-any.whl (785 kB) Collecting wheel Using cached wheel-0.36.2-py2.py3-none-any.whl (35 kB) Installing collected packages: setuptools, wheel Successfully installed setuptools-54.1.2 wheel-0.36.2 Traceback (most recent call last): File "/home/TricolorHen061van/.local/lib/python3.8/site-packages/pep517/in_process/_in_process.py", line 280, in <module> main() File "/home/TricolorHen061/.local/lib/python3.8/site-packages/pep517/in_process/_in_process.py", line 263, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "/home/TricolorHen061/.local/lib/python3.8/site-packages/pep517/in_process/_in_process.py", line 236, in build_sdist return backend.build_sdist(sdist_directory, config_settings) File "/tmp/build-env-ao7idiyf/lib/python3.8/site-packages/setuptools/build_meta.py", line 220, in build_sdist return self._build_with_temp_dir(['sdist', '--formats', 'gztar'], File "/tmp/build-env-ao7idiyf/lib/python3.8/site-packages/setuptools/build_meta.py", line 204, in _build_with_temp_dir result_basename = _file_with_extension( File "/tmp/build-env-ao7idiyf/lib/python3.8/site-packages/setuptools/build_meta.py", line 104, in _file_with_extension file, = matching ValueError: not enough values to unpack (expected 1, got 0) Traceback (most recent call last): File "/usr/lib/python3.8/subprocess.py", line 364, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/tmp/build-env-ao7idiyf/bin/python', '/home/TricolorHen061/.local/lib/python3.8/site-packages/pep517/in_process/_in_process.py', 'build_sdist', '/tmp/tmpk690smrt']' returned non-zero exit status 1. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/TricolorHen061/.local/lib/python3.8/site-packages/build/__init__.py", line 309, in _call_backend raise BuildBackendException(exception) build.BuildBackendException: Backend operation failed: CalledProcessError(1, ['/tmp/build-env-ao7idiyf/bin/python', '/home/TricolorHen061/.local/lib/python3.8/site-packages/pep517/in_process/_in_process.py', 'build_sdist', '/tmp/tmpk690smrt']) ERROR Backend operation failed: CalledProcessError(1, ['/tmp/build-env-ao7idiyf/bin/python', '/home/TricolorHen061/.local/lib/python3.8/site-packages/pep517/in_process/_in_process.py', 'build_sdist', '/tmp/tmpk690smrt'])
The text was updated successfully, but these errors were encountered:
You probably have an empty setup.py. You can either delete it or add the following lines to it:
setup.py
import setuptools setuptools.setup()
Sorry, something went wrong.
Yup that worked, thanks!
No branches or pull requests
What is your operating system and version?
Ubuntu 20.04
What is your Python version?
Python 3.8.5
What version of pip do you have?
pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8)
If following an online tutorial or guide, please provide a link to the page or section giving you trouble:
https://packaging.python.org/tutorials/packaging-projects/
When I run
python3 -m build
, I get this error:The text was updated successfully, but these errors were encountered: