pypa / build

A simple, correct Python build frontend
https://build.pypa.io
MIT License
697 stars 115 forks source link

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

Closed SIVAPRAS329 closed 2 months ago

SIVAPRAS329 commented 2 months ago

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

henryiii commented 2 months ago

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!

SIVAPRAS329 commented 2 months ago

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."

layday commented 2 months ago

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.

SIVAPRAS329 commented 2 months ago

what version of python it works.

henryiii commented 2 months ago

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.