https://pantsbuild.org/ logo
f

fast-nail-55400

10/20/2022, 4:10 PM
getting
ImportError: cannot import name 'Requirement' from 'pkg_resources' (unknown location)
on
main
at
f004a8a7542736f100612dc0d248d44d0b9ecbbc
(on mac M1)
h

hundreds-father-404

10/20/2022, 4:10 PM
maybe rm your venv in
~/.cache/pants
f

fast-nail-55400

10/20/2022, 4:11 PM
rm -rf ~/.cache/pants/pants_dev_deps
worked
👍 1
h

hundreds-father-404

10/20/2022, 4:14 PM
cool. prob not worth spending a ton of time figuring that out; it's only used by pantsbuild/pants and is a bash script that creates your venv. It's not actual Pants code