Forums

missing /home/conda/feedstock_root/build/artifacts/backcall_#####/work for requirements.txt pip install

Hello, I keep getting the following error when attempting to install packages in my virtual environment using requirements.txt

ERROR: Could not install packages due to an OSERROR: [Errno 2] No such file or directory: /home/conda/feedstock_root/build_artifacts/backcall_{long number}work for requirements.txt pip install

Are there other packages I should install first?

Thanks, TJ

That's a weird error! Is there more to it, like some indication of which package expects to have that file there? Are all of the requirements in your requirements.txt file normal packages from PyPI, or are some of them specified as filenames? Perhaps you could share the contents of the requirements file here, so long as your comfortable that there isn't any private information in it.

There wasn't anything specific about which packages were missing, which of course makes this harder to troubleshoot. I don't mind sharing the requirements.txt file ... https://github.com/tjturnage/dash-web/blob/master/requirements.txt

Also, for additional background, I was following these steps ... https://docs.google.com/document/d/1HtJcu3ZWsDYEIv8srod16z4jD4HEeHuH/edit

Thanks, TJ

You have bunch of lines with "@" followed by a paths on (supposedly) your local machine in the requirements.txt. That will not work on PythonAnywhere, since those paths are not valid here and the reqired files are not there.

I didn't notice that, thanks. It certainly defeats the purpose of creating a portable requirements.txt file. I installed a different package to help me create a new simplified requirements.txt file ...

https://github.com/tjturnage/dash-web/blob/master/requirements.txt

and this worked great. Thanks for leading me in the right direction!

TJ

Great, glad you got that working!