FROM python:3.7-slim
...
RUN pip install --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt
...
#3 Don’t forget to change the type of your Heroku app:
heroku stack:set container --app YOUR_APP_NAME
This way I was able to control both the Python and the pip version. Prior to moving to the Docker deployments I tried upgrading Python to the latest stack in Heroku (through runtime.txt), but to no avail: pip won’t get upgraded beyond 9.0.x.
This is cos the version of TF (1.15) that the rasa installer requires is pretty old and isn’t compatible with python 3.8. The solution would be to downgrade python to 3.6 (maybe 3.7) and try again.
is --user equally relevant for a virtualenv
what versions are you expecting to arrive at?
I thought this problem is the version of TF being used is related to a specific python version? maybe worth posting your exact env that you were able to install with?
I can confirm your solution did NOT work with a python 3.8 virtual env
@JulianGerhard is there any other way of installing it please give me becuase now it impact my work . Its working in my linux but now i am shifting linux to window so last 5 days i face this issue