Hi Pants! I'm following <this guide> to set up my ...
# general
a
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
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
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
@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
Yeah I had assumed you meant the pants repo since you had quoted the pants_dev_deps stuff. Sorry about that!