pypa/build

getting error FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-bs6licvb-build/setup.py'

Closed this issue · 5 comments

getting error FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-bs6licvb-build/setup.py'

Any context? Link to project, etc? We had 48 million downloads last month, so please profile some context, build doesn't always produce that error!

I have downloaded the package build-main.zip through git into my local desktop. from my local desktop copied the zip file to linux server. in linux server i have unzipped the build-main.zip. we have Python 3.6.8 installed on this server.
then used command pip3 install build-main. then got the error "Directory '/tmp/build-main' is not installable. File 'setup.py' not found."

Your pip is too old and does not work with the build system used by this project. Python 3.6 is also not supported by the current version of build.

what version of python it works.

You need Python 3.8 or newer to use the current version of build. Every older version of Python is past End-of-Life and not supported by pip, build, and most other tools. Or you can download build 0.9.0, which was the last version to support Python 3.6.