Hi everyone, I am a RA working on a python projec...
# general
a
Hi everyone, I am a RA working on a python project for my college and I am trying to use Pants in the college's cluster. When I try to install and bootstrap pants, I get the following message:
Copy code
$ pants version
No Pants configuration was found at or above <HOME>/python/<PROJECT>.
Would you like to configure <HOME>/python/<PROJECT> as a Pants project? (Y/n): Y
Fetching latest stable Pants version since none is configured
Failed to determine release URL for Pants: 2.22.0: pants.2.22.0-cp39-linux_x86_64.pex: URL check failed: <https://github.com/pantsbuild/pants/releases/download/release_2.22.0/pants.2.22.0-cp39-linux_x86_64.pex>: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)>

If this is unexpected (you are using a known good Pants version), try upgrading scie-pants first.
It may also be that the platform linux_x86_64 isn't supported for this version of Pants, or some other intermittent network/service issue.
To get help, please visit: <https://www.pantsbuild.org/community/getting-help>


Error: Failed to establish atomic directory <HOME>/.cache/nce/ab1acf935c4cc43338c604ae7d0f6aa2419f2415d94eb9cae381601dbba70a61/locks/configure-16c7a66cfea377159a997323920bc312e8151a08a160a87c55eeea76d7ca0a38. Population of work directory failed: Boot binding command failed: exit status: 1

Isolates your Pants from the elements.

Please select from the following boot commands:

<default> (when SCIE_BOOT is not set in the environment)  Detects the current Pants installation and launches it.
bootstrap-tools                                           Introspection tools for the Pants bootstrap process.
update                                                    Update scie-pants.

You can select a boot command by setting the SCIE_BOOT environment variable.
I tried what the message suggested by setting the env variable
SCIE_BOOT
to update but that doesn't change the output as well
e
It looks to be that your workplace has a man-in-the-middle proxy, and you need to set up your certificates for internet communication. Your computer probably does this by default, but you need to tell Pants about the certificates so it can use them too. The docs at https://www.pantsbuild.org/2.21/docs/using-pants/restricted-internet-access ought to help you out