ERROR: Could not find a version that satisfies the requirement rasa==2.8.1

Hi, When I run the command “git push heroku master” I get this error:

“ERROR: Could not find a version that satisfies the requirement rasa==2.8.1 (from -r /tmp/build_da0fdf38/requirements.txt (line 157)) (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.1.0, 0.1.1, 0.2.0a2, 0.2.0a3, 0.14.0a5, 0.14.0a6, 0.14.0a7, 0.14.0a8, 0.14.0a9, 0.15.0a6, 1.0.0a1, 1.0.0a2, 1.0.0a3, 1.0.0a4, 1.0.0a5, 1.0.0rc1, 1.0.0rc2, 1.0.0rc3, 1.0.0rc4, 1.0.0rc5, 1.0.0rc6, 1.0.0rc7, 1.0.0rc8, 1.0.0rc9, 1.0.0rc10, 1.0.0rc11, 1.0.0rc12, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.1.7, 1.1.8, 1.2.0a2, 1.2.0a3, 1.2.0a4, 1.2.0a5, 1.2.0a6, 1.2.0a7, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.2.7, 1.2.8, 1.2.9, 1.2.10, 1.2.11, 1.2.12, 1.3.0a1, 1.3.0a2, 1.3.0, 1.3.1a1, 1.3.1a3, 1.3.1a4, 1.3.1a5, 1.3.1a8, 1.3.1a10, 1.3.1a11, 1.3.1a12, 1.3.1a14, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.6, 1.3.7, 1.3.8, 1.3.9, 1.3.10, 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.4.6, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.6.0a1, 1.6.0a2, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.7.3, 1.7.4, 1.8.0, 1.8.1, 1.8.2, 1.8.3, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.9.5, 1.9.6, 1.9.7, 1.10.0a1, 1.10.0a2, 1.10.0, 1.10.1, 1.10.2) remote: ERROR: No matching distribution found for rasa==2.8.1 (from -r /tmp/build_da0fdf38/requirements.txt (line 157)) remote: ! Push rejected, failed to compile Python app.”

@revet are you having requirement.txt file can you share ?

@revet did you created conda environment ? Yes or No?

Hi, sure. I created requirement.txt file with the command: pip freeze > requirements.txt.

This is file’s content:

absl-py==0.13.0

aio-pika==6.8.0

aiofiles==0.7.0

aiohttp==3.7.4

aiormq==3.3.1

alabaster==0.7.12

alembic==1.4.3

appnope==0.1.2

APScheduler==3.6.3

astunparse==1.6.3

async-generator==1.10

async-timeout==3.0.1

attrs==19.3.0

Automat==20.2.0

Babel==2.9.1

backcall==0.2.0

bidict==0.21.2

bleach==4.0.0

blis==0.7.4

boto3==1.18.21

botocore==1.21.21

cachetools==4.2.2

catalogue==2.0.5

certifi==2021.5.30

cffi==1.14.6

characteristic==14.3.0

chardet==3.0.4

click==7.1.2

cloudpickle==1.6.0

colorclass==2.2.0

coloredlogs==15.0.1

colorhash==1.0.3

ConfigArgParse==1.5.2

constantly==15.1.0

croniter==1.0.15

cryptography==3.4.7

cycler==0.10.0

cymem==2.0.5

debugpy==1.4.1

decorator==4.4.2

defusedxml==0.7.1

dm-tree==0.1.6

dnspython==1.16.0

docopt==0.6.2

docutils==0.17.1

duckling==1.8.0

en-core-web-lg @ https://github.com/explosion/spacy-models/releases/download/en_core_web_lg-3.1.0/en_core_web_lg-3.1.0-py3-none-any.whl

en-core-web-md @ https://github.com/explosion/spacy-models/releases/download/en_core_web_md-3.1.0/en_core_web_md-3.1.0-py3-none-any.whl

en-core-web-sm @ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.1.0/en_core_web_sm-3.1.0-py3-none-any.whl

entrypoints==0.3

fakeredis==1.6.0

fbmessenger==6.0.0

Flask==2.0.1

future==0.18.2

gast==0.3.3

gevent==21.8.0

gitdb==4.0.7

GitPython==3.1.18

google-auth==1.34.0

google-auth-oauthlib==0.4.5

google-pasta==0.2.0

graphviz==0.17

greenlet==1.1.1

grpcio==1.39.0

h11==0.9.0

h5py==2.10.0

httpcore==0.11.1

httplib2==0.19.1

httptools==0.3.0

httpx==0.15.4

humanfriendly==9.2

hyperlink==21.0.0

idna==2.10

imagesize==1.2.0

incremental==21.3.0

ipykernel==6.2.0

ipython==7.26.0

ipython-genutils==0.2.0

isodate==0.6.0

itsdangerous==2.0.1

jedi==0.18.0

Jinja2==3.0.1

jmespath==0.10.0

joblib==1.0.1

JPype1==1.3.0

jsonpickle==2.0.0

jsonschema==3.2.0

jupyter-client==6.1.12

jupyter-core==4.7.1

jupyterlab-pygments==0.1.2

kafka-python==1.4.7

keras==2.6.0

Keras-Preprocessing==1.1.2

kiwisolver==1.3.1

klein==21.8.0

Mako==1.1.4

Markdown==3.3.4

MarkupSafe==2.0.1

matplotlib==3.3.4

matplotlib-inline==0.1.2

mattermostwrapper==2.2

mistune==0.8.4

mitie @ git+https://github.com/mit-nlp/MITIE.git@541bede02fa23a3c1b3756071827e1d0ff8b1143

multidict==5.1.0

murmurhash==1.0.5

nbclient==0.5.4

nbconvert==6.1.0

nbformat==5.1.3

nbsphinx==0.8.7

nest-asyncio==1.5.1

networkx==2.5.1

numpy==1.18.5

oauth2client==4.1.3

oauthlib==3.1.1

opt-einsum==3.3.0

packaging==20.9

pamqp==2.3.0

pandas==1.3.2 pandoc==1.1.0 pandocfilters==1.4.3 parso==0.8.2 pathlib==1.0.1 pathy==0.6.0 pexpect==4.8.0 pickleshare==0.7.5 pika==1.2.0 Pillow==8.3.1 plumbum==1.7.0 ply==3.11 preshed==3.0.5 prompt-toolkit==2.0.10 protobuf==3.17.3 psycopg2-binary==2.9.1 ptyprocess==0.7.0 pyasn1==0.4.8 pyasn1-modules==0.2.8 pycparser==2.20 pydantic==1.8.2 pydot==1.4.2 Pygments==2.10.0 PyJWT==2.0.0 pykwalify==1.8.0 pymongo==3.10.1

pyparsing==2.4.7

pyrsistent==0.18.0

pyTelegramBotAPI==3.8.2

python-crfsuite==0.9.7

python-dateutil==2.8.2

python-editor==1.0.4

python-engineio==4.2.1

python-socketio==5.4.0

python-telegram-bot==13.7

pytz==2021.1

PyYAML==5.4.1

pyzmq==22.2.1

questionary==1.5.2

rasa==2.8.1

rasa-nlu==0.11.5

rasa-sdk==2.8.1

rasa-x==0.42.0

redis==3.5.3

regex==2021.7.6

requests==2.25.1

requests-oauthlib==1.3.0

requests-toolbelt==0.9.1

rfc3986==1.5.0

rocketchat-API==1.16.0

rsa==4.7.2

ruamel.yaml==0.16.13

ruamel.yaml.clib==0.2.6

s3transfer==0.5.0

sanic==20.12.3

Sanic-Cors==0.10.0.post3

sanic-jwt==1.6.0

Sanic-Plugins-Framework==0.9.5

scikit-learn==0.24.2

scipy==1.7.1

sentry-sdk==1.2.0

simplejson==3.17.3

six==1.15.0

sklearn-crfsuite==0.3.6

slackclient==2.9.3 smart-open==5.1.0 smmap==4.0.0 sniffio==1.2.0 snowballstemmer==2.1.0 sortedcontainers==2.4.0 spacy==3.1.1 spacy-legacy==3.0.8 Sphinx==4.1.2 sphinxcontrib-applehelp==1.0.2 sphinxcontrib-devhelp==1.0.2 sphinxcontrib-htmlhelp==2.0.0 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 SQLAlchemy==1.4.22 srsly==2.4.1 tabulate==0.8.9 tensorboard==2.6.0 tensorboard-data-server==0.6.1 tensorboard-plugin-wit==1.8.0 tensorflow==2.3.4 tensorflow-addons==0.13.0 tensorflow-estimator==2.3.0 tensorflow-hub==0.12.0 tensorflow-probability==0.13.0 tensorflow-text==2.3.0 termcolor==1.1.0 terminaltables==3.1.0 testpath==0.5.0 thinc==8.0.8 threadpoolctl==2.2.0 tornado==6.1 tqdm==4.62.1 traitlets==5.0.5 Tubes==0.2.0 twilio==6.50.1 Twisted==21.7.0 typeguard==2.12.1 typer==0.3.2 typing==3.7.4.3 typing-extensions==3.10.0.0 tzlocal==2.1 ujson==1.35 urllib3==1.26.6 uvloop==0.14.0 wasabi==0.8.2 wcwidth==0.2.5 webencodings==0.5.1 webexteamssdk==1.6 websockets==8.1 Werkzeug==2.0.1 wrapt==1.12.1 yarl==1.6.3 zope.event==4.5.0 zope.interface==5.4.0

@revet you just need to upload the file, please delete the above post and upload the file while using upwards error in editor.

@revet did you created conda environment ? Yes or No?

no

@revet please create the conda environment first

  1. conda create -name “Your_Environment_Name” python=3.8 or python==3.7.7
  2. conda activate Your_Environment_Name

@revet and then install rasa and rasa-sdk, I guess then you not need requirement.txt file and then push to Heroku with you project? Does it make sense?

@revet keep in mind to use rasa x= 0.39.3 rather then rasa-x==0.42.0

@revet for your reference only HOW TO DEPLOY RASA CHATBOT WITH HEROKU | FREE FOR LIFETIME | DOCKER - YouTube but it have docker.

Note: First run the code on local machine and if successful push to Heroku over the period of time a lot had changed.

Hope this will solve your issue.

Hi, Thanks! I have another question. I write main.py file with run() function, This func get a user question and return the intent with high confidence level (after our manipulation). the deploy on Heroku is the same like without my .py file?

@revet till the time it can run the .py then it will run or if all the required files of the project to run the code.

@revet can I asked why you want to deploy on Heroku or what is your front end?

@nik202 I use only the rasa NLU and combining the result obtained in my app.

@revet Ok, do see the video also and follow the suggestion, hope you will archived your end goal. Good Luck!

@nik202 Thanks! I really appreciate it. I’ll update soon.

@revet Hey, your issue solved? Hope suggestion helped you?

@revet Can I request you to please close this thread with the solution for others and Good Luck!

Hello, nice to say hello, I am deploying a django project in heroku and I just entered the command “git push heroku master” in my terminal, but it throws me an error similar to the one from the partner, which is the following "ERROR : Could not find a version that satisfies the requirement freeze == 0.0.1 "I think I should update the freeze but I can’t get how, please, if you can help me, I appreciate a lot, I am attaching my requirements.txt file:

asgiref==3.3.4

astroid==2.5.6

awscli==1.20.40

botocore==1.21.40

certifi==2021.10.8

cffi==1.14.6

charset-normalizer==2.0.6

click==8.0.1

colorama==0.4.3

colorise==1.0.1

cryptography==3.4.8

cycler==0.10.0

dj-database-url==0.5.0

Django==3.0.5

django-ckeditor==6.1.0

django-js-asset==1.2.2

docutils==0.15.2

freeze==0.0.1

future==0.18.2

gunicorn==20.1.0

heroku-cli-wrapper==0.0.8

heroku.env==0.5.5

heroku3==4.2.3

idna==3.2

isort==5.8.0

jmespath==0.10.0

kiwisolver==1.3.2

lazy-object-proxy==1.6.0

matplotlib==3.4.3

mccabe==0.6.1

sql-connector==2.2.9

numpy==1.21.2

pandas==1.3.3

Pillow==8.2.0

psycopg2==2.8.6

pyasn1==0.4.8

pycparser==2.20

pylint==2.8.3

pylint-django==2.4.4

pylint-plugin-utils==0.6

pymodbus==2.5.2

pyodbc==4.0.32

pyparsing==2.4.7

pyserial==3.5

python-dateutil==2.8.2

python-decouple==3.5

pytz==2021.1

PyYAML==5.4.1

requests==2.26.0

rsa==4.7.2

s3transfer==0.5.0

six==1.16.0

sqlparse==0.4.1

toml==0.10.2

urllib3==1.26.6

whitenoise==5.3.0

wrapt==1.12.1

I’ve been having the same problem. heroku is not supporting rasa version 3.0. Does anyone know if the problem persists in the paid version of the cloud?