Hello all.. I get the following error while runnin...
# general
a
Hello all.. I get the following error while running
pants package ::
Copy code
[ERROR] 1 Exception encountered:

Engine traceback:
  in `package` goal

IntrinsicError: Failed to read link "/Users/username/python/.env/bin/python": Absolute symlink: "/Users/username/.asdf/installs/python/3.11.7/bin/python"
I tried using a virtual environment earlier which I deactivated.. I ran this directly now Could someone help me understand y I am getting this error ?
1
👋 1
Looks like i had to delete the virtual env completely and it worked
b
Yeah, any venvs within your source tree need to be either removed or ignored (eg in a
.gitignore
file adjacent to your
pants.toml
or using the
pants_ignore
setting)