Using virtualenv
, I'm developing a Dash/Python app. After adding a new package, I ran
pip freeze > requirements.txt
and then tried to push the new changes to the linked Heroku server using git. Before this comment, the previous version on the server was running without an error.
While Heroku used pip
to install the required packages listed in requirements.txt
in the process of deployment, there was a failure.
-----> Installing requirements with pip
...
Processing /opt/concourse/worker/volumes/live/976f8942-f51d-4f0e-7352-2a10f0820d0e/volume/cffi_1625814703974/work
ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: '/opt/concourse/worker/volumes/live/976f8942-f51d-4f0e-7352-2a10f0820d0e/volume/cffi_1625814703974/work'
In requirements.txt
, the corresponding package appears as:
cffi @ file:///opt/concourse/worker/volumes/live/976f8942-f51d-4f0e-7352-2a10f0820d0e/volume/cffi_1625814703974/work
I googled but could not find any information about the use of @ in requirements.txt
. This is the first one that has @ link in the list and pip failed there, so this is suspicious.
Does anyone know what this @ means (I guess it means a link to a remote file), and how I can fix the push failure?
Thanks!