https://pantsbuild.org/ logo
#general
Title
# general
a

aloof-appointment-30987

02/14/2023, 5:47 PM
Error running
./pants
on Ubuntu running in VirtualBox I'm trying to troubleshoot some issues a colleague is having and he uses Linux. I created a Ubuntu VM and tried to run Pants but encounter an error on bootstrap. Any obvious advice to resolve this?
Copy code
vagrant@linux:~/dev/optios/neuroedge$ ./pants version
Bootstrapping Pants using /usr/bin/python3.8
Creating the virtualenv PEX.
Downloading the Pex PEX.
./pants: line 277: curl: command not found
Traceback (most recent call last):
  File "<stdin>", line 4, in <module>
FileNotFoundError: [Errno 2] No such file or directory: '/home/vagrant/.cache/pants/setup/bootstrap-Linux-x86_64/pants.KbyQlX/pex'
SHA256 of <https://github.com/pantsbuild/pex/releases/download/v2.1.103/pex> is not as expected. Aborting.
1
b

better-sunset-63499

02/14/2023, 5:49 PM
It looks like they are missing the
curl
command. On ubuntu I don't think it's installed by default, so they will need to install it with
apt-get install curl
or get it some other way
a

aloof-appointment-30987

02/14/2023, 5:49 PM
Thank you! I see that now. The hash message distracted me from the real prblem
💯 1
6 Views