I am trying to deplow a django project to heroku but i am getting this error.
ERROR: Command errored out with exit status 1: /app/.heroku/python/bin/python /app/.heroku/python/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmp5mrz1adn Check the logs for full command output.
! Push rejected, failed to compile Python app.
! Push failed
This is the entire log
ctivity Feed Build LogID 314cb820-4652-417b-9486-61d629e4a6a9
-----> Building on the Heroku-20 stack
-----> Using buildpack: heroku/python
-----> Python app detected
-----> Using Python version specified in runtime.txt
-----> Installing python-3.8.12
-----> Installing pip 20.2.4, setuptools 57.5.0 and wheel 0.37.0
-----> Installing SQLite3
-----> Installing requirements with pip
Collecting alembic==1.6.5
Downloading alembic-1.6.5-py2.py3-none-any.whl (164 kB)
Collecting asgiref==3.3.4
Downloading asgiref-3.3.4-py3-none-any.whl (22 kB)
Collecting Babel==2.9.1
Downloading Babel-2.9.1-py2.py3-none-any.whl (8.8 MB)
Collecting bcrypt==3.2.0
Downloading bcrypt-3.2.0-cp36-abi3-manylinux2010_x86_64.whl (63 kB)
Collecting bidict==0.21.2
Downloading bidict-0.21.2-py2.py3-none-any.whl (37 kB)
Collecting blinker==1.4
Downloading blinker-1.4.tar.gz (111 kB)
Collecting Brotli==1.0.9
Downloading Brotli-1.0.9-cp38-cp38-manylinux1_x86_64.whl (357 kB)
Collecting cffi==1.14.6
Downloading cffi-1.14.6-cp38-cp38-manylinux1_x86_64.whl (411 kB)
Collecting cheroot==8.5.2
Downloading cheroot-8.5.2-py2.py3-none-any.whl (97 kB)
Collecting click==7.1.2
Downloading click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting cryptography==3.4.7
Downloading cryptography-3.4.7-cp36-abi3-manylinux2014_x86_64.whl (3.2 MB)
Collecting Django==3.2.8
Downloading Django-3.2.8-py3-none-any.whl (7.9 MB)
Collecting django-ckeditor==6.1.0
Downloading django_ckeditor-6.1.0-py2.py3-none-any.whl (2.4 MB)
Collecting django-filter==2.4.0
Downloading django_filter-2.4.0-py3-none-any.whl (73 kB)
Collecting django-js-asset==1.2.2
Downloading django_js_asset-1.2.2-py2.py3-none-any.whl (5.8 kB)
Collecting django-multiselectfield==0.1.12
Downloading django_multiselectfield-0.1.12-py3-none-any.whl (15 kB)
Collecting dnspython==1.16.0
Downloading dnspython-1.16.0-py2.py3-none-any.whl (188 kB)
Collecting email-validator==1.1.3
Downloading email_validator-1.1.3-py2.py3-none-any.whl (18 kB)
Collecting eventlet==0.31.0
Downloading eventlet-0.31.0-py2.py3-none-any.whl (224 kB)
Collecting Flask==1.1.4
Downloading Flask-1.1.4-py2.py3-none-any.whl (94 kB)
Collecting Flask-BabelEx==0.9.4
Downloading Flask_BabelEx-0.9.4-py3-none-any.whl (8.7 kB)
Collecting Flask-Compress==1.10.1
Downloading Flask_Compress-1.10.1-py3-none-any.whl (7.9 kB)
Collecting Flask-Gravatar==0.5.0
Downloading Flask_Gravatar-0.5.0-py2.py3-none-any.whl (7.5 kB)
Collecting Flask-Login==0.5.0
Downloading Flask_Login-0.5.0-py2.py3-none-any.whl (16 kB)
Collecting Flask-Mail==0.9.1
Downloading Flask-Mail-0.9.1.tar.gz (45 kB)
Collecting Flask-Migrate==2.7.0
Downloading Flask_Migrate-2.7.0-py2.py3-none-any.whl (13 kB)
Collecting Flask-Paranoid==0.2.0
Downloading Flask_Paranoid-0.2.0-py2.py3-none-any.whl (4.1 kB)
Collecting Flask-Principal==0.4.0
Downloading Flask-Principal-0.4.0.tar.gz (5.5 kB)
Collecting Flask-Security-Too==4.0.1
Downloading Flask_Security_Too-4.0.1-py2.py3-none-any.whl (244 kB)
Collecting Flask-SocketIO==5.1.0
Downloading Flask_SocketIO-5.1.0-py2.py3-none-any.whl (16 kB)
Collecting Flask-SQLAlchemy==2.5.1
Downloading Flask_SQLAlchemy-2.5.1-py2.py3-none-any.whl (17 kB)
Collecting Flask-WTF==0.15.1
Downloading Flask_WTF-0.15.1-py2.py3-none-any.whl (13 kB)
Collecting greenlet==1.1.0
Downloading greenlet-1.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (164 kB)
Collecting gunicorn==20.1.0
Downloading gunicorn-20.1.0-py3-none-any.whl (79 kB)
Collecting httpagentparser==1.9.1
Downloading httpagentparser-1.9.1.tar.gz (7.9 kB)
Collecting idna==3.2
Downloading idna-3.2-py3-none-any.whl (59 kB)
Collecting importlib-resources==5.2.2
Downloading importlib_resources-5.2.2-py3-none-any.whl (27 kB)
Collecting itsdangerous==1.1.0
Downloading itsdangerous-1.1.0-py2.py3-none-any.whl (16 kB)
Collecting jaraco.functools==3.3.0
Downloading jaraco.functools-3.3.0-py3-none-any.whl (6.8 kB)
Collecting Jinja2==2.11.3
Downloading Jinja2-2.11.3-py2.py3-none-any.whl (125 kB)
Collecting ldap3==2.9
Downloading ldap3-2.9-py2.py3-none-any.whl (430 kB)
Collecting Mako==1.1.4
Downloading Mako-1.1.4-py2.py3-none-any.whl (75 kB)
Collecting MarkupSafe==2.0.1
Downloading MarkupSafe-2.0.1-cp38-cp38-manylinux2010_x86_64.whl (30 kB)
Collecting more-itertools==8.8.0
Downloading more_itertools-8.8.0-py3-none-any.whl (48 kB)
Collecting paramiko==2.7.2
Downloading paramiko-2.7.2-py2.py3-none-any.whl (206 kB)
Collecting passlib==1.7.4
Downloading passlib-1.7.4-py2.py3-none-any.whl (525 kB)
Collecting pgadmin4==5.4
Downloading pgadmin4-5.4-py3-none-any.whl (99.6 MB)
Collecting Pillow==8.3.1
Downloading Pillow-8.3.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (3.0 MB)
Collecting postgres==4.0
Downloading postgres-4.0-py2.py3-none-any.whl (21 kB)
Collecting psutil==5.8.0
Downloading psutil-5.8.0-cp38-cp38-manylinux2010_x86_64.whl (296 kB)
Collecting psycopg2==2.9.1
Downloading psycopg2-2.9.1.tar.gz (379 kB)
Collecting psycopg2-binary==2.8.6
Downloading psycopg2_binary-2.8.6-cp38-cp38-manylinux1_x86_64.whl (3.0 MB)
Collecting psycopg2-pool==1.1
Downloading psycopg2_pool-1.1-py2.py3-none-any.whl (7.3 kB)
Collecting pyasn1==0.4.8
Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
Collecting pycparser==2.20
Downloading pycparser-2.20-py2.py3-none-any.whl (112 kB)
Collecting PyNaCl==1.4.0
Downloading PyNaCl-1.4.0-cp35-abi3-manylinux1_x86_64.whl (961 kB)
Collecting python-dateutil==2.8.1
Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting python-editor==1.0.4
Downloading python_editor-1.0.4-py3-none-any.whl (4.9 kB)
Collecting python-engineio==4.2.0
Downloading python_engineio-4.2.0-py2.py3-none-any.whl (51 kB)
Collecting python-socketio==5.3.0
Downloading python_socketio-5.3.0-py2.py3-none-any.whl (53 kB)
Collecting pytz==2021.1
Downloading pytz-2021.1-py2.py3-none-any.whl (510 kB)
Collecting pywinpty==1.1.1
Downloading pywinpty-1.1.1.tar.gz (48 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /app/.heroku/python/bin/python /app/.heroku/python/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmp5mrz1adn
cwd: /tmp/pip-install-19xig8s3/pywinpty
Complete output (6 lines):
Checking for Rust toolchain...
Cargo, the Rust package manager, is not installed or is not on PATH.
This package requires Rust and Cargo to compile extensions. Install it through
the system's package manager or via https://rustup.rs/
----------------------------------------
ERROR: Command errored out with exit status 1: /app/.heroku/python/bin/python /app/.heroku/python/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmp5mrz1adn Check the logs for full command output.
! Push rejected, failed to compile Python app.
! Push failed
my runtime.txt contains the python version 3.8.12 which is supported by heroku.
Please suggest me what should I do to resolve this error.
After carefully reading log file, here's what I recommend to do for clean deploy.
While venv is activated and you're in project directory (where manage.py live), do the following:
Open requirements.txt
Delete unneeded modules from requirements.txt
Uninstall unneeded modules with pip uninstall module
Now run pip freeze requirements.txt
Deactivate venv
Then add requirements.txt to source control git add -A
Commit your changes git commit -m "deleted unneeded modules"
If you have existed Heroku app, connect to it with
heroku git:remote -a myapp, else pass this step
Deploy, git push heroku master
If you are unsure which modules your project need and I can't determin exactly the project's requirements but if you have basic project, you only need 3 modules which are Django, psycopg2-binary, gunicorn, so do the following for clean deploy:
Delete venv
Outside project directory, create new one
Activate venv
Install the modules you need, probably Django, psycopg2-binary, gunicorn
Now run pip freeze requirements.txt
Deactivate venv
Then add requirements.txt to source control git add -A
Commit your changes git commit -m "deleted unneeded modules"
If you have existed Heroku app, connect to it with
heroku git:remote -a myapp, else pass this step
Deploy, git push heroku master
Related
I am trying to install python packages in the requirements.txt and get this fatal error.
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pqcrypto
Failed to build pqcrypto
ERROR: Could not build wheels for pqcrypto, which is required to install pyproject.toml-based projects
I tried many solutions in Github and here, but still didn't figure it out.
My python version is 3.7.0 and pip version is 22.0.3
This is my requriements.txt file content.
argon2-cffi==21.3.0
argon2-cffi-bindings==21.2.0
atomicwrites==1.4.0
attrs==21.4.0
Automat==20.2.0
beautifulsoup4==4.10.0
bleach==4.1.0
certifi==2021.10.8
cffi==1.15.0
charset-normalizer==2.0.10
click==8.0.3
constantly==15.1.0
cryptography==2.8
cycler==0.11.0
Deprecated==1.2.13
docutils==0.18.1
Flask==2.0.2
flask-localtunnel==1.0.1
flask-ngrok==0.0.25
fonttools==4.28.5
future==0.18.2
hyperlink==21.0.0
idna==3.3
importlib-metadata==4.10.0
incremental==21.3.0
iniconfig==1.1.1
ipaddress==1.0.23
itsdangerous==2.0.1
Jinja2==3.0.3
keyring==23.5.0
kiwisolver==1.3.2
load-bar==0.0.7
MarkupSafe==2.0.1
matplotlib==3.5.1
netifaces==0.11.0
networkx==2.6.3
ntplib==0.4.0
numpy==1.21.5
numba==0.55.1
p2pnetwork==1.1
packaging==21.3
pandas==1.1.5
Pillow==9.0.0
pkginfo==1.8.2
pluggy==1.0.0
pqcrypto==0.1.3
psutil==5.9.0
py==1.11.0
py-cpuinfo==8.0.0
pyaes==1.6.1
pycparser==2.21
pycryptodome==3.12.0
Pygments==2.11.2
pyp2p==0.8.2
pyparsing==3.0.6
pytest==6.2.5
python-dateutil==2.8.2
pytz==2021.3
pywin32-ctypes==0.2.0
readme-renderer==32.0
redis==4.1.0
requests==2.27.1
requests-toolbelt==0.9.1
rfc3986==2.0.0
six==1.16.0
soupsieve==2.3.1
termcolor==1.1.0
toml==0.10.2
tqdm==4.62.3
twine==3.7.1
Twisted==21.7.0
twisted-iocpsupport==1.0.2
typing==3.7.4.3
typing_extensions==4.0.1
urllib3==1.26.7
webencodings==0.5.1
Werkzeug==2.0.2
win-inet-pton==1.1.0
wrapt==1.13.3
zipp==3.7.0
zope.interface==5.4.0
Also changed the cryptograph version to 2.8, but not working. Please share your idea if you know the best solutions. Thanks in advance.
Note:
I am using windows 10. And this is the full log.
Collecting argon2-cffi==21.3.0
Using cached argon2_cffi-21.3.0-py3-none-any.whl (14 kB)
Collecting argon2-cffi-bindings==21.2.0
Using cached argon2_cffi_bindings-21.2.0-cp36-abi3-win_amd64.whl (30 kB)
Collecting atomicwrites==1.4.0
Using cached atomicwrites-1.4.0-py2.py3-none-any.whl (6.8 kB)
Collecting attrs==21.4.0
Using cached attrs-21.4.0-py2.py3-none-any.whl (60 kB)
Collecting Automat==20.2.0
Using cached Automat-20.2.0-py2.py3-none-any.whl (31 kB)
Collecting beautifulsoup4==4.10.0
Using cached beautifulsoup4-4.10.0-py3-none-any.whl (97 kB)
Collecting bleach==4.1.0
Using cached bleach-4.1.0-py2.py3-none-any.whl (157 kB)
Collecting certifi==2021.10.8
Using cached certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
Collecting cffi==1.15.0
Using cached cffi-1.15.0-cp37-cp37m-win_amd64.whl (179 kB)
Collecting charset-normalizer==2.0.10
Using cached charset_normalizer-2.0.10-py3-none-any.whl (39 kB)
Collecting click==8.0.3
Using cached click-8.0.3-py3-none-any.whl (97 kB)
Collecting constantly==15.1.0
Using cached constantly-15.1.0-py2.py3-none-any.whl (7.9 kB)
Collecting cryptography==36.0.1
Using cached cryptography-36.0.1-cp36-abi3-win_amd64.whl (2.2 MB)
Collecting cycler==0.11.0
Using cached cycler-0.11.0-py3-none-any.whl (6.4 kB)
Collecting Deprecated==1.2.13
Using cached Deprecated-1.2.13-py2.py3-none-any.whl (9.6 kB)
Collecting docutils==0.18.1
Using cached docutils-0.18.1-py2.py3-none-any.whl (570 kB)
Collecting Flask==2.0.2
Using cached Flask-2.0.2-py3-none-any.whl (95 kB)
Collecting flask-localtunnel==1.0.1
Using cached flask_localtunnel-1.0.1-py3-none-any.whl (4.7 kB)
Collecting flask-ngrok==0.0.25
Using cached flask_ngrok-0.0.25-py3-none-any.whl (3.1 kB)
Collecting fonttools==4.28.5
Using cached fonttools-4.28.5-py3-none-any.whl (890 kB)
Collecting future==0.18.2
Using cached future-0.18.2-py3-none-any.whl
Collecting hyperlink==21.0.0
Using cached hyperlink-21.0.0-py2.py3-none-any.whl (74 kB)
Collecting idna==3.3
Using cached idna-3.3-py3-none-any.whl (61 kB)
Collecting importlib-metadata==4.10.0
Using cached importlib_metadata-4.10.0-py3-none-any.whl (17 kB)
Collecting incremental==21.3.0
Using cached incremental-21.3.0-py2.py3-none-any.whl (15 kB)
Collecting iniconfig==1.1.1
Using cached iniconfig-1.1.1-py2.py3-none-any.whl (5.0 kB)
Collecting ipaddress==1.0.23
Using cached ipaddress-1.0.23-py2.py3-none-any.whl (18 kB)
Collecting itsdangerous==2.0.1
Using cached itsdangerous-2.0.1-py3-none-any.whl (18 kB)
Collecting Jinja2==3.0.3
Using cached Jinja2-3.0.3-py3-none-any.whl (133 kB)
Collecting keyring==23.5.0
Using cached keyring-23.5.0-py3-none-any.whl (33 kB)
Collecting kiwisolver==1.3.2
Using cached kiwisolver-1.3.2-cp37-cp37m-win_amd64.whl (51 kB)
Collecting load-bar==0.0.7
Using cached load_bar-0.0.7-py3-none-any.whl (5.5 kB)
Collecting MarkupSafe==2.0.1
Using cached MarkupSafe-2.0.1-cp37-cp37m-win_amd64.whl (14 kB)
Collecting matplotlib==3.5.1
Using cached matplotlib-3.5.1-cp37-cp37m-win_amd64.whl (7.2 MB)
Collecting netifaces==0.11.0
Using cached netifaces-0.11.0-cp37-cp37m-win_amd64.whl (16 kB)
Collecting networkx==2.6.3
Using cached networkx-2.6.3-py3-none-any.whl (1.9 MB)
Collecting ntplib==0.4.0
Using cached ntplib-0.4.0-py2.py3-none-any.whl (6.8 kB)
Collecting numpy==1.21.5
Using cached numpy-1.21.5-cp37-cp37m-win_amd64.whl (14.0 MB)
Collecting p2pnetwork==1.1
Using cached p2pnetwork-1.1-py3-none-any.whl (30 kB)
Collecting packaging==21.3
Using cached packaging-21.3-py3-none-any.whl (40 kB)
Collecting pandas==1.1.5
Using cached pandas-1.1.5-cp37-cp37m-win_amd64.whl (8.7 MB)
Collecting Pillow==9.0.0
Using cached Pillow-9.0.0-cp37-cp37m-win_amd64.whl (3.2 MB)
Collecting pkginfo==1.8.2
Using cached pkginfo-1.8.2-py2.py3-none-any.whl (26 kB)
Collecting pluggy==1.0.0
Using cached pluggy-1.0.0-py2.py3-none-any.whl (13 kB)
Collecting pqcrypto==0.1.3
Using cached pqcrypto-0.1.3.tar.gz (1.4 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status
=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='
pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/psutil/
Collecting psutil==5.9.0
Using cached psutil-5.9.0-cp37-cp37m-win_amd64.whl (246 kB)
Collecting py==1.11.0
Using cached py-1.11.0-py2.py3-none-any.whl (98 kB)
Collecting py-cpuinfo==8.0.0
Using cached py_cpuinfo-8.0.0-py3-none-any.whl
Collecting pyaes==1.6.1
Using cached pyaes-1.6.1-py3-none-any.whl
Collecting pycparser==2.21
Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Collecting pycryptodome==3.12.0
Using cached pycryptodome-3.12.0-cp35-abi3-win_amd64.whl (1.8 MB)
Collecting Pygments==2.11.2
Using cached Pygments-2.11.2-py3-none-any.whl (1.1 MB)
Collecting pyp2p==0.8.2
Using cached pyp2p-0.8.2-py2.py3-none-any.whl (66 kB)
Collecting pyparsing==3.0.6
Using cached pyparsing-3.0.6-py3-none-any.whl (97 kB)
Collecting pyroute2==0.6.5
Using cached pyroute2-0.6.5-py3-none-any.whl
Collecting pyroute2.core==0.6.5
Using cached pyroute2.core-0.6.5-py3-none-any.whl
Collecting pyroute2.ethtool==0.6.5
Using cached pyroute2.ethtool-0.6.5-py3-none-any.whl
Collecting pyroute2.ipdb==0.6.5
Using cached pyroute2.ipdb-0.6.5-py3-none-any.whl
Collecting pyroute2.ipset==0.6.5
Using cached pyroute2.ipset-0.6.5-py3-none-any.whl
Collecting pyroute2.ndb==0.6.5
Using cached pyroute2.ndb-0.6.5-py3-none-any.whl
Collecting pyroute2.nftables==0.6.5
Using cached pyroute2.nftables-0.6.5-py3-none-any.whl
Collecting pyroute2.nslink==0.6.5
Using cached pyroute2.nslink-0.6.5-py3-none-any.whl
Collecting pytest==6.2.5
Using cached pytest-6.2.5-py3-none-any.whl (280 kB)
Collecting python-dateutil==2.8.2
Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting pytz==2021.3
Using cached pytz-2021.3-py2.py3-none-any.whl (503 kB)
Collecting pywin32-ctypes==0.2.0
Using cached pywin32_ctypes-0.2.0-py2.py3-none-any.whl (28 kB)
Collecting readme-renderer==32.0
Using cached readme_renderer-32.0-py3-none-any.whl (16 kB)
Collecting redis==4.1.0
Using cached redis-4.1.0-py3-none-any.whl (171 kB)
Collecting requests==2.27.1
Using cached requests-2.27.1-py2.py3-none-any.whl (63 kB)
Collecting requests-toolbelt==0.9.1
Using cached requests_toolbelt-0.9.1-py2.py3-none-any.whl (54 kB)
Collecting rfc3986==2.0.0
Using cached rfc3986-2.0.0-py2.py3-none-any.whl (31 kB)
Collecting six==1.16.0
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting soupsieve==2.3.1
Using cached soupsieve-2.3.1-py3-none-any.whl (37 kB)
Collecting termcolor==1.1.0
Using cached termcolor-1.1.0-py3-none-any.whl
Collecting toml==0.10.2
Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting tqdm==4.62.3
Using cached tqdm-4.62.3-py2.py3-none-any.whl (76 kB)
Collecting twine==3.7.1
Using cached twine-3.7.1-py3-none-any.whl (35 kB)
Collecting typing==3.7.4.3
Using cached typing-3.7.4.3-py3-none-any.whl
Collecting typing_extensions==4.0.1
Using cached typing_extensions-4.0.1-py3-none-any.whl (22 kB)
Collecting urllib3==1.26.7
Using cached urllib3-1.26.7-py2.py3-none-any.whl (138 kB)
Collecting webencodings==0.5.1
Using cached webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Collecting Werkzeug==2.0.2
Using cached Werkzeug-2.0.2-py3-none-any.whl (288 kB)
Collecting win-inet-pton==1.1.0
Using cached win_inet_pton-1.1.0-py2.py3-none-any.whl (4.8 kB)
Collecting wrapt==1.13.3
Using cached wrapt-1.13.3-cp37-cp37m-win_amd64.whl (34 kB)
Collecting zipp==3.7.0
Using cached zipp-3.7.0-py3-none-any.whl (5.3 kB)
Collecting zope.interface==5.4.0
Using cached zope.interface-5.4.0-cp37-cp37m-win_amd64.whl (210 kB)
Collecting colorama
Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Collecting twisted>=15.4.0
Using cached Twisted-22.2.0-py3-none-any.whl (3.1 MB)
Requirement already satisfied: setuptools in c:\users\phoenix\appdata\local\prog
rams\python\python37\lib\site-packages (from zope.interface==5.4.0->-r requireme
nts.txt (line 86)) (60.9.3)
Collecting twisted-iocpsupport<2,>=1.0.2
Using cached twisted_iocpsupport-1.0.2-cp37-cp37m-win_amd64.whl (44 kB)
Building wheels for collected packages: pqcrypto
Building wheel for pqcrypto (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for pqcrypto (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [25 lines of output]
A setup.py file already exists. Using it.
Traceback (most recent call last):
File "C:\Users\Phoenix\AppData\Local\Temp\pip-install-5_oe60ou\pqcrypto_
319c2d280c2742cd8507402183c76f28\setup.py", line 2, in <module>
from setuptools import setup
ModuleNotFoundError: No module named 'setuptools'
Traceback (most recent call last):
File "C:\Users\Phoenix\AppData\Local\Programs\Python\Python37\lib\site-p
ackages\pip\_vendor\pep517\in_process\_in_process.py", line 363, in <module>
main()
File "C:\Users\Phoenix\AppData\Local\Programs\Python\Python37\lib\site-p
ackages\pip\_vendor\pep517\in_process\_in_process.py", line 345, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "C:\Users\Phoenix\AppData\Local\Programs\Python\Python37\lib\site-p
ackages\pip\_vendor\pep517\in_process\_in_process.py", line 262, in build_wheel
metadata_directory)
File "C:\Users\Phoenix\AppData\Local\Temp\pip-build-env-3hv2lijm\overlay
\Lib\site-packages\poetry\core\masonry\api.py", line 68, in build_wheel
return unicode(WheelBuilder.make_in(poetry, Path(wheel_directory)))
File "C:\Users\Phoenix\AppData\Local\Temp\pip-build-env-3hv2lijm\overlay
\Lib\site-packages\poetry\core\masonry\builders\wheel.py", line 78, in make_in
wb.build()
File "C:\Users\Phoenix\AppData\Local\Temp\pip-build-env-3hv2lijm\overlay
\Lib\site-packages\poetry\core\masonry\builders\wheel.py", line 110, in build
self._build(zip_file)
File "C:\Users\Phoenix\AppData\Local\Temp\pip-build-env-3hv2lijm\overlay
\Lib\site-packages\poetry\core\masonry\builders\wheel.py", line 162, in _build
self._run_build_command(setup)
File "C:\Users\Phoenix\AppData\Local\Temp\pip-build-env-3hv2lijm\overlay
\Lib\site-packages\poetry\core\masonry\builders\wheel.py", line 196, in _run_bui
ld_command
str(self._path / "build"),
File "C:\Users\Phoenix\AppData\Local\Programs\Python\Python37\lib\subpro
cess.py", line 328, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:/Users/Phoenix/AppData/Local/P
rograms/Python/Python37/python.exe', 'C:\\Users\\Phoenix\\AppData\\Local\\Temp\\
pip-install-5_oe60ou\\pqcrypto_319c2d280c2742cd8507402183c76f28\\setup.py', 'bui
ld', '-b', 'C:\\Users\\Phoenix\\AppData\\Local\\Temp\\pip-install-5_oe60ou\\pqcr
ypto_319c2d280c2742cd8507402183c76f28\\build']' returned non-zero exit status 1.
[end of output]
note: This error originates from a subprocess, and is likely not a problem wit
h pip.
ERROR: Failed building wheel for pqcrypto
Failed to build pqcrypto
ERROR: Could not build wheels for pqcrypto, which is required to install pyproje
ct.toml-based projects
I am trying to deploy my flask application on the Heroku platform. I am completely new to this platform. I have made my requirements.txt using the command pip freeze > requirements.txt also created a Procfile that contain web: gunicorn app:app
When I am trying to deploy the code on Heroku the same error is showing (Preparing wheel metadata: finished with status 'error') I have gone through the error message and as per the instruction I tried to install the rust package manager through the given link https://rustup.rs/ but still the same error is showing.
Please help me to figure out what I am missing here.
Thanks in advance
-----> Building on the Heroku-20 stack
-----> Determining which buildpack to use for this app
-----> Python app detected
-----> No Python version was specified. Using the buildpack default: python-3.9.6
To use a different version, see: https://devcenter.heroku.com/articles/python-runtimes
-----> Installing python-3.9.6
-----> Installing pip 20.2.4, setuptools 47.1.1 and wheel 0.36.2
-----> Installing SQLite3
-----> Installing requirements with pip
Collecting absl-py==0.12.0
Downloading absl_py-0.12.0-py3-none-any.whl (129 kB)
Collecting altgraph==0.17
Downloading altgraph-0.17-py2.py3-none-any.whl (21 kB)
Collecting anyio==2.2.0
Downloading anyio-2.2.0-py3-none-any.whl (65 kB)
Collecting argon2-cffi==20.1.0
Downloading argon2_cffi-20.1.0-cp35-abi3-manylinux1_x86_64.whl (97 kB)
Collecting async-generator==1.10
Downloading async_generator-1.10-py3-none-any.whl (18 kB)
Collecting attrs==20.3.0
Downloading attrs-20.3.0-py2.py3-none-any.whl (49 kB)
Collecting autopep8==1.5.7
Downloading autopep8-1.5.7-py2.py3-none-any.whl (45 kB)
Collecting Babel==2.9.1
Downloading Babel-2.9.1-py2.py3-none-any.whl (8.8 MB)
Collecting backcall==0.2.0
Downloading backcall-0.2.0-py2.py3-none-any.whl (11 kB)
Collecting beautifulsoup4==4.9.3
Downloading beautifulsoup4-4.9.3-py3-none-any.whl (115 kB)
Collecting bleach==3.3.0
Downloading bleach-3.3.0-py2.py3-none-any.whl (283 kB)
Collecting blinker==1.4
Downloading blinker-1.4.tar.gz (111 kB)
Collecting cachetools==4.2.2
Downloading cachetools-4.2.2-py3-none-any.whl (11 kB)
Collecting catboost==0.25.1
Downloading catboost-0.25.1-cp39-none-manylinux1_x86_64.whl (67.3 MB)
Collecting category-encoders==2.2.2
Downloading category_encoders-2.2.2-py2.py3-none-any.whl (80 kB)
Collecting certifi==2020.12.5
Downloading certifi-2020.12.5-py2.py3-none-any.whl (147 kB)
Collecting cffi==1.14.5
Downloading cffi-1.14.5-cp39-cp39-manylinux1_x86_64.whl (406 kB)
Collecting chardet==4.0.0
Downloading chardet-4.0.0-py2.py3-none-any.whl (178 kB)
Collecting click==7.1.2
Downloading click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting colorama==0.4.4
Downloading colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Collecting comtypes==1.1.10
Downloading comtypes-1.1.10.tar.gz (145 kB)
Collecting cycler==0.10.0
Downloading cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
Collecting decorator==5.0.7
Downloading decorator-5.0.7-py3-none-any.whl (8.8 kB)
Collecting defusedxml==0.7.1
Downloading defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Collecting deprecation==2.1.0
Downloading deprecation-2.1.0-py2.py3-none-any.whl (11 kB)
Collecting dnspython==2.1.0
Downloading dnspython-2.1.0-py3-none-any.whl (241 kB)
Collecting docopt==0.6.2
Downloading docopt-0.6.2.tar.gz (25 kB)
Collecting email-validator==1.1.3
Downloading email_validator-1.1.3-py2.py3-none-any.whl (18 kB)
Collecting entrypoints==0.3
Downloading entrypoints-0.3-py2.py3-none-any.whl (11 kB)
Collecting et-xmlfile==1.1.0
Downloading et_xmlfile-1.1.0-py3-none-any.whl (4.7 kB)
Collecting Flask==1.1.2
Downloading Flask-1.1.2-py2.py3-none-any.whl (94 kB)
Collecting Flask-Mail==0.9.1
Downloading Flask-Mail-0.9.1.tar.gz (45 kB)
Collecting Flask-SQLAlchemy==2.5.1
Downloading Flask_SQLAlchemy-2.5.1-py2.py3-none-any.whl (17 kB)
Collecting Flask-WTF==0.15.1
Downloading Flask_WTF-0.15.1-py2.py3-none-any.whl (13 kB)
Collecting future==0.18.2
Downloading future-0.18.2.tar.gz (829 kB)
Collecting fuzzywuzzy==0.18.0
Downloading fuzzywuzzy-0.18.0-py2.py3-none-any.whl (18 kB)
Collecting gevent==21.1.2
Downloading gevent-21.1.2-cp39-cp39-manylinux2010_x86_64.whl (6.0 MB)
Collecting google-auth==1.30.0
Downloading google_auth-1.30.0-py2.py3-none-any.whl (146 kB)
Collecting google-auth-oauthlib==0.4.4
Downloading google_auth_oauthlib-0.4.4-py2.py3-none-any.whl (18 kB)
Collecting graphviz==0.16
Downloading graphviz-0.16-py2.py3-none-any.whl (19 kB)
Collecting greenlet==1.0.0
Downloading greenlet-1.0.0-cp39-cp39-manylinux2010_x86_64.whl (163 kB)
Collecting grpcio==1.34.1
Downloading grpcio-1.34.1-cp39-cp39-manylinux2014_x86_64.whl (4.0 MB)
Collecting gunicorn==20.1.0
Downloading gunicorn-20.1.0-py3-none-any.whl (79 kB)
Collecting h5py==3.1.0
Downloading h5py-3.1.0-cp39-cp39-manylinux1_x86_64.whl (4.4 MB)
Collecting idna==2.10
Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting imbalanced-learn==0.8.0
Downloading imbalanced_learn-0.8.0-py3-none-any.whl (206 kB)
Collecting imblearn==0.0
Downloading imblearn-0.0-py2.py3-none-any.whl (1.9 kB)
Collecting ipykernel==5.5.3
Downloading ipykernel-5.5.3-py3-none-any.whl (120 kB)
Collecting ipython==7.23.0
Downloading ipython-7.23.0-py3-none-any.whl (785 kB)
Collecting ipython-genutils==0.2.0
Downloading ipython_genutils-0.2.0-py2.py3-none-any.whl (26 kB)
Collecting itsdangerous==1.1.0
Downloading itsdangerous-1.1.0-py2.py3-none-any.whl (16 kB)
Collecting jedi==0.18.0
Downloading jedi-0.18.0-py2.py3-none-any.whl (1.4 MB)
Collecting Jinja2==2.11.3
Downloading Jinja2-2.11.3-py2.py3-none-any.whl (125 kB)
Collecting joblib==0.17.0
Downloading joblib-0.17.0-py3-none-any.whl (301 kB)
Collecting Js2Py==0.71
Downloading Js2Py-0.71-py3-none-any.whl (1.0 MB)
Collecting json5==0.9.5
Downloading json5-0.9.5-py2.py3-none-any.whl (17 kB)
Collecting jsonschema==3.2.0
Downloading jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
Collecting jupyter-client==6.1.12
Downloading jupyter_client-6.1.12-py3-none-any.whl (112 kB)
Collecting jupyter-core==4.7.1
Downloading jupyter_core-4.7.1-py3-none-any.whl (82 kB)
Collecting jupyter-packaging==0.9.2
Downloading jupyter_packaging-0.9.2-py2.py3-none-any.whl (13 kB)
Collecting jupyter-server==1.6.4
Downloading jupyter_server-1.6.4-py3-none-any.whl (377 kB)
Collecting jupyterlab==3.0.14
Downloading jupyterlab-3.0.14-py3-none-any.whl (8.3 MB)
Collecting jupyterlab-pygments==0.1.2
Downloading jupyterlab_pygments-0.1.2-py2.py3-none-any.whl (4.6 kB)
Collecting jupyterlab-server==2.5.0
Downloading jupyterlab_server-2.5.0-py3-none-any.whl (49 kB)
Collecting keras-nightly==2.5.0.dev2021032900
Downloading keras_nightly-2.5.0.dev2021032900-py2.py3-none-any.whl (1.2 MB)
Collecting Keras-Preprocessing==1.1.2
Downloading Keras_Preprocessing-1.1.2-py2.py3-none-any.whl (42 kB)
Collecting kiwisolver==1.3.1
Downloading kiwisolver-1.3.1-cp39-cp39-manylinux1_x86_64.whl (1.2 MB)
Collecting lightgbm==3.2.1
Downloading lightgbm-3.2.1-py3-none-manylinux1_x86_64.whl (2.0 MB)
Collecting Markdown==3.3.4
Downloading Markdown-3.3.4-py3-none-any.whl (97 kB)
Collecting MarkupSafe==1.1.1
Downloading MarkupSafe-1.1.1-cp39-cp39-manylinux2010_x86_64.whl (32 kB)
Collecting matplotlib==3.4.2
Downloading matplotlib-3.4.2-cp39-cp39-manylinux1_x86_64.whl (10.3 MB)
Collecting matplotlib-inline==0.1.2
Downloading matplotlib_inline-0.1.2-py3-none-any.whl (8.2 kB)
Collecting mistune==0.8.4
Downloading mistune-0.8.4-py2.py3-none-any.whl (16 kB)
Collecting mysqlclient==2.0.3
Downloading mysqlclient-2.0.3.tar.gz (88 kB)
Collecting nbclassic==0.2.7
Downloading nbclassic-0.2.7-py3-none-any.whl (18 kB)
Collecting nbclient==0.5.3
Downloading nbclient-0.5.3-py3-none-any.whl (82 kB)
Collecting nbconvert==6.0.7
Downloading nbconvert-6.0.7-py3-none-any.whl (552 kB)
Collecting nbformat==5.1.3
Downloading nbformat-5.1.3-py3-none-any.whl (178 kB)
Collecting nest-asyncio==1.5.1
Downloading nest_asyncio-1.5.1-py3-none-any.whl (5.0 kB)
Collecting notebook==6.3.0
Downloading notebook-6.3.0-py3-none-any.whl (9.5 MB)
Collecting numpy==1.19.4
Downloading numpy-1.19.4-cp39-cp39-manylinux2010_x86_64.whl (14.5 MB)
Collecting oauthlib==3.1.0
Downloading oauthlib-3.1.0-py2.py3-none-any.whl (147 kB)
Collecting openpyxl==3.0.7
Downloading openpyxl-3.0.7-py2.py3-none-any.whl (243 kB)
Collecting opt-einsum==3.3.0
Downloading opt_einsum-3.3.0-py3-none-any.whl (65 kB)
Collecting packaging==20.9
Downloading packaging-20.9-py2.py3-none-any.whl (40 kB)
Collecting pandas==1.1.4
Downloading pandas-1.1.4-cp39-cp39-manylinux1_x86_64.whl (9.3 MB)
Collecting pandocfilters==1.4.3
Downloading pandocfilters-1.4.3.tar.gz (16 kB)
Collecting parso==0.8.2
Downloading parso-0.8.2-py2.py3-none-any.whl (94 kB)
Collecting patsy==0.5.1
Downloading patsy-0.5.1-py2.py3-none-any.whl (231 kB)
Collecting pefile==2021.5.24
Downloading pefile-2021.5.24.tar.gz (66 kB)
Collecting pickleshare==0.7.5
Downloading pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB)
Collecting Pillow==8.2.0
Downloading Pillow-8.2.0-cp39-cp39-manylinux1_x86_64.whl (3.0 MB)
Collecting pipwin==0.5.1
Downloading pipwin-0.5.1.tar.gz (8.8 kB)
Collecting plotly==4.14.3
Downloading plotly-4.14.3-py2.py3-none-any.whl (13.2 MB)
Collecting prometheus-client==0.10.1
Downloading prometheus_client-0.10.1-py2.py3-none-any.whl (55 kB)
Collecting prompt-toolkit==3.0.18
Downloading prompt_toolkit-3.0.18-py3-none-any.whl (367 kB)
Collecting protobuf==3.17.0
Downloading protobuf-3.17.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.0 MB)
Collecting py4j==0.10.9
Downloading py4j-0.10.9-py2.py3-none-any.whl (198 kB)
Collecting pyasn1==0.4.8
Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
Collecting pyasn1-modules==0.2.8
Downloading pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
Collecting pycodestyle==2.7.0
Downloading pycodestyle-2.7.0-py2.py3-none-any.whl (41 kB)
Collecting pycparser==2.20
Downloading pycparser-2.20-py2.py3-none-any.whl (112 kB)
Collecting pygame==2.0.1
Downloading pygame-2.0.1-cp39-cp39-manylinux1_x86_64.whl (11.8 MB)
Collecting Pygments==2.9.0
Downloading Pygments-2.9.0-py3-none-any.whl (1.0 MB)
Collecting pyinstaller==4.4
Downloading pyinstaller-4.4-py3-none-manylinux2014_x86_64.whl (1.5 MB)
Collecting pyinstaller-hooks-contrib==2021.2
Downloading pyinstaller_hooks_contrib-2021.2-py2.py3-none-any.whl (190 kB)
Collecting pyjsparser==2.7.1
Downloading pyjsparser-2.7.1.tar.gz (24 kB)
Collecting PyMySQL==1.0.2
Downloading PyMySQL-1.0.2-py3-none-any.whl (43 kB)
Collecting pyparsing==2.4.7
Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting pypiwin32==223
Downloading pypiwin32-223-py3-none-any.whl (1.7 kB)
Collecting PyPrind==2.11.3
Downloading PyPrind-2.11.3-py2.py3-none-any.whl (8.4 kB)
Collecting pyrsistent==0.17.3
Downloading pyrsistent-0.17.3.tar.gz (106 kB)
Collecting pySmartDL==1.3.4
Downloading pySmartDL-1.3.4-py3-none-any.whl (20 kB)
Collecting pyspark==3.1.1
Downloading pyspark-3.1.1.tar.gz (212.3 MB)
Collecting python-dateutil==2.8.1
Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting pyttsx==1.1
Downloading pyttsx-1.1.tar.gz (23 kB)
Collecting pyttsx3==2.90
Downloading pyttsx3-2.90-py3-none-any.whl (39 kB)
Collecting pytz==2020.4
Downloading pytz-2020.4-py2.py3-none-any.whl (509 kB)
Collecting pywin32-ctypes==0.2.0
Downloading pywin32_ctypes-0.2.0-py2.py3-none-any.whl (28 kB)
Collecting pywinpty==1.0.1
Downloading pywinpty-1.0.1.tar.gz (47 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /app/.heroku/python/bin/python /app/.heroku/python/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpnij9ftxr
cwd: /tmp/pip-install-w7oyrrfw/pywinpty
Complete output (6 lines):
Checking for Rust toolchain...
Cargo, the Rust package manager, is not installed or is not on PATH.
This package requires Rust and Cargo to compile extensions. Install it through
the system's package manager or via https://rustup.rs/
----------------------------------------
ERROR: Command errored out with exit status 1: /app/.heroku/python/bin/python /app/.heroku/python/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpnij9ftxr Check the logs for full command output.
! Push rejected, failed to compile Python app.
! Push failed
It is having issues installing pywinpty...
Collecting pywinpty==1.0.1
Downloading pywinpty-1.0.1.tar.gz (47 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /app/.heroku/python/bin/python /app/.heroku/python/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpnij9ftxr
cwd: /tmp/pip-install-w7oyrrfw/pywinpty
Complete output (6 lines):
Checking for Rust toolchain...
Cargo, the Rust package manager, is not installed or is not on PATH.
This package requires Rust and Cargo to compile extensions. Install it through
the system's package manager or via https://rustup.rs/
Heroku is a PaaS, which means the code will not run on your local machine but rather in the "cloud" on a Linux VM, which would not allow you to install pywinpty.
See Push rejected, fails Python App to Heroku
Hi I'm building a Dash app using the Python framework and my build logs are suggesting the app was built successfully. In fact when I go to the Heroku website it shows build successful under the build logs. However, when I view the Heroku URL it says application error. Below are the build logs, any help is appreciated. I've also tried restarting the app as Heroku documentation suggests certain errors can only be captures via the restart method but still no errors have appeared in the logs.
-----> Building on the Heroku-20 stack
-----> Using buildpack: heroku/python
-----> Python app detected
-----> No Python version was specified. Using the same version as the last build: python-3.9.6
To use a different version, see: https://devcenter.heroku.com/articles/python-runtimes
-----> Requirements file has been changed, clearing cached dependencies
-----> Installing python-3.9.6
-----> Installing pip 20.2.4, setuptools 47.1.1 and wheel 0.36.2
-----> Installing SQLite3
-----> Installing requirements with pip
Collecting beautifulsoup4==4.9.3
Downloading beautifulsoup4-4.9.3-py3-none-any.whl (115 kB)
Collecting Brotli==1.0.9
Downloading Brotli-1.0.9-cp39-cp39-manylinux1_x86_64.whl (357 kB)
Collecting bs4==0.0.1
Downloading bs4-0.0.1.tar.gz (1.1 kB)
Collecting click==8.0.1
Downloading click-8.0.1-py3-none-any.whl (97 kB)
Collecting colorama==0.4.4
Downloading colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Collecting dash==1.20.0
Downloading dash-1.20.0.tar.gz (77 kB)
Collecting dash-core-components==1.16.0
Downloading dash_core_components-1.16.0.tar.gz (3.5 MB)
Collecting dash-html-components==1.1.3
Downloading dash_html_components-1.1.3.tar.gz (82 kB)
Collecting dash-renderer==1.9.1
Downloading dash_renderer-1.9.1.tar.gz (1.0 MB)
Collecting dash-table==4.11.3
Downloading dash_table-4.11.3.tar.gz (1.8 MB)
Collecting Flask==2.0.1
Downloading Flask-2.0.1-py3-none-any.whl (94 kB)
Collecting Flask-Compress==1.10.1
Downloading Flask_Compress-1.10.1-py3-none-any.whl (7.9 kB)
Collecting future==0.18.2
Downloading future-0.18.2.tar.gz (829 kB)
Collecting gunicorn==20.1.0
Downloading gunicorn-20.1.0-py3-none-any.whl (79 kB)
Collecting itsdangerous==2.0.1
Downloading itsdangerous-2.0.1-py3-none-any.whl (18 kB)
Collecting Jinja2==3.0.1
Downloading Jinja2-3.0.1-py3-none-any.whl (133 kB)
Collecting MarkupSafe==2.0.1
Downloading MarkupSafe-2.0.1-cp39-cp39-manylinux2010_x86_64.whl (30 kB)
Collecting numpy==1.21.0
Downloading numpy-1.21.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (15.7 MB)
Collecting pandas==1.3.0
Downloading pandas-1.3.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (10.6 MB)
Collecting plotly==5.1.0
Downloading plotly-5.1.0-py2.py3-none-any.whl (20.6 MB)
Collecting python-dateutil==2.8.1
Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting pytz==2021.1
Downloading pytz-2021.1-py2.py3-none-any.whl (510 kB)
Collecting six==1.16.0
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting soupsieve==2.2.1
Downloading soupsieve-2.2.1-py3-none-any.whl (33 kB)
Collecting tenacity==8.0.0
Downloading tenacity-8.0.0-py3-none-any.whl (22 kB)
Collecting Werkzeug==2.0.1
Downloading Werkzeug-2.0.1-py3-none-any.whl (288 kB)
Building wheels for collected packages: bs4, dash, dash-core-components, dash-html-components, dash-renderer, dash-table, future
Building wheel for bs4 (setup.py): started
Building wheel for bs4 (setup.py): finished with status 'done'
Created wheel for bs4: filename=bs4-0.0.1-py3-none-any.whl size=1273 sha256=b96960a58059282bdc82d938f2b1b6fb6b3c09d46f25f346c964360e74cfa048
Stored in directory: /tmp/pip-ephem-wheel-cache-bp3kgu6x/wheels/73/2b/cb/099980278a0c9a3e57ff1a89875ec07bfa0b6fcbebb9a8cad3
Building wheel for dash (setup.py): started
Building wheel for dash (setup.py): finished with status 'done'
Created wheel for dash: filename=dash-1.20.0-py3-none-any.whl size=85831 sha256=cfb661b8db05c5bdb3e3d8b83e625e9dfd15352eafca46b4d4a851a496bc5210
Stored in directory: /tmp/pip-ephem-wheel-cache-bp3kgu6x/wheels/4b/cb/a6/817d490fb0a1abb2d078b9e9ee835bf7f039d1fd8b9c61b25e
Building wheel for dash-core-components (setup.py): started
Building wheel for dash-core-components (setup.py): finished with status 'done'
Created wheel for dash-core-components: filename=dash_core_components-1.16.0-py3-none-any.whl size=3540991 sha256=0ee679674b63fe67a3be0634132063574ce02e3621d860f273312f2fe8ab3c36
Stored in directory: /tmp/pip-ephem-wheel-cache-bp3kgu6x/wheels/a1/21/97/554773c64b38bf753f189054921c9217174a96d500f15b7f93
Building wheel for dash-html-components (setup.py): started
Building wheel for dash-html-components (setup.py): finished with status 'done'
Created wheel for dash-html-components: filename=dash_html_components-1.1.3-py3-none-any.whl size=319471 sha256=9d31ced0fc5469eca3d738cf82d1f6e67b8fc4dcfc4670f4f725e0c1ec31886c
Stored in directory: /tmp/pip-ephem-wheel-cache-bp3kgu6x/wheels/f7/eb/55/521dda099c8b09eed0178328cbe10306cb3fee851efd70ae4f
Building wheel for dash-renderer (setup.py): started
Building wheel for dash-renderer (setup.py): finished with status 'done'
Created wheel for dash-renderer: filename=dash_renderer-1.9.1-py3-none-any.whl size=1014878 sha256=36518dc881b0aa2d81d6693ce1acfd3fa02fddd94064b0bb6364aca71ae5025e
Stored in directory: /tmp/pip-ephem-wheel-cache-bp3kgu6x/wheels/52/2f/28/956ce9f7763c886d23f0082829bd726e5dacd6c708a5841c77
Building wheel for dash-table (setup.py): started
Building wheel for dash-table (setup.py): finished with status 'done'
Created wheel for dash-table: filename=dash_table-4.11.3-py3-none-any.whl size=1827618 sha256=15003b86d61d36cd73121c93b98df95d4b095a1460988acf05dfa8637b88f9de
Stored in directory: /tmp/pip-ephem-wheel-cache-bp3kgu6x/wheels/fb/0c/3d/fd6e565aa34ba87d6d110898b3297d2b78ef70339f1c2a483e
Building wheel for future (setup.py): started
Building wheel for future (setup.py): finished with status 'done'
Created wheel for future: filename=future-0.18.2-py3-none-any.whl size=491059 sha256=c30e1e964c5831e386abe653832f6f508b4e0feafd66f9cbfa8038fa0791d4de
Stored in directory: /tmp/pip-ephem-wheel-cache-bp3kgu6x/wheels/2f/a0/d3/4030d9f80e6b3be787f19fc911b8e7aa462986a40ab1e4bb94
Successfully built bs4 dash dash-core-components dash-html-components dash-renderer dash-table future
Installing collected packages: soupsieve, beautifulsoup4, Brotli, bs4, click, colorama, itsdangerous, Werkzeug, MarkupSafe, Jinja2, Flask, Flask-Compress, six, tenacity, plotly, dash-renderer, dash-core-components, dash-html-components, dash-table, future, dash, gunicorn, numpy, pytz, python-dateutil, pandas
Successfully installed Brotli-1.0.9 Flask-2.0.1 Flask-Compress-1.10.1 Jinja2-3.0.1 MarkupSafe-2.0.1 Werkzeug-2.0.1 beautifulsoup4-4.9.3 bs4-0.0.1 click-8.0.1 colorama-0.4.4 dash-1.20.0 dash-core-components-1.16.0 dash-html-components-1.1.3 dash-renderer-1.9.1 dash-table-4.11.3 future-0.18.2 gunicorn-20.1.0 itsdangerous-2.0.1 numpy-1.21.0 pandas-1.3.0 plotly-5.1.0 python-dateutil-2.8.1 pytz-2021.1 six-1.16.0 soupsieve-2.2.1 tenacity-8.0.0
-----> Discovering process types
Procfile declares types -> web
-----> Compressing...
Done: 113.1M
-----> Launching...
Released v4
https://senate-dash-app.herokuapp.com/ deployed to Heroku
i have been using rasa for the past few weeks without problems. But recently i had issues with the installation of Spacy, leading me to uninstall an reinstall python. The issue may have occurred because of some dualities between python3.8 and 3.9 which i wasnt abled to pinpoint.
After deleting all python version from my computer, i just reinstalled python 3.9.2. and reinstall rasa with:
pip3 install rasa
this gave me the next output:
Collecting rasa
Using cached rasa-1.10.2-py3-none-any.whl (510 kB)
Collecting sklearn-crfsuite<0.4,>=0.3
Using cached sklearn_crfsuite-0.3.6-py2.py3-none-any.whl (12 kB)
Collecting tensorflow-estimator==2.1.0
Using cached tensorflow_estimator-2.1.0-py2.py3-none-any.whl (448 kB)
Collecting ruamel.yaml<0.17,>=0.16
Using cached ruamel.yaml-0.16.13-py2.py3-none-any.whl (111 kB)
Collecting pydot<1.5,>=1.4
Using cached pydot-1.4.2-py2.py3-none-any.whl (21 kB)
Collecting psycopg2-binary<2.9.0,>=2.8.2
Using cached psycopg2_binary-2.8.6-cp39-cp39-win_amd64.whl (1.2 MB)
Collecting jsonpickle<1.5,>=1.3
Using cached jsonpickle-1.4.2-py2.py3-none-any.whl (36 kB)
Collecting pymongo[srv,tls]<3.9.0,>=3.8.0
Downloading pymongo-3.8.0.tar.gz (649 kB)
|████████████████████████████████| 649 kB 3.3 MB/s
Collecting SQLAlchemy<1.4.0,>=1.3.3
Using cached SQLAlchemy-1.3.23-cp39-cp39-win_amd64.whl (1.2 MB)
Collecting coloredlogs<11.0,>=10.0
Using cached coloredlogs-10.0-py2.py3-none-any.whl (47 kB)
Collecting python-dateutil<2.9,>=2.8
Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting sanic<20.0.0,>=19.12.2
Using cached sanic-19.12.5-py3-none-any.whl (73 kB)
Requirement already satisfied: setuptools>=41.0.0 in c:\users\louip\appdata\local\programs\python\python39\lib\site-packages (from rasa) (49.2.1)
Collecting pytz<2020.0,>=2019.1
Using cached pytz-2019.3-py2.py3-none-any.whl (509 kB)
Collecting slackclient<3.0.0,>=2.0.0
Using cached slackclient-2.9.3-py2.py3-none-any.whl (96 kB)
Collecting terminaltables<3.2.0,>=3.1.0
Using cached terminaltables-3.1.0.tar.gz (12 kB)
Collecting colorclass<2.3,>=2.2
Using cached colorclass-2.2.0.tar.gz (17 kB)
Collecting twilio<6.27,>=6.26
Using cached twilio-6.26.3-py2.py3-none-any.whl (979 kB)
Collecting pykwalify<1.8.0,>=1.7.0
Using cached pykwalify-1.7.0-py2.py3-none-any.whl (40 kB)
Collecting python-socketio<4.6,>=4.4
Using cached python_socketio-4.5.1-py2.py3-none-any.whl (51 kB)
Collecting webexteamssdk<1.4.0,>=1.1.1
Using cached webexteamssdk-1.3.tar.gz (56 kB)
Collecting PyJWT<1.8,>=1.7
Using cached PyJWT-1.7.1-py2.py3-none-any.whl (18 kB)
Collecting tqdm<4.46,>=4.31
Using cached tqdm-4.45.0-py2.py3-none-any.whl (60 kB)
Requirement already satisfied: numpy<2.0,>=1.16 in c:\users\louip\appdata\local\programs\python\python39\lib\site-packages (from rasa) (1.20.0)
Collecting tensorflow_hub<0.9,>=0.7
Using cached tensorflow_hub-0.8.0-py2.py3-none-any.whl (101 kB)
Collecting tensorflow-probability<0.10,>=0.7
Using cached tensorflow_probability-0.9.0-py2.py3-none-any.whl (3.2 MB)
Collecting matplotlib<3.3,>=3.1
Using cached matplotlib-3.2.2-cp39-cp39-win_amd64.whl (8.9 MB)
Collecting rasa-sdk<2.0.0,>=1.10.0
Using cached rasa_sdk-1.10.3-py3-none-any.whl (39 kB)
Collecting gevent<1.6,>=1.4
Using cached gevent-1.5.0.tar.gz (5.3 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting sanic-cors<0.11.0,>=0.10.0b1
Using cached Sanic_Cors-0.10.0.post3-py2.py3-none-any.whl (17 kB)
Collecting absl-py<0.10,>=0.9
Using cached absl-py-0.9.0.tar.gz (104 kB)
Collecting colorhash<1.1.0,>=1.0.2
Using cached colorhash-1.0.3-py3-none-any.whl (4.0 kB)
Collecting multidict<5.0,>=4.6
Using cached multidict-4.7.6.tar.gz (50 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting prompt-toolkit<3.0,>=2.0
Using cached prompt_toolkit-2.0.10-py3-none-any.whl (340 kB)
Collecting oauth2client==4.1.3
Using cached oauth2client-4.1.3-py2.py3-none-any.whl (98 kB)
Collecting async_generator<1.11,>=1.10
Using cached async_generator-1.10-py3-none-any.whl (18 kB)
Collecting python-engineio<3.13,>=3.11
Downloading python_engineio-3.12.1-py2.py3-none-any.whl (49 kB)
|████████████████████████████████| 49 kB 3.2 MB/s
Collecting questionary<1.6.0,>=1.5.1
Using cached questionary-1.5.2-py3-none-any.whl (26 kB)
Collecting ujson<3.0,>=1.35
Downloading ujson-2.0.3.tar.gz (7.1 MB)
|████████████████████████████████| 7.1 MB 3.3 MB/s
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing wheel metadata ... done
Collecting rasa
Using cached rasa-1.10.1-py3-none-any.whl (509 kB)
Collecting packaging<19.1,>=19.0
Using cached packaging-19.0-py2.py3-none-any.whl (26 kB)
Collecting rasa
Using cached rasa-1.10.0-py3-none-any.whl (509 kB)
Using cached rasa-1.9.7-py3-none-any.whl (497 kB)
Collecting cloudpickle<1.3.0,>=1.2.0
Using cached cloudpickle-1.2.2-py2.py3-none-any.whl (25 kB)
Collecting jsonpickle<1.4,>=1.3
Using cached jsonpickle-1.3-py2.py3-none-any.whl (32 kB)
Collecting tensorflow_hub<0.8,>=0.7
Using cached tensorflow_hub-0.7.0-py2.py3-none-any.whl (89 kB)
Collecting rasa
Using cached rasa-1.9.6-py3-none-any.whl (497 kB)
Using cached rasa-1.9.5-py3-none-any.whl (496 kB)
Using cached rasa-1.9.4-py3-none-any.whl (495 kB)
Using cached rasa-1.9.3-py3-none-any.whl (495 kB)
Using cached rasa-1.9.2-py3-none-any.whl (495 kB)
Using cached rasa-1.9.1-py3-none-any.whl (495 kB)
Using cached rasa-1.9.0-py3-none-any.whl (495 kB)
Using cached rasa-1.8.3-py3-none-any.whl (483 kB)
Collecting tqdm<4.32.0,>=4.31.0
Using cached tqdm-4.31.1-py2.py3-none-any.whl (48 kB)
Collecting python-socketio<4.5,>=4.4
Using cached python_socketio-4.4.0-py2.py3-none-any.whl (50 kB)
Collecting python-engineio<3.12,>=3.11
Using cached python_engineio-3.11.2-py2.py3-none-any.whl (49 kB)
Collecting rocketchat_API<0.7.0,>=0.6.31
Using cached rocketchat_API-0.6.36-py3-none-any.whl (9.5 kB)
Collecting rasa
Using cached rasa-1.8.2-py3-none-any.whl (483 kB)
Using cached rasa-1.8.1-py3-none-any.whl (481 kB)
Using cached rasa-1.8.0-py3-none-any.whl (481 kB)
Using cached rasa-1.7.4-py3-none-any.whl (575 kB)
Using cached rasa-1.7.3-py3-none-any.whl (575 kB)
Using cached rasa-1.7.2-py3-none-any.whl (575 kB)
Using cached rasa-1.7.1-py3-none-any.whl (574 kB)
Using cached rasa-1.7.0-py3-none-any.whl (573 kB)
Using cached rasa-1.6.2-py3-none-any.whl (559 kB)
Using cached rasa-1.6.1-py3-none-any.whl (559 kB)
Collecting tensorflow-probability~=0.7.0
Using cached tensorflow_probability-0.7.0-py2.py3-none-any.whl (981 kB)
Collecting webexteamssdk~=1.1
Using cached webexteamssdk-1.6-py3-none-any.whl (113 kB)
Collecting tensor2tensor~=1.14.0
Using cached tensor2tensor-1.14.1-py2.py3-none-any.whl (1.6 MB)
Collecting sanic-jwt~=1.3
Using cached sanic-jwt-1.6.0.tar.gz (19 kB)
Collecting sanic-cors==0.9.9.post1
Using cached Sanic_Cors-0.9.9.post1-py2.py3-none-any.whl (16 kB)
Collecting redis~=3.3.5
Using cached redis-3.3.11-py2.py3-none-any.whl (66 kB)
Collecting absl-py>=0.8.0
Using cached absl_py-0.12.0-py3-none-any.whl (129 kB)
Collecting attrs>=18
Using cached attrs-20.3.0-py2.py3-none-any.whl (49 kB)
Collecting twilio~=6.0
Using cached twilio-6.54.0.tar.gz (471 kB)
Collecting rasa-sdk~=1.6.0
Using cached rasa_sdk-1.6.1-py2.py3-none-any.whl (32 kB)
Collecting sanic~=19.9.0
Using cached sanic-19.9.0-py3-none-any.whl (73 kB)
Requirement already satisfied: requests>=2.20 in c:\users\louip\appdata\local\programs\python\python39\lib\site-packages (from rasa) (2.25.1)
Collecting rasa
Using cached rasa-1.6.0-py3-none-any.whl (558 kB)
Using cached rasa-1.5.3-py3-none-any.whl (530 kB)
Using cached rasa-1.5.2-py3-none-any.whl (529 kB)
Using cached rasa-1.5.1-py3-none-any.whl (529 kB)
Using cached rasa-1.5.0-py3-none-any.whl (527 kB)
Using cached rasa-1.4.6-py3-none-any.whl (518 kB)
Using cached rasa-1.4.5-py3-none-any.whl (517 kB)
Using cached rasa-1.4.4-py3-none-any.whl (517 kB)
Using cached rasa-1.4.3-py3-none-any.whl (518 kB)
Collecting networkx~=2.3.0
Using cached networkx-2.3.zip (1.7 MB)
Collecting kafka-python~=1.4
Using cached kafka_python-1.4.7-py2.py3-none-any.whl (266 kB)
Collecting pika~=1.0.0
Using cached pika-1.0.1-py2.py3-none-any.whl (148 kB)
Collecting matplotlib~=3.0
Using cached matplotlib-3.3.4-cp39-cp39-win_amd64.whl (8.5 MB)
Collecting pymongo[srv,tls]~=3.8
Using cached pymongo-3.11.3-cp39-cp39-win_amd64.whl (383 kB)
Collecting scikit-learn~=0.20.2
Using cached scikit-learn-0.20.4.tar.gz (11.7 MB)
Collecting python-telegram-bot~=11.0
Using cached python_telegram_bot-11.1.0-py2.py3-none-any.whl (326 kB)
Collecting rasa
Using cached rasa-1.4.2-py3-none-any.whl (516 kB)
Using cached rasa-1.4.1-py3-none-any.whl (516 kB)
Using cached rasa-1.4.0-py3-none-any.whl (515 kB)
Using cached rasa-1.3.10-py3-none-any.whl (507 kB)
Collecting rasa-sdk~=1.3.0
Using cached rasa_sdk-1.3.3-py2.py3-none-any.whl (32 kB)
Collecting rasa
Using cached rasa-1.3.9-py3-none-any.whl (506 kB)
Using cached rasa-1.3.8-py3-none-any.whl (505 kB)
Using cached rasa-1.3.7-py3-none-any.whl (505 kB)
Using cached rasa-1.3.6-py3-none-any.whl (505 kB)
Using cached rasa-1.3.4-py3-none-any.whl (504 kB)
Using cached rasa-1.3.3-py3-none-any.whl (503 kB)
Using cached rasa-1.3.2-py3-none-any.whl (502 kB)
Using cached rasa-1.3.1-py3-none-any.whl (502 kB)
Using cached rasa-1.3.0-py3-none-any.whl (502 kB)
Using cached rasa-1.2.12-py3-none-any.whl (471 kB)
Using cached rasa-1.2.11-py3-none-any.whl (471 kB)
Using cached rasa-1.2.10-py3-none-any.whl (471 kB)
Using cached rasa-1.2.9-py3-none-any.whl (471 kB)
Using cached rasa-1.2.8-py3-none-any.whl (471 kB)
Using cached rasa-1.2.7-py3-none-any.whl (471 kB)
Using cached rasa-1.2.6-py3-none-any.whl (470 kB)
Using cached rasa-1.2.5-py3-none-any.whl (470 kB)
Using cached rasa-1.2.4-py3-none-any.whl (469 kB)
Using cached rasa-1.2.3-py3-none-any.whl (469 kB)
Using cached rasa-1.2.2-py3-none-any.whl (468 kB)
Using cached rasa-1.2.1-py3-none-any.whl (468 kB)
Using cached rasa-1.2.0-py3-none-any.whl (468 kB)
Using cached rasa-1.1.8-py3-none-any.whl (464 kB)
Using cached rasa-1.1.7-py3-none-any.whl (455 kB)
Using cached rasa-1.1.6-py3-none-any.whl (453 kB)
Using cached rasa-1.1.5-py3-none-any.whl (452 kB)
Using cached rasa-1.1.4-py3-none-any.whl (447 kB)
Using cached rasa-1.1.3-py3-none-any.whl (446 kB)
Using cached rasa-1.1.2-py3-none-any.whl (444 kB)
Using cached rasa-1.1.1-py3-none-any.whl (444 kB)
Using cached rasa-1.1.0-py3-none-any.whl (444 kB)
Using cached rasa-1.0.9-py3-none-any.whl (440 kB)
Using cached rasa-1.0.8-py3-none-any.whl (440 kB)
Using cached rasa-1.0.7-py3-none-any.whl (439 kB)
Using cached rasa-1.0.6-py3-none-any.whl (438 kB)
Using cached rasa-1.0.5-py3-none-any.whl (438 kB)
Using cached rasa-1.0.4-py3-none-any.whl (438 kB)
Using cached rasa-1.0.3-py3-none-any.whl (438 kB)
Using cached rasa-1.0.2-py3-none-any.whl (438 kB)
Using cached rasa-1.0.1-py3-none-any.whl (436 kB)
Using cached rasa-1.0.0-py3-none-any.whl (436 kB)
Using cached rasa-0.1.1-py3-none-any.whl (6.1 kB)
Collecting rasa-nlu
Using cached rasa_nlu-0.15.1-py3-none-any.whl (147 kB)
Collecting rasa-core
Using cached rasa_core-0.14.5-py3-none-any.whl (212 kB)
Collecting pytz~=2018.9
Using cached pytz-2018.9-py2.py3-none-any.whl (510 kB)
Collecting rasa-core
Using cached rasa_core-0.14.4-py3-none-any.whl (212 kB)
Using cached rasa_core-0.14.3-py3-none-any.whl (212 kB)
Using cached rasa_core-0.14.2-py3-none-any.whl (212 kB)
Using cached rasa_core-0.14.1-py3-none-any.whl (212 kB)
Using cached rasa_core-0.14.0-py3-none-any.whl (212 kB)
Using cached rasa_core-0.13.8-py3-none-any.whl (205 kB)
Collecting keras-applications==1.0.6
Using cached Keras_Applications-1.0.6-py2.py3-none-any.whl (44 kB)
Collecting fbmessenger~=5.0
Using cached fbmessenger-5.6.0-py2.py3-none-any.whl (11 kB)
Collecting redis~=2.0
Using cached redis-2.10.6-py2.py3-none-any.whl (64 kB)
Collecting rasa-core
Using cached rasa_core-0.13.7-py3-none-any.whl (205 kB)
Using cached rasa_core-0.13.6-py3-none-any.whl (205 kB)
Using cached rasa_core-0.13.5-py3-none-any.whl (204 kB)
Using cached rasa_core-0.13.4-py3-none-any.whl (204 kB)
Using cached rasa_core-0.13.3-py3-none-any.whl (204 kB)
Using cached rasa_core-0.13.2-py3-none-any.whl (204 kB)
Using cached rasa_core-0.13.1-py3-none-any.whl (204 kB)
Using cached rasa_core-0.13.0-py3-none-any.whl (204 kB)
Using cached rasa_core-0.12.4-py2.py3-none-any.whl (204 kB)
Collecting prompt-toolkit==1.0.14
Using cached prompt_toolkit-1.0.14-py3-none-any.whl (248 kB)
Collecting networkx~=2.0
Using cached networkx-2.5-py3-none-any.whl (1.6 MB)
Collecting python-telegram-bot~=10.0
Using cached python_telegram_bot-10.1.0-py2.py3-none-any.whl (298 kB)
Collecting typing~=3.0
Using cached typing-3.7.4.3.tar.gz (78 kB)
Collecting pika~=0.11.2
Using cached pika-0.11.2-py2.py3-none-any.whl (107 kB)
Collecting fakeredis~=0.10.0
Using cached fakeredis-0.10.3-py2.py3-none-any.whl (27 kB)
Collecting pykwalify<=1.6.0
Using cached pykwalify-1.6.0-py2.py3-none-any.whl (38 kB)
Collecting rasa-core-sdk~=0.12.1
Using cached rasa_core_sdk-0.12.2-py2.py3-none-any.whl (18 kB)
Collecting python-socketio~=2.0
Using cached python_socketio-2.1.2-py2.py3-none-any.whl (33 kB)
Collecting pyyaml~=3.12
Using cached PyYAML-3.13.tar.gz (270 kB)
Collecting scikit-learn~=0.19.0
Using cached scikit-learn-0.19.2.tar.gz (9.7 MB)
Collecting ConfigArgParse~=0.13.0
Using cached ConfigArgParse-0.13.0.tar.gz (31 kB)
Collecting slackclient~=1.0
Using cached slackclient-1.3.2.tar.gz (16 kB)
Collecting flask-cors~=3.0
Using cached Flask_Cors-3.0.10-py2.py3-none-any.whl (14 kB)
Collecting h5py~=2.0
Using cached h5py-2.10.0.tar.gz (301 kB)
Requirement already satisfied: six~=1.0 in c:\users\louip\appdata\local\programs\python\python39\lib\site-packages (from rasa-core->rasa) (1.15.0)
Collecting rasa-core
Using cached rasa_core-0.12.3-py2.py3-none-any.whl (204 kB)
Using cached rasa_core-0.12.2-py2.py3-none-any.whl (203 kB)
Collecting keras~=2.0
Using cached Keras-2.4.3-py2.py3-none-any.whl (36 kB)
Collecting rasa-core
Using cached rasa_core-0.12.1-py2.py3-none-any.whl (203 kB)
Using cached rasa_core-0.12.0-py2.py3-none-any.whl (201 kB)
Using cached rasa_core-0.11.12-py2.py3-none-any.whl (179 kB)
Collecting graphviz~=0.9.0
Using cached graphviz-0.9-py2.py3-none-any.whl (16 kB)
Collecting rasa-core
Using cached rasa_core-0.11.11-py2.py3-none-any.whl (179 kB)
Using cached rasa_core-0.11.10-py2.py3-none-any.whl (179 kB)
Using cached rasa_core-0.11.9-py2.py3-none-any.whl (179 kB)
Using cached rasa_core-0.11.8-py2.py3-none-any.whl (179 kB)
Using cached rasa_core-0.11.7-py2.py3-none-any.whl (178 kB)
Using cached rasa_core-0.11.6-py2.py3-none-any.whl (178 kB)
Using cached rasa_core-0.11.5-py2.py3-none-any.whl (178 kB)
Using cached rasa_core-0.11.4-py2.py3-none-any.whl (178 kB)
Using cached rasa_core-0.11.3-py2.py3-none-any.whl (168 kB)
Collecting graphviz~=0.8.0
Using cached graphviz-0.8.4-py2.py3-none-any.whl (16 kB)
Collecting rasa-core
Using cached rasa_core-0.11.2-py2.py3-none-any.whl (166 kB)
Using cached rasa_core-0.11.1-py2.py3-none-any.whl (166 kB)
Collecting mattermostwrapper~=2.0
Using cached mattermostwrapper-2.2.tar.gz (2.5 kB)
Collecting rasa-core
Using cached rasa_core-0.11.0-py2.py3-none-any.whl (166 kB)
Using cached rasa_core-0.10.4-py2.py3-none-any.whl (133 kB)
Collecting ruamel.yaml~=0.15.0
Using cached ruamel.yaml-0.15.100.tar.gz (318 kB)
Collecting tqdm~=4.0
Using cached tqdm-4.59.0-py2.py3-none-any.whl (74 kB)
Collecting jsonpickle~=0.9.0
Using cached jsonpickle-0.9.6.tar.gz (67 kB)
Collecting flask~=1.0
Using cached Flask-1.1.2-py2.py3-none-any.whl (94 kB)
Collecting future~=0.16
Using cached future-0.18.2.tar.gz (829 kB)
Collecting rasa-nlu
Using cached rasa_nlu-0.13.8-py2.py3-none-any.whl (145 kB)
Collecting rasa-core
Using cached rasa_core-0.10.3-py2.py3-none-any.whl (133 kB)
Using cached rasa_core-0.10.2-py2.py3-none-any.whl (133 kB)
Collecting rasa-nlu
Using cached rasa_nlu-0.12.3-py2.py3-none-any.whl (131 kB)
Collecting rasa-core
Using cached rasa_core-0.10.1-py2.py3-none-any.whl (132 kB)
Using cached rasa_core-0.10.0-py2.py3-none-any.whl (132 kB)
Using cached rasa_core-0.9.8-py2.py3-none-any.whl (125 kB)
Using cached rasa_core-0.9.7-py2.py3-none-any.whl (125 kB)
Using cached rasa_core-0.9.6-py2.py3-none-any.whl (125 kB)
Using cached rasa_core-0.9.5-py2.py3-none-any.whl (125 kB)
Using cached rasa_core-0.9.4-py2.py3-none-any.whl (125 kB)
Using cached rasa_core-0.9.3-py2.py3-none-any.whl (121 kB)
Using cached rasa_core-0.9.2-py2.py3-none-any.whl (121 kB)
Using cached rasa_core-0.9.1-py2.py3-none-any.whl (121 kB)
Using cached rasa_core-0.9.0-py2.py3-none-any.whl (121 kB)
Using cached rasa_core-0.8.6-py2.py3-none-any.whl (103 kB)
Collecting h5py
Using cached h5py-3.2.1-cp39-cp39-win_amd64.whl (2.8 MB)
Collecting fakeredis
Using cached fakeredis-1.4.5-py3-none-any.whl (35 kB)
Collecting fbmessenger<5.0.0
Downloading fbmessenger-4.3.1-py2.py3-none-any.whl (10 kB)
Collecting apscheduler
Using cached APScheduler-3.7.0-py2.py3-none-any.whl (59 kB)
Collecting redis
Using cached redis-3.5.3-py2.py3-none-any.whl (72 kB)
Collecting rasa-nlu
Using cached rasa_nlu-0.11.5.tar.gz (55 kB)
Collecting graphviz
Using cached graphviz-0.16-py2.py3-none-any.whl (19 kB)
Collecting ConfigArgParse
Downloading ConfigArgParse-1.4.tar.gz (45 kB)
|████████████████████████████████| 45 kB 3.4 MB/s
Collecting pandoc
Using cached pandoc-1.0.2.tar.gz (488 kB)
Collecting scikit-learn
Using cached scikit_learn-0.24.1-cp39-cp39-win_amd64.whl (6.9 MB)
Collecting jsonpickle
Using cached jsonpickle-2.0.0-py2.py3-none-any.whl (37 kB)
Collecting python-telegram-bot
Using cached python_telegram_bot-13.4.1-py3-none-any.whl (448 kB)
Collecting rasa-core
Using cached rasa_core-0.8.5.tar.gz (76 kB)
Collecting nbsphinx
Using cached nbsphinx-0.8.2-py3-none-any.whl (24 kB)
Collecting rasa-core
Using cached rasa_core-0.8.4.tar.gz (76 kB)
Using cached rasa_core-0.8.3.tar.gz (76 kB)
Using cached rasa_core-0.8.2.tar.gz (76 kB)
Using cached rasa_core-0.8.1.tar.gz (75 kB)
Using cached rasa_core-0.8.0.tar.gz (75 kB)
Using cached rasa_core-0.7.9.tar.gz (61 kB)
Using cached rasa_core-0.7.7.tar.gz (61 kB)
Using cached rasa_core-0.7.6.tar.gz (60 kB)
Using cached rasa_core-0.7.5.tar.gz (60 kB)
Using cached rasa_core-0.7.4.tar.gz (60 kB)
Using cached rasa_core-0.7.3.tar.gz (59 kB)
Using cached rasa_core-0.7.2.tar.gz (59 kB)
Using cached rasa_core-0.7.1.tar.gz (60 kB)
Using cached rasa_core-0.7.0.tar.gz (60 kB)
INFO: pip is looking at multiple versions of rasa to determine which version is compatible with other requirements. This could take a while.
Collecting rasa
Using cached rasa-0.1.0-py3-none-any.whl (6.1 kB)
Using cached rasa-0.0.5-py3-none-any.whl
Using cached rasa-0.0.4.tar.gz (5.0 kB)
Using cached rasa-0.0.3.tar.gz (4.7 kB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\louip\appdata\local\programs\python\python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\louip\\AppData\\Local\\Temp\\pip-install-pjlvx_xv\\rasa_2e5bbaea763d4f8b9abf11dcaa6b3e0c\\setup.py'"'"'; __file__='"'"'C:\\Users\\louip\\AppData\\Local\\Temp\\pip-install-pjlvx_xv\\rasa_2e5bbaea763d4f8b9abf11dcaa6b3e0c\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\louip\AppData\Local\Temp\pip-pip-egg-info-908ibd4q'
cwd: C:\Users\louip\AppData\Local\Temp\pip-install-pjlvx_xv\rasa_2e5bbaea763d4f8b9abf11dcaa6b3e0c\
Complete output (7 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\louip\AppData\Local\Temp\pip-install-pjlvx_xv\rasa_2e5bbaea763d4f8b9abf11dcaa6b3e0c\setup.py", line 14, in <module>
with open('HISTORY.rst', 'r', 'utf-8') as f:
File "c:\users\louip\appdata\local\programs\python\python39\lib\codecs.py", line 905, in open
file = builtins.open(filename, mode, buffering)
FileNotFoundError: [Errno 2] No such file or directory: 'HISTORY.rst'
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/77/56/5d44415d54043fb441b910bf86fa36bbb3b5565a507ba4ea933117cf109f/rasa-0.0.3.tar.gz#sha256=409e502bc20a29db848b68766decacad15a9cbeb68d1afd90add9945945c9048 (from https://pypi.org/simple/rasa/). Command errored out with exit status 1: python setup.py egg_info
Check the logs for full command output.
Using cached rasa-0.0.2.tar.gz (3.9 kB)
Using cached rasa-0.0.1.tar.gz (1.6 kB)
Requirement already satisfied: idna<3,>=2.5 in c:\users\louip\appdata\local\programs\python\python39\lib\site-packages (from requests>=2.20->rasa) (2.10)
Requirement already satisfied: chardet<5,>=3.0.2 in c:\users\louip\appdata\local\programs\python\python39\lib\site-packages (from requests>=2.20->rasa) (4.0.0)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\louip\appdata\local\programs\python\python39\lib\site-packages (from requests>=2.20->rasa) (2020.12.5)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\louip\appdata\local\programs\python\python39\lib\site-packages (from requests>=2.20->rasa) (1.26.4)
Installing collected packages: rasa
Successfully installed rasa-0.0.5
the result is that rasa is install in version 0.0.5 when it should be in version 2.4.
i have no clue why an error occurred at the end as it did not happen the first i downloaded it a few weeks ago.
What should i do to resolve this issue?
Thanks for your time.
rasa 2.4 declares compatibility with Python 3.6, 3.7 and 3.8 but not 3.9 so pip is trying to find one compatible with 3.9 or at least one that doesn't declare any restriction. It finds such release at version 0.0.5.
To use rasa 2.4 downgrade to Python 3.8.
PS. Don't hurry up to upgrade to the latest Python — 3rd-party packages are usually not so fast. Currently Python 3.7 and 3.8 are the best.
what could be the build failure reason? I tried different versions of MarkupSafe but still its getting failed. Tried running different branches too, all builds are getting failed.
Does it has any version issues? Are there any other libraries required? Using postgres for db.
-----> Python app detected
! Python has released a security update! Please consider upgrading to python-3.6.12
Learn More: https://devcenter.heroku.com/articles/python-runtimes
-----> Requirements file has been changed, clearing cached dependencies
-----> Installing python-3.6.4
-----> Installing pip 20.1.1, setuptools 47.1.1 and wheel 0.34.2
-----> Installing SQLite3
-----> Installing requirements with pip
Collecting alembic==0.9.6
Downloading alembic-0.9.6.tar.gz (998 kB)
Collecting arrow==0.12.0
Downloading arrow-0.12.0.tar.gz (89 kB)
Collecting blinker==1.4
Downloading blinker-1.4.tar.gz (111 kB)
Collecting click==6.7
Downloading click-6.7-py2.py3-none-any.whl (71 kB)
Collecting dateparser==0.6.0
Downloading dateparser-0.6.0-py2.py3-none-any.whl (68 kB)
Collecting dominate==2.3.1
Downloading dominate-2.3.1.tar.gz (27 kB)
Collecting feedparser==5.2.1
Downloading feedparser-5.2.1.tar.bz2 (192 kB)
Collecting Flask==0.12.2
Downloading Flask-0.12.2-py2.py3-none-any.whl (83 kB)
Collecting Flask-Bootstrap==3.3.7.1
Downloading Flask-Bootstrap-3.3.7.1.tar.gz (456 kB)
Collecting Flask-Login==0.4.1
Downloading Flask-Login-0.4.1.tar.gz (14 kB)
Collecting Flask-Mail==0.9.1
Downloading Flask-Mail-0.9.1.tar.gz (45 kB)
Collecting Flask-Migrate==2.1.1
Downloading Flask_Migrate-2.1.1-py2.py3-none-any.whl (13 kB)
Collecting Flask-PyMongo==0.5.1
Downloading Flask_PyMongo-0.5.1-py3-none-any.whl (10.0 kB)
Collecting Flask-Script==2.0.6
Downloading Flask-Script-2.0.6.tar.gz (43 kB)
Collecting Flask-SQLAlchemy==2.3.2
Downloading Flask_SQLAlchemy-2.3.2-py2.py3-none-any.whl (16 kB)
Collecting Flask-WTF==0.14.2
Downloading Flask_WTF-0.14.2-py2.py3-none-any.whl (14 kB)
Collecting gunicorn==19.7.1
Downloading gunicorn-19.7.1-py2.py3-none-any.whl (111 kB)
Collecting itsdangerous==0.24
Downloading itsdangerous-0.24.tar.gz (46 kB)
Collecting Jinja2==2.10
Downloading Jinja2-2.10-py2.py3-none-any.whl (126 kB)
Collecting Mako==1.0.7
Downloading Mako-1.0.7.tar.gz (564 kB)
Collecting MarkupSafe==1.0
Downloading MarkupSafe-1.0.tar.gz (14 kB)
ERROR: Command errored out with exit status 1:
command: /app/.heroku/python/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-uzscpaqz/MarkupSafe/setup.py'"'"'; __file__='"'"'/tmp/pip-install-uzscpaqz/MarkupSafe/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-jupo_kuh
cwd: /tmp/pip-install-uzscpaqz/MarkupSafe/
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-uzscpaqz/MarkupSafe/setup.py", line 6, in <module>
from setuptools import setup, Extension, Feature
ImportError: cannot import name 'Feature'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
! Push rejected, failed to compile Python app.
! Push failed
Try upgrading MarkupSafe to the latest release:
$ pip install --upgrade MarkupSafe