can Pants devs please try running `./pants export ...
# development
h
can Pants devs please try running
./pants export src/python/pants/util/strutil.py
and lmk if it works? I'm getting a not helpful error from pip with https://github.com/pantsbuild/pants/issues/14779
w
Copy code
15:35:48.30 [INFO] Completed: Get interpreter version
Wrote virtualenv for the resolve 'python-default' (using CPython==3.7.*) to dist/export/python/virtualenvs/python-default
👍 1
oh. but running it twice in a row fails with:
Copy code
File "/Users/stuhood/.pex/installed_wheels/3b26741a7e4c212b5ceca6e5548c19bdb5e38851/pex-2.1.70-py2.py3-none-any.whl/pex/venv/pex.py", line 466, in _populate_sources
    os.symlink(os.path.basename(fp.name), venv.join_path("pex"))
FileExistsError: [Errno 17] File exists: '__main__.py' -> '/Users/stuhood/src/pants/dist/export/python/virtualenvs/python-default/3.7.7/pex'
Wrote virtualenv for the resolve 'python-default' (using CPython==3.7.*) to dist/export/python/virtualenvs/python-default
👀 1
h
Ahhhh I reproduce that now. And the original error message I had went away when saying
rm -rf dist/