Not actually sure if this is something I'm doing wrong or some nuance in how pythonanywhere is configured, but here is my problem:
I created a package on test.pypi.org (it's not ready yet for real deployment on pypi.org) and wanted to test it in my flask app here on pythonanywhere. In the bash shell, I ran:
pip install --user -i https://test.pypi.org/simple/ python-fix-explainer==0.0.1
It finds the package, but when trying to install dependencies, it throws errors like:
ERROR: Could not find a version that satisfies the requirement asttokens>=2.1.0 (from python-fix-explainer) (from versions: none)
ERROR: No matching distribution found for asttokens>=2.1.0
If I separately do pip install --user asttokens
, then it moves on and complains about the next dependency.
When I manually installed each dependency with pip install, my actual package installed successfully too.
Any idea why pip might have trouble finding the dependencies?