<#2087 pex fails to build pycryptodome due to file...
# github-notifications
q
#2087 pex fails to build pycryptodome due to filename too long Issue created by konstin I tried building a pex file for a project that has pycryptodome in its dependency tree and pex fails to include that wheel:
Copy code
$ pex pycryptodome==3.16.0 -o pycryptodome.pex
pid 32518 -> /home/konsti/.pex/venvs/6a452ba209173892c06990a2eddf5e60e775054e/ddab8011daaee380698ac2fb9701af18c90c03f6/bin/python -sE /home/konsti/.pex/venvs/6a452ba209173892c06990a2eddf5e60e775054e/ddab8011daaee380698ac2fb9701af18c90c03f6/pex --disable-pip-version-check --no-python-version-warning --exists-action a --no-input --use-deprecated legacy-resolver --isolated -q --cache-dir /home/konsti/.pex/pip_cache install --no-deps --no-index --only-binary :all: --no-warn-script-location --force-reinstall --ignore-installed --ignore-requires-python --prefix /home/konsti/.pex/installed_wheels/e750a21d8a265b1f9bfb1a28822995ea33511ba7db5e2b55f41fb30781d0d073/pycryptodome-3.16.0-cp35-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl.a4d26b5a48ca4a8c92e788d1879f39e6.work --no-compile /home/konsti/.pex/downloads/resolver_download.e44__tz5/home.konsti.meine-stadt-transparent..venv.bin.python/pycryptodome-3.16.0-cp35-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl exited with 1 and STDERR:
ERROR: Could not install packages due to an EnvironmentError: [Errno 36] File name too long: '/home/konsti/.pex/installed_wheels/e750a21d8a265b1f9bfb1a28822995ea33511ba7db5e2b55f41fb30781d0d073/pycryptodome-3.16.0-cp35-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl.a4d26b5a48ca4a8c92e788d1879f39e6.work'
pex 2.1.127 Ubuntu 20.04 Python 3.8.10 pantsbuild/pex