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

ambitious-student-81104

09/19/2021, 1:34 AM
Hi Pants! I'm following this guide to set up my IDE with pants, but failed at this step:
Pants sets up its development virtualenv at 
~/.cache/pants/pants_dev_deps/<arch>.<version>.venv/
. Point your editor to the 
bin/python
 file in this folder, e.g. 
~/.cache/pants/pants_dev_deps/Darwin.py37.venv/bin/python
.
I currently have this in my environment but no
pants_dev_deps
:
Copy code
❯ ls ~/.cache/pants
lmdb_store   named_caches setup
Any help?
f

fast-nail-55400

09/19/2021, 1:47 AM
have you run
./pants
in the repo yet?
1
the venv should be setup whenever you run the
./pants
if it does not exist
h

happy-kitchen-89482

09/19/2021, 6:46 PM
So, those instructions are specific to the pantsbuild/pants repo itself, they are for people hacking on Pants.
The venv that @fast-nail-55400 is referring to is the one that contains the pants code, and is probably not the one you care about?
These instructions are probably more relevant: https://www.pantsbuild.org/docs/setting-up-an-ide
a

ambitious-student-81104

09/19/2021, 10:00 PM
@fast-nail-55400 Yes I have but I don't have that directory. @happy-kitchen-89482 Thanks for the explanation! Yah that makes more sense. Let me follow this one instead.
f

fast-nail-55400

09/19/2021, 10:36 PM
Yeah I had assumed you meant the pants repo since you had quoted the pants_dev_deps stuff. Sorry about that!