How to install google-ads (grpcio) in AWS ec2 - python
I want to use google-ads in AWS EC2.
I try to install it with, pip install google-ads but this throws an error.
Error:
ssm-user#ip-172-31-47-200:/var/snap/amazon-ssm-agent/3552$ pip install pip install google-ads
Collecting pip
Downloading https://files.pythonhosted.org/packages/47/ca/f0d790b6e18b3a6f3bd5e80c2ee4edbb5807286c21cdd0862ca933f751dd/pip-21.1.3-py3-none-any.whl (1.5MB)
100% |████████████████████████████████| 1.6MB 871kB/s
Collecting install
Downloading https://files.pythonhosted.org/packages/f0/a5/fd2eb807a9a593869ee8b7a6bcb4ad84a6eb31cef5c24d1bfbf7c938c13f/install-1.3.4-py3-none-any.whl
Collecting google-ads
Collecting grpcio<2.0.0,>=1.33.2 (from google-ads)
Using cached https://files.pythonhosted.org/packages/cd/80/4b65b06e35599af065076891248b88d16c87cee1121b8886316ad4343f50/grpcio-1.38.1.tar.gz
Collecting PyYAML<6.0,>=5.1 (from google-ads)
Using cached https://files.pythonhosted.org/packages/7a/5b/bc0b5ab38247bba158504a410112b6c03f153c652734ece1849749e5f518/PyYAML-5.4.1-cp36-cp36m-manylinux1_x86_64.whl
Collecting google-auth-oauthlib<1.0.0,>=0.3.0 (from google-ads)
Using cached https://files.pythonhosted.org/packages/9d/d3/7541e89f1fc456eef157224f597a8bba22589db6369a03eaba68c11f07a0/google_auth_oauthlib-0.4.4-py2.py3-none-any.whl
Collecting google-api-core<2.0.0,>=1.21.0 (from google-ads)
Using cached https://files.pythonhosted.org/packages/f6/72/6dc3c3c4576fedc409fd825bf71e22d0f448bd68143c79cdbd6216744282/google_api_core-1.30.0-py2.py3-none-any.whl
Collecting dataclasses<1.0.0,>=0.6; python_version < "3.7" (from google-ads)
Using cached https://files.pythonhosted.org/packages/fe/ca/75fac5856ab5cfa51bbbcefa250182e50441074fdc3f803f6e76451fab43/dataclasses-0.8-py3-none-any.whl
Collecting nox==2020.12.31 (from google-ads)
Using cached https://files.pythonhosted.org/packages/d3/a6/6a6a1cca717bf241323ec1bfa5b679b643437fee3c26af2387d3766a8986/nox-2020.12.31-py3-none-any.whl
Collecting proto-plus<2.0.0,>=1.18.0 (from google-ads)
Using cached https://files.pythonhosted.org/packages/8c/72/6f3f4cdc5bb0294f8d7f3f8aacb617b4c3cb17554ed78f7e28009162c795/proto_plus-1.19.0-py3-none-any.whl
Collecting setuptools>=40.3.0 (from google-ads)
Using cached https://files.pythonhosted.org/packages/a2/e1/902fbc2f61ad6243cd3d57ffa195a9eb123021ec912ec5d811acf54a39f8/setuptools-57.1.0-py3-none-any.whl
Collecting googleapis-common-protos<2.0.0,>=1.5.8 (from google-ads)
Using cached https://files.pythonhosted.org/packages/55/08/796a6bc0b550e2b7116041c953d3d5100016abea106131d71e5651826e7b/googleapis_common_protos-1.53.0-py2.py3-none-any.whl
Collecting pep562<2.0,>=1.0 (from google-ads)
Using cached https://files.pythonhosted.org/packages/8f/b9/8a74b93c643b54cc7579087ff6a56aa1a9c52329be6846abfbaee4a7828b/pep562-1.1-py2.py3-none-any.whl
Collecting six>=1.5.2 (from grpcio<2.0.0,>=1.33.2->google-ads)
Using cached https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl
Collecting google-auth>=1.0.0 (from google-auth-oauthlib<1.0.0,>=0.3.0->google-ads)
Using cached https://files.pythonhosted.org/packages/6e/1d/e4718af587967b8fb6ac7e0e257809934005a3f8fde8f31a304c7e682874/google_auth-1.32.1-py2.py3-none-any.whl
Collecting requests-oauthlib>=0.7.0 (from google-auth-oauthlib<1.0.0,>=0.3.0->google-ads)
Using cached https://files.pythonhosted.org/packages/a3/12/b92740d845ab62ea4edf04d2f4164d82532b5a0b03836d4d4e71c6f3d379/requests_oauthlib-1.3.0-py2.py3-none-any.whl
Collecting protobuf>=3.12.0 (from google-api-core<2.0.0,>=1.21.0->google-ads)
Using cached https://files.pythonhosted.org/packages/53/4e/e2db88d0bb0bda6a879eea62fddbaf813719ce3770d458bc5580512d9c95/protobuf-3.17.3-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Collecting requests<3.0.0dev,>=2.18.0 (from google-api-core<2.0.0,>=1.21.0->google-ads)
Using cached https://files.pythonhosted.org/packages/29/c1/24814557f1d22c56d50280771a17307e6bf87b70727d975fd6b2ce6b014a/requests-2.25.1-py2.py3-none-any.whl
Collecting packaging>=14.3 (from google-api-core<2.0.0,>=1.21.0->google-ads)
Using cached https://files.pythonhosted.org/packages/3c/77/e2362b676dc5008d81be423070dd9577fa03be5da2ba1105811900fda546/packaging-21.0-py3-none-any.whl
Collecting pytz (from google-api-core<2.0.0,>=1.21.0->google-ads)
Using cached https://files.pythonhosted.org/packages/70/94/784178ca5dd892a98f113cdd923372024dc04b8d40abe77ca76b5fb90ca6/pytz-2021.1-py2.py3-none-any.whl
Collecting virtualenv>=14.0.0 (from nox==2020.12.31->google-ads)
Using cached https://files.pythonhosted.org/packages/03/08/f819421002e85a71d58368f7bffbe0b1921325e0e8ca7857cb5fb0e1f7c1/virtualenv-20.4.7-py2.py3-none-any.whl
Collecting argcomplete<2.0,>=1.9.4 (from nox==2020.12.31->google-ads)
Using cached https://files.pythonhosted.org/packages/b7/9e/9dc74d330c07866d72f62d553fe8bdbe32786ff247a14e68b5659963e6bd/argcomplete-1.12.3-py2.py3-none-any.whl
Collecting py<2.0.0,>=1.4.0 (from nox==2020.12.31->google-ads)
Using cached https://files.pythonhosted.org/packages/67/32/6fe01cfc3d1a27c92fdbcdfc3f67856da8cbadf0dd9f2e18055202b2dc62/py-1.10.0-py2.py3-none-any.whl
Collecting colorlog<5.0.0,>=2.6.1 (from nox==2020.12.31->google-ads)
Using cached https://files.pythonhosted.org/packages/51/62/61449c6bb74c2a3953c415b2cdb488e4f0518ac67b35e2b03a6d543035ca/colorlog-4.8.0-py2.py3-none-any.whl
Collecting importlib-metadata; python_version < "3.8" (from nox==2020.12.31->google-ads)
Using cached https://files.pythonhosted.org/packages/3f/e1/e5bba549a033adf77448699a34ecafc7a32adaeeb4369396b35f56d5cc3e/importlib_metadata-4.6.1-py3-none-any.whl
Collecting cachetools<5.0,>=2.0.0 (from google-auth>=1.0.0->google-auth-oauthlib<1.0.0,>=0.3.0->google-ads)
Using cached https://files.pythonhosted.org/packages/bf/28/c4f5796c67ad06bb91d98d543a5e01805c1ff065e08871f78e52d2a331ad/cachetools-4.2.2-py3-none-any.whl
Collecting pyasn1-modules>=0.2.1 (from google-auth>=1.0.0->google-auth-oauthlib<1.0.0,>=0.3.0->google-ads)
Using cached https://files.pythonhosted.org/packages/95/de/214830a981892a3e286c3794f41ae67a4495df1108c3da8a9f62159b9a9d/pyasn1_modules-0.2.8-py2.py3-none-any.whl
Collecting rsa<5,>=3.1.4; python_version >= "3.6" (from google-auth>=1.0.0->google-auth-oauthlib<1.0.0,>=0.3.0->google-ads)
Using cached https://files.pythonhosted.org/packages/e9/93/0c0f002031f18b53af7a6166103c02b9c0667be528944137cc954ec921b3/rsa-4.7.2-py3-none-any.whl
Collecting oauthlib>=3.0.0 (from requests-oauthlib>=0.7.0->google-auth-oauthlib<1.0.0,>=0.3.0->google-ads)
Using cached https://files.pythonhosted.org/packages/e8/5d/9dd1c29e5a786525f6342f6c1d812ed2e37edc653ad297048c1668988053/oauthlib-3.1.1-py2.py3-none-any.whl
Collecting urllib3<1.27,>=1.21.1 (from requests<3.0.0dev,>=2.18.0->google-api-core<2.0.0,>=1.21.0->google-ads)
Using cached https://files.pythonhosted.org/packages/5f/64/43575537846896abac0b15c3e5ac678d787a4021e906703f1766bfb8ea11/urllib3-1.26.6-py2.py3-none-any.whl
Collecting chardet<5,>=3.0.2 (from requests<3.0.0dev,>=2.18.0->google-api-core<2.0.0,>=1.21.0->google-ads)
Using cached https://files.pythonhosted.org/packages/19/c7/fa589626997dd07bd87d9269342ccb74b1720384a4d739a1872bd84fbe68/chardet-4.0.0-py2.py3-none-any.whl
Collecting idna<3,>=2.5 (from requests<3.0.0dev,>=2.18.0->google-api-core<2.0.0,>=1.21.0->google-ads)
Using cached https://files.pythonhosted.org/packages/a2/38/928ddce2273eaa564f6f50de919327bf3a00f091b5baba8dfa9460f3a8a8/idna-2.10-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests<3.0.0dev,>=2.18.0->google-api-core<2.0.0,>=1.21.0->google-ads)
Using cached https://files.pythonhosted.org/packages/05/1b/0a0dece0e8aa492a6ec9e4ad2fe366b511558cdc73fd3abc82ba7348e875/certifi-2021.5.30-py2.py3-none-any.whl
Collecting pyparsing>=2.0.2 (from packaging>=14.3->google-api-core<2.0.0,>=1.21.0->google-ads)
Using cached https://files.pythonhosted.org/packages/8a/bb/488841f56197b13700afd5658fc279a2025a39e22449b7cf29864669b15d/pyparsing-2.4.7-py2.py3-none-any.whl
Collecting filelock<4,>=3.0.0 (from virtualenv>=14.0.0->nox==2020.12.31->google-ads)
Using cached https://files.pythonhosted.org/packages/93/83/71a2ee6158bb9f39a90c0dea1637f81d5eef866e188e1971a1b1ab01a35a/filelock-3.0.12-py3-none-any.whl
Collecting distlib<1,>=0.3.1 (from virtualenv>=14.0.0->nox==2020.12.31->google-ads)
Using cached https://files.pythonhosted.org/packages/87/26/f6a23dd3e578132cf924e0dd5d4e055af0cd4ab43e2a9f10b7568bfb39d9/distlib-0.3.2-py2.py3-none-any.whl
Collecting importlib-resources>=1.0; python_version < "3.7" (from virtualenv>=14.0.0->nox==2020.12.31->google-ads)
Using cached https://files.pythonhosted.org/packages/c3/8d/cb49c07dd01e797e76e86f33c3472ebd861216b57296095f5c17be9b79e8/importlib_resources-5.2.0-py3-none-any.whl
Collecting appdirs<2,>=1.4.3 (from virtualenv>=14.0.0->nox==2020.12.31->google-ads)
Using cached https://files.pythonhosted.org/packages/3b/00/2344469e2084fb287c2e0b57b72910309874c3245463acd6cf5e3db69324/appdirs-1.4.4-py2.py3-none-any.whl
Collecting typing-extensions>=3.6.4; python_version < "3.8" (from importlib-metadata; python_version < "3.8"->nox==2020.12.31->google-ads)
Using cached https://files.pythonhosted.org/packages/2e/35/6c4fff5ab443b57116cb1aad46421fb719bed2825664e8fe77d66d99bcbc/typing_extensions-3.10.0.0-py3-none-any.whl
Collecting zipp>=0.5 (from importlib-metadata; python_version < "3.8"->nox==2020.12.31->google-ads)
Using cached https://files.pythonhosted.org/packages/92/d9/89f433969fb8dc5b9cbdd4b4deb587720ec1aeb59a020cf15002b9593eef/zipp-3.5.0-py3-none-any.whl
Collecting pyasn1<0.5.0,>=0.4.6 (from pyasn1-modules>=0.2.1->google-auth>=1.0.0->google-auth-oauthlib<1.0.0,>=0.3.0->google-ads)
Using cached https://files.pythonhosted.org/packages/62/1e/a94a8d635fa3ce4cfc7f506003548d0a2447ae76fd5ca53932970fe3053f/pyasn1-0.4.8-py2.py3-none-any.whl
Building wheels for collected packages: grpcio
Running setup.py bdist_wheel for grpcio ... /
After this, a wired thing happen my ssh stop responding until I restart the AWS EC2
My Environment
Python version = 3.6.9
pip verions = 9.0.1
Ubuntu version = 8.04.5 LTS (Bionic Beaver)
Note: I also have REST API use Nginx reverse proxy a Node server via pm2
By following #jordanm's path I found that pip install is building some wheels (which is a heavy task and need more memory and resources)
Solution
Change your instance type to higher tier's (temporary) [Select the instance > right click > change instance type > choose whatever you want, I go with t3.xlarge]
SSH into your machine
Run the pip install commend, (If it crashes or frizzy again just repeat step 1 with higher tier instance type)
When the commend is successfully executed change back to your instance type. (if you want t to)
It's building the wheels. First time it does that will take ages, especially on a small instance.
Related
Error while trying to install Jupyter on Windows 10
I'm trying to install Jupyter for Python, but I'm having this problem while installing. This is happening with other packages when I try to install them through pip as well. Not sure how to solve it. Can somebody help me out here? Note: I've installed Python through Thonny. C:\Users\bhati\hello\Tkinter>pip install jupyter WARNING: Ignoring invalid distribution -ustomtkinter (c:\users\bhati\appdata\local\programs\thonny\lib\site-packages) WARNING: Ignoring invalid distribution -ustomtkinter (c:\users\bhati\appdata\local\programs\thonny\lib\site-packages) Collecting jupyter Using cached jupyter-1.0.0-py2.py3-none-any.whl (2.7 kB) Collecting nbconvert Downloading nbconvert-7.2.8-py3-none-any.whl (274 kB) ---------------------------------------- 274.8/274.8 kB 1.3 MB/s eta 0:00:00 Collecting ipykernel Using cached ipykernel-6.16.2-py3-none-any.whl (138 kB) Collecting jupyter-console Using cached jupyter_console-6.4.4-py3-none-any.whl (22 kB) Collecting ipywidgets Using cached ipywidgets-8.0.4-py3-none-any.whl (137 kB) Collecting qtconsole Using cached qtconsole-5.4.0-py3-none-any.whl (121 kB) Collecting notebook Using cached notebook-6.5.2-py3-none-any.whl (439 kB) Collecting matplotlib-inline>=0.1 Using cached matplotlib_inline-0.1.6-py3-none-any.whl (9.4 kB) Collecting ipython>=7.23.1 Using cached ipython-7.34.0-py3-none-any.whl (793 kB) Collecting tornado>=6.1 Using cached tornado-6.2-cp37-abi3-win32.whl (424 kB) Requirement already satisfied: packaging in c:\users\bhati\appdata\roaming\python\python37\site-packages (from ipykernel->jupyter) (21.3) Collecting traitlets>=5.1.0 Using cached traitlets-5.8.1-py3-none-any.whl (116 kB) Collecting nest-asyncio Using cached nest_asyncio-1.5.6-py3-none-any.whl (5.2 kB) Collecting debugpy>=1.0 Using cached debugpy-1.6.5-cp37-cp37m-win32.whl (4.8 MB) Collecting pyzmq>=17 Using cached pyzmq-25.0.0-cp37-cp37m-win32.whl (866 kB) Collecting jupyter-client>=6.1.12 Using cached jupyter_client-7.4.9-py3-none-any.whl (133 kB) Collecting psutil Using cached psutil-5.9.4-cp36-abi3-win32.whl (247 kB) Collecting jupyterlab-widgets~=3.0 Using cached jupyterlab_widgets-3.0.5-py3-none-any.whl (384 kB) Collecting widgetsnbextension~=4.0 Using cached widgetsnbextension-4.0.5-py3-none-any.whl (2.0 MB) Requirement already satisfied: pygments in c:\users\bhati\appdata\local\programs\thonny\lib\site-packages (from jupyter-console->jupyter) (2.11.2) Collecting prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0 Using cached prompt_toolkit-3.0.36-py3-none-any.whl (386 kB) Requirement already satisfied: beautifulsoup4 in c:\users\bhati\appdata\local\programs\thonny\lib\site-packages (from nbconvert->jupyter) (4.8.2) Collecting mistune<3,>=2.0.3 Using cached mistune-2.0.4-py2.py3-none-any.whl (24 kB) Collecting bleach Using cached bleach-5.0.1-py3-none-any.whl (160 kB) Collecting markupsafe>=2.0 Using cached MarkupSafe-2.1.1-cp37-cp37m-win32.whl (14 kB) Collecting nbformat>=5.1 Using cached nbformat-5.7.3-py3-none-any.whl (78 kB) Collecting jupyter-core>=4.7 Using cached jupyter_core-4.12.0-py3-none-any.whl (89 kB) Collecting defusedxml Using cached defusedxml-0.7.1-py2.py3-none-any.whl (25 kB) Collecting tinycss2 Using cached tinycss2-1.2.1-py3-none-any.whl (21 kB) Requirement already satisfied: importlib-metadata>=3.6 in c:\users\bhati\appdata\roaming\python\python37\site-packages (from nbconvert->jupyter) (4.11.1) Collecting nbclient>=0.5.0 Using cached nbclient-0.7.2-py3-none-any.whl (71 kB) Collecting pandocfilters>=1.4.1 Using cached pandocfilters-1.5.0-py2.py3-none-any.whl (8.7 kB) Collecting jupyterlab-pygments Using cached jupyterlab_pygments-0.2.2-py2.py3-none-any.whl (21 kB) Collecting jinja2>=3.0 Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB) Collecting argon2-cffi Using cached argon2_cffi-21.3.0-py3-none-any.whl (14 kB) Collecting Send2Trash>=1.8.0 Using cached Send2Trash-1.8.0-py3-none-any.whl (18 kB) Collecting prometheus-client Using cached prometheus_client-0.15.0-py3-none-any.whl (60 kB) Collecting nbclassic>=0.4.7 Using cached nbclassic-0.4.8-py3-none-any.whl (9.8 MB) Collecting terminado>=0.8.3 Using cached terminado-0.17.1-py3-none-any.whl (17 kB) Collecting ipython-genutils Using cached ipython_genutils-0.2.0-py2.py3-none-any.whl (26 kB) Collecting qtpy>=2.0.1 Using cached QtPy-2.3.0-py3-none-any.whl (83 kB) Requirement already satisfied: zipp>=0.5 in c:\users\bhati\appdata\roaming\python\python37\site-packages (from importlib-metadata>=3.6->nbconvert->jupyter) (3.7.0) Requirement already satisfied: typing-extensions>=3.6.4 in c:\users\bhati\appdata\local\programs\thonny\lib\site-packages (from importlib-metadata>=3.6->nbconvert->jupyter) (4.3.0) Collecting jedi>=0.16 Using cached jedi-0.18.2-py2.py3-none-any.whl (1.6 MB) Requirement already satisfied: decorator in c:\users\bhati\appdata\local\programs\thonny\lib\site-packages (from ipython>=7.23.1->ipykernel->jupyter) (4.4.2) Collecting pickleshare Using cached pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB) Collecting backcall Using cached backcall-0.2.0-py2.py3-none-any.whl (11 kB) Requirement already satisfied: setuptools>=18.5 in c:\users\bhati\appdata\local\programs\thonny\lib\site-packages (from ipython>=7.23.1->ipykernel->jupyter) (65.6.3) Requirement already satisfied: colorama in c:\users\bhati\appdata\roaming\python\python37\site-packages (from ipython>=7.23.1->ipykernel->jupyter) (0.4.4) Requirement already satisfied: python-dateutil>=2.8.2 in c:\users\bhati\appdata\roaming\python\python37\site-packages (from jupyter-client>=6.1.12->ipykernel->jupyter) (2.8.2) Collecting entrypoints Using cached entrypoints-0.4-py3-none-any.whl (5.3 kB) Collecting pywin32>=1.0 Using cached pywin32-305-cp37-cp37m-win32.whl (11.1 MB) Collecting jupyter-server>=1.8 Using cached jupyter_server-1.23.5-py3-none-any.whl (346 kB) Collecting notebook-shim>=0.1.0 Using cached notebook_shim-0.2.2-py3-none-any.whl (13 kB) Collecting jsonschema>=2.6 Using cached jsonschema-4.17.3-py3-none-any.whl (90 kB) Collecting fastjsonschema Using cached fastjsonschema-2.16.2-py3-none-any.whl (22 kB) Collecting wcwidth Downloading wcwidth-0.2.6-py2.py3-none-any.whl (29 kB) Collecting pywinpty>=1.1.0 Using cached pywinpty-2.0.10.tar.gz (26 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error × Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [6 lines of output] 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/ Checking for Rust toolchain.... [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details. WARNING: Ignoring invalid distribution -ustomtkinter (c:\users\bhati\appdata\local\programs\thonny\lib\site-packages) WARNING: Ignoring invalid distribution -ustomtkinter (c:\users\bhati\appdata\local\programs\thonny\lib\site-packages) WARNING: Ignoring invalid distribution -ustomtkinter (c:\users\bhati\appdata\local\programs\thonny\lib\site-packages) I've tried upgrading pip to the latest version
Solved by installing the latest version of Thonny and consecutively Python.
I prefer you to see here. Its offer is to add the following to the installation command: --use-deprecated=backtrack-on-build-failures So you should use the following command to install Jupyter: pip install jupyter --use-deprecated=backtrack-on-build-failures
Error of rasa and rasa X intallation and running the local server
I have installed rasa on Max OSX and this output on the terminal: python3.8 -m pip install rasa Collecting rasa Using cached rasa-2.2.2-py3-none-any.whl (688 kB) Processing /Users/zahraa-maher/Library/Caches/pip/wheels/2d/6d/bb/486f8c893f1dcc917860a5b3e2f2ca286c398f7d548ffc649c/aiohttp-3.6.3-cp38-cp38-macosx_10_9_x86_64.whl Collecting apscheduler<3.7,>=3.6 Using cached APScheduler-3.6.3-py2.py3-none-any.whl (58 kB) Collecting ujson<4.0,>=1.35 Using cached ujson-3.2.0-cp38-cp38-macosx_10_14_x86_64.whl (45 kB) Collecting absl-py<0.11,>=0.9 Using cached absl_py-0.10.0-py3-none-any.whl (127 kB) Collecting jsonschema<3.3,>=3.2 Using cached jsonschema-3.2.0-py2.py3-none-any.whl (56 kB) Collecting tqdm<4.51,>=4.31 Using cached tqdm-4.50.2-py2.py3-none-any.whl (70 kB) Processing /Users/zahraa-maher/Library/Caches/pip/wheels/e3/20/a2/d1e894c0ef62547559ba0cca55e27dc5dcf65ad87abea69d32/sanic_jwt-1.4.1-py3-none-any.whl Collecting multidict<5.0,>=4.6 Using cached multidict-4.7.6-cp38-cp38-macosx_10_14_x86_64.whl (48 kB) Collecting rasa-sdk<3.0.0,>=2.2.0 Using cached rasa_sdk-2.2.0-py3-none-any.whl (42 kB) Collecting redis<4.0,>=3.4 Using cached redis-3.5.3-py2.py3-none-any.whl (72 kB) Collecting questionary<1.6.0,>=1.5.1 Using cached questionary-1.5.2-py3-none-any.whl (26 kB) Collecting async_generator<1.11,>=1.10 Using cached async_generator-1.10-py3-none-any.whl (18 kB) Processing /Users/zahraa-maher/Library/Caches/pip/wheels/96/aa/c2/aab14cd3ad606228f7c3d151a0ec7da79978964a2b2e92db91/regex-2020.9.27-cp38-cp38-macosx_10_9_x86_64.whl Collecting sentry-sdk<0.20.0,>=0.17.0 Using cached sentry_sdk-0.19.5-py2.py3-none-any.whl (128 kB) Requirement already satisfied: setuptools>=41.0.0 in ./venv/lib/python3.8/site-packages (from rasa) (50.3.2) Collecting jsonpickle<1.5,>=1.3 Using cached jsonpickle-1.4.2-py2.py3-none-any.whl (36 kB) Collecting packaging<21.0,>=20.0 Using cached packaging-20.8-py2.py3-none-any.whl (39 kB) Collecting fbmessenger<6.1.0,>=6.0.0 Using cached fbmessenger-6.0.0-py2.py3-none-any.whl (11 kB) Collecting attrs<20.3,>=19.3 Using cached attrs-20.2.0-py2.py3-none-any.whl (48 kB) Collecting rocketchat_API<1.10.0,>=0.6.31 Using cached rocketchat_API-1.9.1-py3-none-any.whl (9.8 kB) Collecting coloredlogs<15,>=10 Using cached coloredlogs-14.3-py2.py3-none-any.whl (44 kB) Collecting python-dateutil<2.9,>=2.8 Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB) Collecting networkx<2.6,>=2.4 Using cached networkx-2.5-py3-none-any.whl (1.6 MB) Collecting tensorflow-probability<0.12,>=0.11 Using cached tensorflow_probability-0.11.1-py2.py3-none-any.whl (4.3 MB) Collecting pykwalify<1.8.0,>=1.7.0 Using cached pykwalify-1.7.0-py2.py3-none-any.whl (40 kB) Processing /Users/zahraa-maher/Library/Caches/pip/wheels/08/8f/5f/253d0105a55bd84ee61ef0d37dbf70421e61e0cd70cef7c5e1/terminaltables-3.1.0-py3-none-any.whl Collecting pytz<2021.0,>=2019.1 Using cached pytz-2020.4-py2.py3-none-any.whl (509 kB) Collecting colorhash<1.1.0,>=1.0.2 Using cached colorhash-1.0.3-py3-none-any.whl (4.0 kB) Collecting joblib<0.16.0,>=0.15.1 Using cached joblib-0.15.1-py3-none-any.whl (298 kB) Collecting kafka-python<3.0,>=1.4 Using cached kafka_python-2.0.2-py2.py3-none-any.whl (246 kB) Processing /Users/zahraa-maher/Library/Caches/pip/wheels/cd/d4/31/74e1cb4f74bd72a0e74d6fbb28f5093b9a2168df275aa59440/twilio-6.45.4-py2.py3-none-any.whl Processing /Users/zahraa-maher/Library/Caches/pip/wheels/bf/4f/4e/831c191578fd8b676533e1bf85e4710e3215c72c1d3d0d6710/colorclass-2.2.0-py3-none-any.whl Collecting PyJWT<1.8,>=1.7 Using cached PyJWT-1.7.1-py2.py3-none-any.whl (18 kB) Collecting pydot<1.5,>=1.4 Using cached pydot-1.4.1-py2.py3-none-any.whl (19 kB) Processing /Users/zahraa-maher/Library/Caches/pip/wheels/1a/d3/89/63aef88b581e7acc2c48812e6160a2bae57b6ef180f6e1f293/mattermostwrapper-2.2-py3-none-any.whl Processing /Users/zahraa-maher/Library/Caches/pip/wheels/64/0e/23/0691479628b75b644d805dec9434665a3066e9be25c05cc3b9/pyTelegramBotAPI-3.7.4-py3-none-any.whl Collecting python-engineio<3.14,>=3.11 Using cached python_engineio-3.13.2-py2.py3-none-any.whl (50 kB) Collecting cloudpickle<1.5,>=1.2 Using cached cloudpickle-1.4.1-py3-none-any.whl (26 kB) Collecting python-socketio<4.7,>=4.4 Using cached python_socketio-4.6.1-py2.py3-none-any.whl (51 kB) Collecting psycopg2-binary<2.9.0,>=2.8.2 Using cached psycopg2_binary-2.8.6-cp38-cp38-macosx_10_9_x86_64.macosx_10_9_intel.macosx_10_10_intel.macosx_10_10_x86_64.whl (1.5 MB) 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.4,>=2.3 Using cached tensorflow_estimator-2.3.0-py2.py3-none-any.whl (459 kB) Collecting scikit-learn<0.24,>=0.22 Using cached scikit_learn-0.23.2-cp38-cp38-macosx_10_9_x86_64.whl (7.2 MB) Collecting matplotlib<3.4,>=3.1 Using cached matplotlib-3.3.3-cp38-cp38-macosx_10_9_x86_64.whl (8.5 MB) Collecting tensorflow_hub<0.10,>=0.9 Using cached tensorflow_hub-0.9.0-py2.py3-none-any.whl (103 kB) Collecting scipy<2.0.0,>=1.4.1 Using cached scipy-1.5.4-cp38-cp38-macosx_10_9_x86_64.whl (29.0 MB) Collecting aio-pika<7.0.0,>=6.7.1 Using cached aio_pika-6.7.1-py3-none-any.whl (41 kB) Collecting boto3<2.0,>=1.12 Using cached boto3-1.16.41-py2.py3-none-any.whl (130 kB) Collecting tensorflow<2.4,>=2.3 Using cached tensorflow-2.3.1-cp38-cp38-macosx_10_14_x86_64.whl (165.2 MB) Collecting webexteamssdk<1.7.0,>=1.1.1 Using cached webexteamssdk-1.6-py3-none-any.whl (113 kB) Collecting oauth2client==4.1.3 Using cached oauth2client-4.1.3-py2.py3-none-any.whl (98 kB) Collecting pymongo[srv,tls]<3.11,>=3.8 Using cached pymongo-3.10.1-cp38-cp38-macosx_10_9_x86_64.whl (351 kB) Collecting slackclient<3.0.0,>=2.0.0 Using cached slackclient-2.9.3-py2.py3-none-any.whl (96 kB) Collecting sanic<21.0.0,>=19.12.2 Using cached sanic-20.9.1-py3-none-any.whl (79 kB) Collecting tensorflow-text<2.4,>=2.3; sys_platform != "win32" Using cached tensorflow_text-2.3.0-cp38-cp38-macosx_10_9_x86_64.whl (2.2 MB) Collecting SQLAlchemy<1.4.0,>=1.3.3 Using cached SQLAlchemy-1.3.22-cp38-cp38-macosx_10_14_x86_64.whl (1.2 MB) Collecting ruamel.yaml<0.17.0,>=0.16.5 Using cached ruamel.yaml-0.16.12-py2.py3-none-any.whl (111 kB) Collecting numpy<2.0,>=1.16 Using cached numpy-1.19.4-cp38-cp38-macosx_10_9_x86_64.whl (15.3 MB) 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 tensorflow-addons<=0.12,>=0.10 Using cached tensorflow_addons-0.11.2-cp38-cp38-macosx_10_13_x86_64.whl (613 kB) Collecting requests<3.0,>=2.23 Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB) Collecting prompt-toolkit<3.0,>=2.0 Using cached prompt_toolkit-2.0.10-py3-none-any.whl (340 kB) Collecting chardet<4.0,>=2.0 Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB) Collecting async-timeout<4.0,>=3.0 Using cached async_timeout-3.0.1-py3-none-any.whl (8.2 kB) Collecting yarl<1.6.0,>=1.0 Using cached yarl-1.5.1-cp38-cp38-macosx_10_14_x86_64.whl (128 kB) Collecting tzlocal>=1.2 Using cached tzlocal-2.1-py2.py3-none-any.whl (16 kB) Collecting six>=1.4.0 Using cached six-1.15.0-py2.py3-none-any.whl (10 kB) Processing /Users/zahraa-maher/Library/Caches/pip/wheels/3d/22/08/7042eb6309c650c7b53615d5df5cc61f1ea9680e7edd3a08d2/pyrsistent-0.17.3-cp38-cp38-macosx_10_9_x86_64.whl Collecting certifi Using cached certifi-2020.12.5-py2.py3-none-any.whl (147 kB) Collecting urllib3>=1.10.0 Using cached urllib3-1.26.2-py2.py3-none-any.whl (136 kB) Collecting pyparsing>=2.0.2 Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB) Collecting humanfriendly>=7.1 Using cached humanfriendly-9.1-py2.py3-none-any.whl (86 kB) Collecting decorator>=4.3.0 Using cached decorator-4.4.2-py2.py3-none-any.whl (9.2 kB) Collecting gast>=0.3.2 Using cached gast-0.4.0-py3-none-any.whl (9.8 kB) Collecting dm-tree Using cached dm_tree-0.1.5-cp38-cp38-macosx_10_14_x86_64.whl (95 kB) Processing /Users/zahraa-maher/Library/Caches/pip/wheels/56/ea/58/ead137b087d9e326852a851351d1debf4ada529b6ac0ec4e8c/docopt-0.6.2-py2.py3-none-any.whl Processing /Users/zahraa-maher/Library/Caches/pip/wheels/13/90/db/290ab3a34f2ef0b5a0f89235dc2d40fea83e77de84ed2dc05c/PyYAML-5.3.1-cp38-cp38-macosx_10_9_x86_64.whl Collecting python-crfsuite>=0.8.3 Using cached python_crfsuite-0.9.7-cp38-cp38-macosx_10_13_x86_64.whl (186 kB) Collecting tabulate Using cached tabulate-0.8.7-py3-none-any.whl (24 kB) Collecting threadpoolctl>=2.0.0 Using cached threadpoolctl-2.1.0-py3-none-any.whl (12 kB) Collecting kiwisolver>=1.0.1 Using cached kiwisolver-1.3.1-cp38-cp38-macosx_10_9_x86_64.whl (61 kB) Collecting pillow>=6.2.0 Using cached Pillow-8.0.1-cp38-cp38-macosx_10_10_x86_64.whl (2.2 MB) Collecting cycler>=0.10 Using cached cycler-0.10.0-py2.py3-none-any.whl (6.5 kB) Collecting protobuf>=3.8.0 Using cached protobuf-3.14.0-cp38-cp38-macosx_10_9_x86_64.whl (1.0 MB) Collecting aiormq<4,>=3.2.3 Using cached aiormq-3.3.1-py3-none-any.whl (28 kB) Collecting s3transfer<0.4.0,>=0.3.0 Using cached s3transfer-0.3.3-py2.py3-none-any.whl (69 kB) Collecting jmespath<1.0.0,>=0.7.1 Using cached jmespath-0.10.0-py2.py3-none-any.whl (24 kB) Collecting botocore<1.20.0,>=1.19.41 Using cached botocore-1.19.41-py2.py3-none-any.whl (7.1 MB) Collecting grpcio>=1.8.6 Using cached grpcio-1.34.0-cp38-cp38-macosx_10_10_x86_64.whl (3.6 MB) Collecting google-pasta>=0.1.8 Using cached google_pasta-0.2.0-py3-none-any.whl (57 kB) Collecting astunparse==1.6.3 Using cached astunparse-1.6.3-py2.py3-none-any.whl (12 kB) Requirement already satisfied: wheel>=0.26 in ./venv/lib/python3.8/site-packages (from tensorflow<2.4,>=2.3->rasa) (0.35.1) Collecting h5py<2.11.0,>=2.10.0 Using cached h5py-2.10.0-cp38-cp38-macosx_10_9_x86_64.whl (3.0 MB) Processing /Users/zahraa-maher/Library/Caches/pip/wheels/a0/16/9c/5473df82468f958445479c59e784896fa24f4a5fc024b0f501/termcolor-1.1.0-py3-none-any.whl Collecting opt-einsum>=2.3.2 Using cached opt_einsum-3.3.0-py3-none-any.whl (65 kB) Collecting tensorboard<3,>=2.3.0 Using cached tensorboard-2.4.0-py3-none-any.whl (10.6 MB) Collecting keras-preprocessing<1.2,>=1.1.1 Using cached Keras_Preprocessing-1.1.2-py2.py3-none-any.whl (42 kB) Processing /Users/zahraa-maher/Library/Caches/pip/wheels/5f/fd/9e/b6cf5890494cb8ef0b5eaff72e5d55a70fb56316007d6dfe73/wrapt-1.12.1-cp38-cp38-macosx_10_9_x86_64.whl Collecting requests-toolbelt Using cached requests_toolbelt-0.9.1-py2.py3-none-any.whl (54 kB) Processing /Users/zahraa-maher/Library/Caches/pip/wheels/8e/70/28/3d6ccd6e315f65f245da085482a2e1c7d14b90b30f239e2cf4/future-0.18.2-py3-none-any.whl Collecting rsa>=3.1.4 Using cached rsa-4.6-py3-none-any.whl (47 kB) Collecting pyasn1>=0.1.7 Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB) Collecting pyasn1-modules>=0.0.5 Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB) Collecting httplib2>=0.9.1 Using cached httplib2-0.18.1-py3-none-any.whl (95 kB) Collecting dnspython<2.0.0,>=1.16.0; extra == "srv" Using cached dnspython-1.16.0-py2.py3-none-any.whl (188 kB) Collecting httptools>=0.0.10 Using cached httptools-0.1.1-cp38-cp38-macosx_10_13_x86_64.whl (102 kB) Collecting uvloop>=0.5.3; sys_platform != "win32" and implementation_name == "cpython" Using cached uvloop-0.14.0-cp38-cp38-macosx_10_11_x86_64.whl (1.5 MB) Collecting httpx==0.15.4 Using cached httpx-0.15.4-py3-none-any.whl (65 kB) Collecting websockets<9.0,>=8.1 Using cached websockets-8.1-cp38-cp38-macosx_10_9_x86_64.whl (64 kB) Collecting aiofiles>=0.3.0 Using cached aiofiles-0.6.0-py3-none-any.whl (11 kB) Collecting ruamel.yaml.clib>=0.1.2; platform_python_implementation == "CPython" and python_version < "3.9" Using cached ruamel.yaml.clib-0.2.2-cp38-cp38-macosx_10_9_x86_64.whl (149 kB) Collecting sanic-plugins-framework>=0.9.0 Using cached Sanic_Plugins_Framework-0.9.4.post1-py2.py3-none-any.whl (23 kB) Collecting typeguard>=2.7 Using cached typeguard-2.10.0-py3-none-any.whl (16 kB) Collecting idna<3,>=2.5 Using cached idna-2.10-py2.py3-none-any.whl (58 kB) Collecting wcwidth Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB) Collecting pamqp==2.3.0 Using cached pamqp-2.3.0-py2.py3-none-any.whl (28 kB) Collecting tensorboard-plugin-wit>=1.6.0 Using cached tensorboard_plugin_wit-1.7.0-py3-none-any.whl (779 kB) Collecting werkzeug>=0.11.15 Using cached Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB) Collecting google-auth-oauthlib<0.5,>=0.4.1 Using cached google_auth_oauthlib-0.4.2-py2.py3-none-any.whl (18 kB) Collecting markdown>=2.6.8 Using cached Markdown-3.3.3-py3-none-any.whl (96 kB) Collecting google-auth<2,>=1.6.3 Using cached google_auth-1.24.0-py2.py3-none-any.whl (114 kB) Collecting httpcore==0.11.* Using cached httpcore-0.11.1-py3-none-any.whl (52 kB) Collecting rfc3986[idna2008]<2,>=1.3 Using cached rfc3986-1.4.0-py2.py3-none-any.whl (31 kB) Collecting sniffio Using cached sniffio-1.2.0-py3-none-any.whl (10 kB) Collecting requests-oauthlib>=0.7.0 Using cached requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB) Collecting cachetools<5.0,>=2.0.0 Using cached cachetools-4.2.0-py3-none-any.whl (12 kB) Collecting h11<0.10,>=0.8 Using cached h11-0.9.0-py2.py3-none-any.whl (53 kB) Collecting oauthlib>=3.0.0 Using cached oauthlib-3.1.0-py2.py3-none-any.whl (147 kB) Installing collected packages: chardet, async-timeout, attrs, idna, multidict, yarl, aiohttp, pytz, tzlocal, six, apscheduler, ujson, absl-py, pyrsistent, jsonschema, tqdm, PyJWT, sanic-jwt, certifi, urllib3, requests, httptools, uvloop, sniffio, h11, httpcore, rfc3986, httpx, websockets, aiofiles, sanic, sanic-plugins-framework, sanic-cors, humanfriendly, coloredlogs, rasa-sdk, redis, wcwidth, prompt-toolkit, questionary, async-generator, regex, sentry-sdk, jsonpickle, pyparsing, packaging, fbmessenger, rocketchat-API, python-dateutil, decorator, networkx, gast, dm-tree, numpy, cloudpickle, tensorflow-probability, docopt, PyYAML, pykwalify, terminaltables, colorhash, joblib, kafka-python, twilio, colorclass, pydot, mattermostwrapper, pyTelegramBotAPI, python-engineio, python-socketio, psycopg2-binary, python-crfsuite, tabulate, sklearn-crfsuite, tensorflow-estimator, threadpoolctl, scipy, scikit-learn, kiwisolver, pillow, cycler, matplotlib, protobuf, tensorflow-hub, pamqp, aiormq, aio-pika, jmespath, botocore, s3transfer, boto3, grpcio, google-pasta, astunparse, h5py, termcolor, opt-einsum, tensorboard-plugin-wit, werkzeug, pyasn1, pyasn1-modules, cachetools, rsa, google-auth, oauthlib, requests-oauthlib, google-auth-oauthlib, markdown, tensorboard, keras-preprocessing, wrapt, tensorflow, requests-toolbelt, future, webexteamssdk, httplib2, oauth2client, dnspython, pymongo, slackclient, tensorflow-text, SQLAlchemy, ruamel.yaml.clib, ruamel.yaml, typeguard, tensorflow-addons, rasa ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts. We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. sanic 20.9.1 requires multidict==5.0.0, but you'll have multidict 4.7.6 which is incompatible. tensorflow 2.3.1 requires gast==0.3.3, but you'll have gast 0.4.0 which is incompatible. tensorflow 2.3.1 requires numpy<1.19.0,>=1.16.0, but you'll have numpy 1.19.4 which is incompatible. Successfully installed PyJWT-1.7.1 PyYAML-5.3.1 SQLAlchemy-1.3.22 absl-py-0.10.0 aio-pika-6.7.1 aiofiles-0.6.0 aiohttp-3.6.3 aiormq-3.3.1 apscheduler-3.6.3 astunparse-1.6.3 async-generator-1.10 async-timeout-3.0.1 attrs-20.2.0 boto3-1.16.41 botocore-1.19.41 cachetools-4.2.0 certifi-2020.12.5 chardet-3.0.4 cloudpickle-1.4.1 colorclass-2.2.0 coloredlogs-14.3 colorhash-1.0.3 cycler-0.10.0 decorator-4.4.2 dm-tree-0.1.5 dnspython-1.16.0 docopt-0.6.2 fbmessenger-6.0.0 future-0.18.2 gast-0.4.0 google-auth-1.24.0 google-auth-oauthlib-0.4.2 google-pasta-0.2.0 grpcio-1.34.0 h11-0.9.0 h5py-2.10.0 httpcore-0.11.1 httplib2-0.18.1 httptools-0.1.1 httpx-0.15.4 humanfriendly-9.1 idna-2.10 jmespath-0.10.0 joblib-0.15.1 jsonpickle-1.4.2 jsonschema-3.2.0 kafka-python-2.0.2 keras-preprocessing-1.1.2 kiwisolver-1.3.1 markdown-3.3.3 matplotlib-3.3.3 mattermostwrapper-2.2 multidict-4.7.6 networkx-2.5 numpy-1.19.4 oauth2client-4.1.3 oauthlib-3.1.0 opt-einsum-3.3.0 packaging-20.8 pamqp-2.3.0 pillow-8.0.1 prompt-toolkit-2.0.10 protobuf-3.14.0 psycopg2-binary-2.8.6 pyTelegramBotAPI-3.7.4 pyasn1-0.4.8 pyasn1-modules-0.2.8 pydot-1.4.1 pykwalify-1.7.0 pymongo-3.10.1 pyparsing-2.4.7 pyrsistent-0.17.3 python-crfsuite-0.9.7 python-dateutil-2.8.1 python-engineio-3.13.2 python-socketio-4.6.1 pytz-2020.4 questionary-1.5.2 rasa-2.2.2 rasa-sdk-2.2.0 redis-3.5.3 regex-2020.9.27 requests-2.25.1 requests-oauthlib-1.3.0 requests-toolbelt-0.9.1 rfc3986-1.4.0 rocketchat-API-1.9.1 rsa-4.6 ruamel.yaml-0.16.12 ruamel.yaml.clib-0.2.2 s3transfer-0.3.3 sanic-20.9.1 sanic-cors-0.10.0.post3 sanic-jwt-1.4.1 sanic-plugins-framework-0.9.4.post1 scikit-learn-0.23.2 scipy-1.5.4 sentry-sdk-0.19.5 six-1.15.0 sklearn-crfsuite-0.3.6 slackclient-2.9.3 sniffio-1.2.0 tabulate-0.8.7 tensorboard-2.4.0 tensorboard-plugin-wit-1.7.0 tensorflow-2.3.1 tensorflow-addons-0.11.2 tensorflow-estimator-2.3.0 tensorflow-hub-0.9.0 tensorflow-probability-0.11.1 tensorflow-text-2.3.0 termcolor-1.1.0 terminaltables-3.1.0 threadpoolctl-2.1.0 tqdm-4.50.2 twilio-6.45.4 typeguard-2.10.0 tzlocal-2.1 ujson-3.2.0 urllib3-1.26.2 uvloop-0.14.0 wcwidth-0.2.5 webexteamssdk-1.6 websockets-8.1 werkzeug-1.0.1 wrapt-1.12.1 yarl-1.5.1 WARNING: You are using pip version 20.2.4; however, version 20.3.3 is available. You should consider upgrading via the '/Users/zahraa-maher/rasa-init-demo/venv/bin/python3.8 -m pip install --upgrade pip' command. you can see that It has this with the output: ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts. We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. sanic 20.9.1 requires multidict==5.0.0, but you'll have multidict 4.7.6 which is incompatible. tensorflow 2.3.1 requires gast==0.3.3, but you'll have gast 0.4.0 which is incompatible. tensorflow 2.3.1 requires numpy<1.19.0,>=1.16.0, but you'll have numpy 1.19.4 which is incompatible. what is this mean and how I can solve it? what I should type? and then I have installed rasa x on the terminal also to start the local server, and those errors have appeared for me: ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts. We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. sanic 20.9.1 requires multidict==5.0.0, but you'll have multidict 4.7.6 which is incompatible. Successfully installed GitPython-3.1.11 Mako-1.1.3 MarkupSafe-1.1.1 alembic-1.4.3 attrs-19.3.0 cffi-1.14.4 cryptography-2.9.2 gitdb-4.0.5 isodate-0.6.0 kafka-python-1.4.7 pika-1.1.0 pycparser-2.20 python-editor-1.0.4 rasa-x-0.34.0 smmap-3.0.4 ujson-1.35 WARNING: You are using pip version 20.2.4; however, version 20.3.3 is available. You should consider upgrading via the '/Users/zahraa-maher/rasa-init-demo/venv/bin/python -m pip install --upgrade pip' command. and the local server is not running when I type http://localhost:5002/ on my browser how I solve the problem?
Could you share the commands that you use to install rasa and rasa-x? We recommend installing rasa and rasa-x in a python virtual environment. Step-by-step guide see installation guide. ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts. We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. sanic 20.9.1 requires multidict==5.0.0, but you'll have multidict 4.7.6 which is incompatible. Successfully installed GitPython-3.1.11 Mako-1.1.3 MarkupSafe-1.1.1 alembic-1.4.3 attrs-19.3.0 cffi-1.14.4 cryptography-2.9.2 gitdb-4.0.5 isodate-0.6.0 kafka-python-1.4.7 pika-1.1.0 pycparser-2.20 python-editor-1.0.4 rasa-x-0.34.0 smmap-3.0.4 ujson-1.35 WARNING: You are using pip version 20.2.4; however, version 20.3.3 is available. You should consider upgrading via the '/Users/zahraa-maher/rasa-init-demo/venv/bin/python -m pip install --upgrade pip' command. This error message is more likely a python library compatibility problem. Your multidict, gast, numpy packages are not the version that rasa needs. A solution for this is to use virtual environment and install the compatible version of multidict, gast, numpy packages in that virtual environment.
Not able to install locust on windows
I installed locust using the command on windows py -m pip install locustio This is the output I got Collecting locustio Using cached https://files.pythonhosted.org/packages/98/12/60351b28a00c76d36022d79bead7dc217e9e49cddd7091cb164319196323/locustio-0.11.0-py2.py3-none-any.whl Collecting gevent>=1.2.2 (from locustio) Downloading https://files.pythonhosted.org/packages/8a/dd/417aad4e69fa7f8882534b778c46cb28eb0421ffa1e924ec3b4efcfcc81f/gevent-1.4.0-cp37-cp37m-win_amd64.whl (3.0MB) 100% |████████████████████████████████| 3.0MB 356kB/s Requirement already satisfied: requests>=2.9.1 in c:\python37\lib\site-packages (from locustio) (2.22.0) Collecting six>=1.10.0 (from locustio) Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl Collecting msgpack>=0.4.2 (from locustio) Downloading https://files.pythonhosted.org/packages/d1/67/476640810609471e0f3a32c9f4388bf1318b773d0a64b116305d3b604dca/msgpack-0.6.1-cp37-cp37m-win_amd64.whl (68kB) 100% |████████████████████████████████| 71kB 354kB/s Collecting flask>=0.10.1 (from locustio) Using cached https://files.pythonhosted.org/packages/9b/93/628509b8d5dc749656a9641f4caf13540e2cdec85276964ff8f43bbb1d3b/Flask-1.1.1-py2.py3-none-any.whl Collecting pyzmq>=16.0.2 (from locustio) Downloading https://files.pythonhosted.org/packages/62/15/27d1655af3f96c59073073b03022c6a0c1cbfa583c036b46ae8c33d51ee6/pyzmq-18.1.0-cp37-cp37m-win_amd64.whl (1.0MB) 100% |████████████████████████████████| 1.1MB 314kB/s Collecting cffi>=1.11.5; sys_platform == "win32" and platform_python_implementation == "CPython" (from gevent>=1.2.2->locustio) Downloading https://files.pythonhosted.org/packages/2f/ad/9722b7752fdd88c858be57b47f41d1049b5fb0ab79caf0ab11407945c1a7/cffi-1.12.3-cp37-cp37m-win_amd64.whl (171kB) 100% |████████████████████████████████| 174kB 108kB/s Collecting greenlet>=0.4.14; platform_python_implementation == "CPython" (from gevent>=1.2.2->locustio) Downloading https://files.pythonhosted.org/packages/90/a3/da8593df08ee2efeb86ccf3201508a1fd2a3749e2735b7cadb7dd00416c6/greenlet-0.4.15-cp37-cp37m-win_amd64.whl Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in c:\python37\lib\site-packages (from requests>=2.9.1->locustio) (1.25.3) Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\python37\lib\site-packages (from requests>=2.9.1->locustio) (3.0.4) Requirement already satisfied: certifi>=2017.4.17 in c:\python37\lib\site-packages (from requests>=2.9.1->locustio) (2019.6.16) Requirement already satisfied: idna<2.9,>=2.5 in c:\python37\lib\site-packages (from requests>=2.9.1->locustio) (2.8) Collecting itsdangerous>=0.24 (from flask>=0.10.1->locustio) Using cached https://files.pythonhosted.org/packages/76/ae/44b03b253d6fade317f32c24d100b3b35c2239807046a4c953c7b89fa49e/itsdangerous-1.1.0-py2.py3-none-any.whl Collecting Jinja2>=2.10.1 (from flask>=0.10.1->locustio) Using cached https://files.pythonhosted.org/packages/1d/e7/fd8b501e7a6dfe492a433deb7b9d833d39ca74916fa8bc63dd1a4947a671/Jinja2-2.10.1-py2.py3-none-any.whl Collecting Werkzeug>=0.15 (from flask>=0.10.1->locustio) Using cached https://files.pythonhosted.org/packages/d1/ab/d3bed6b92042622d24decc7aadc8877badf18aeca1571045840ad4956d3f/Werkzeug-0.15.5-py2.py3-none-any.whl Collecting click>=5.1 (from flask>=0.10.1->locustio) Using cached https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl Collecting pycparser (from cffi>=1.11.5; sys_platform == "win32" and platform_python_implementation == "CPython"->gevent>=1.2.2->locustio) Using cached https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz Collecting MarkupSafe>=0.23 (from Jinja2>=2.10.1->flask>=0.10.1->locustio) Downloading https://files.pythonhosted.org/packages/65/c6/2399700d236d1dd681af8aebff1725558cddfd6e43d7a5184a675f4711f5/MarkupSafe-1.1.1-cp37-cp37m-win_amd64.whl Installing collected packages: pycparser, cffi, greenlet, gevent, six, msgpack, itsdangerous, MarkupSafe, Jinja2, Werkzeug, click, flask, pyzmq, locustio Running setup.py install for pycparser ... done The script flask.exe is installed in 'C:\Python37\Scripts' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. The script locust.exe is installed in 'C:\Python37\Scripts' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. Successfully installed Jinja2-2.10.1 MarkupSafe-1.1.1 Werkzeug-0 Now when I run the command locust --help I get this on the command line 'locust' is not recognized as an internal or external command, operable program or batch file What could be the issue?Any help would be appreciated.
It seems that you have not added python 3.7 in the environment variable PATH. While this could have been achieved while installing python itself by checking the box to Add Python to the path. However, you can still add the location of Python37(where python37 is installed) by going to This PC--Right-Click->Properties-->Advanced System Settings-->Environment Variables tab-->System Variables--Edit Path & add value*. I recently wrote steps for setting up locust on windows which might help -https://www.qamilestone.com/post/set-up-locust-on-windows -Regards, Anuradha
Why did a new version of a library get installed when the current one satisfied setup.py requirements?
I developed a package that uses matplotlib and so I've added the following line to my project's setup.py: (link to setup.py) install_requires=[ 'matplotlib>=2.0.0', ...other libs ] However, when I tried to install my package into a virtualenv (via pip install) that already had matplolib version 2.1.0 installed, pip fetched and installed matplotlib version 3 regardless. Is this expected behaviour or was there something else happening here?
Let's me try with a new empty virtualenv: $ pip install matplotlib==2.1.0 Collecting matplotlib==2.1.0 Downloading https://files.pythonhosted.org/packages/6c/90/cf10bb2020d2811da811a49601f6eafcda022c6ccd296fd05aba093dee96/matplotlib-2.1.0.tar.gz (35.7MB) 100% |################################| 35.7MB 412kB/s Collecting numpy>=1.7.1 (from matplotlib==2.1.0) Using cached https://files.pythonhosted.org/packages/45/04/7a738e489a25a9638520a43a0cbfcc4be3ed056266e3110a330a905b36b5/numpy-1.16.2-cp35-cp35m-manylinux1_i686.whl Collecting six>=1.10 (from matplotlib==2.1.0) Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl Collecting python-dateutil>=2.0 (from matplotlib==2.1.0) Using cached https://files.pythonhosted.org/packages/41/17/c62faccbfbd163c7f57f3844689e3a78bae1f403648a6afb1d0866d87fbb/python_dateutil-2.8.0-py2.py3-none-any.whl Collecting pytz (from matplotlib==2.1.0) Downloading https://files.pythonhosted.org/packages/3d/73/fe30c2daaaa0713420d0382b16fbb761409f532c56bdcc514bf7b6262bb6/pytz-2019.1-py2.py3-none-any.whl (510kB) 100% |################################| 512kB 8.4MB/s Collecting cycler>=0.10 (from matplotlib==2.1.0) Using cached https://files.pythonhosted.org/packages/f7/d2/e07d3ebb2bd7af696440ce7e754c59dd546ffe1bbe732c8ab68b9c834e61/cycler-0.10.0-py2.py3-none-any.whl Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 (from matplotlib==2.1.0) Downloading https://files.pythonhosted.org/packages/dd/d9/3ec19e966301a6e25769976999bd7bbe552016f0d32b577dc9d63d2e0c49/pyparsing-2.4.0-py2.py3-none-any.whl (62kB) 100% |################################| 71kB 10.8MB/s Building wheels for collected packages: matplotlib Building wheel for matplotlib (setup.py) ... done Stored in directory: /home/phd/.cache/pip/wheels/a7/99/eb/b5566219ff5a526f98e802144d551feaa6b9340b3569bf86df Successfully built matplotlib Installing collected packages: numpy, six, python-dateutil, pytz, cycler, pyparsing, matplotlib Successfully installed cycler-0.10.0 matplotlib-2.1.0 numpy-1.16.2 pyparsing-2.4.0 python-dateutil-2.8.0 pytz-2019.1 six-1.12.0 $ pip install dsutil Collecting dsutil Downloading https://files.pythonhosted.org/packages/17/58/ea2ccb9d071040eb5baa16b91327a6799decec6cfbfb12222388e37951d7/dsutil-0.1.1-py3-none-any.whl Collecting scikit-learn>=0.20.0 (from dsutil) Downloading https://files.pythonhosted.org/packages/ee/40/d5e691b6f103f5cdfbd2e1468cb172f2267224844330ffe494409ff6a3d5/scikit_learn-0.20.3-cp35-cp35m-manylinux1_i686.whl (4.9MB) 100% |################################| 4.9MB 4.3MB/s Collecting pandas>=0.20.0 (from dsutil) Downloading https://files.pythonhosted.org/packages/b1/57/069982c126d22bbdb4de71912eec2c1d8d303149a0d7b17927797479a0ed/pandas-0.24.2-cp35-cp35m-manylinux1_i686.whl (8.7MB) 100% |################################| 8.7MB 3.0MB/s Requirement already satisfied: matplotlib>=2.0.0 in ./lib/python3.5/site-packages (from dsutil) (2.1.0) Requirement already satisfied: numpy>=1.8.2 in ./lib/python3.5/site-packages (from scikit-learn>=0.20.0->dsutil) (1.16.2) Collecting scipy>=0.13.3 (from scikit-learn>=0.20.0->dsutil) Using cached https://files.pythonhosted.org/packages/19/7b/fdd034bbd1c266b05bc5c38bc91e6733c0e19bc9d3630fd32d869998b6e3/scipy-1.2.1-cp35-cp35m-manylinux1_i686.whl Requirement already satisfied: python-dateutil>=2.5.0 in ./lib/python3.5/site-packages (from pandas>=0.20.0->dsutil) (2.8.0) Requirement already satisfied: pytz>=2011k in ./lib/python3.5/site-packages (from pandas>=0.20.0->dsutil) (2019.1) Requirement already satisfied: cycler>=0.10 in ./lib/python3.5/site-packages (from matplotlib>=2.0.0->dsutil) (0.10.0) Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in ./lib/python3.5/site-packages (from matplotlib>=2.0.0->dsutil) (2.4.0) Requirement already satisfied: six>=1.10 in ./lib/python3.5/site-packages (from matplotlib>=2.0.0->dsutil) (1.12.0) Installing collected packages: scipy, scikit-learn, pandas, dsutil Successfully installed dsutil-0.1.1 pandas-0.24.2 scikit-learn-0.20.3 scipy-1.2.1 See? matplotlib is not upgraded. Requirement already satisfied: matplotlib>=2.0.0. Can you show similar output of your terminal so we better understand what is going on?
Since you are specifying version to be >=2.0.0 (greater than 2.x.x), pip is installing latest version 3.x.x. If you want to install version 2.0.0 then try using following code: install_requires=[ 'matplotlib==2.0.0' ] Link for more information about versioning.
Getting error: " 'pkg-config' is required to install this package" while installing eth-testrpc
I am trying to install TestRPC for Ethereum on my Windows machine via MobaXterm terminal using pip [Reference: https://github.com/pipermerriam/eth-testrpc] as follows: pip install eth-testrpc But I get the following error: Using cached secp256k1-0.13.2.tar.gz Complete output from command python setup.py egg_info: 'pkg-config' is required to install this package. Please see the README for details. Unable to resolve it. It says "pkg-config is required. Does it mean the package: pkgconfig. This one is already installed: [manindra.singh] ➤ pip install pkgconfig Requirement already satisfied (use --upgrade to upgrade): pkgconfig in /usr/lib/python2.7/site-packages Full command execution: [manindra.singh] ➤ pip install eth-testrpc Collecting eth-testrpc Using cached eth-testrpc-0.8.4.tar.gz Collecting gevent>=1.1.2 (from eth-testrpc) Using cached gevent-1.1.2.tar.gz Collecting Werkzeug>=0.11.10 (from eth-testrpc) Using cached Werkzeug-0.11.11-py2.py3-none-any.whl Collecting click>=6.6 (from eth-testrpc) Using cached click-6.6.tar.gz Collecting ethereum-tester-client>=1.2.1 (from eth-testrpc) Using cached ethereum-tester-client-1.2.2.tar.gz Collecting ethereum>=1.5.2 (from eth-testrpc) Using cached ethereum-1.5.2.tar.gz Collecting json-rpc>=1.10.3 (from eth-testrpc) Using cached json_rpc-1.10.3-py2.py3-none-any.whl Collecting rlp>=0.4.4 (from eth-testrpc) Using cached rlp-0.4.6-py2.py3-none-any.whl Collecting greenlet>=0.4.9 (from gevent>=1.1.2->eth-testrpc) Using cached greenlet-0.4.10.zip Collecting repoze.lru (from ethereum>=1.5.2->eth-testrpc) Using cached repoze.lru-0.6.tar.gz Collecting PyYAML (from ethereum>=1.5.2->eth-testrpc) Using cached PyYAML-3.12.tar.gz Collecting pysha3 (from ethereum>=1.5.2->eth-testrpc) Using cached pysha3-0.3.zip Collecting pbkdf2 (from ethereum>=1.5.2->eth-testrpc) Using cached pbkdf2-1.3.tar.gz Collecting bitcoin (from ethereum>=1.5.2->eth-testrpc) Using cached bitcoin-1.1.42.tar.gz Collecting pycryptodome>=3.3.1 (from ethereum>=1.5.2->eth-testrpc) Using cached pycryptodome-3.4.tar.gz Collecting secp256k1 (from ethereum>=1.5.2->eth-testrpc) Using cached secp256k1-0.13.2.tar.gz Complete output from command python setup.py egg_info: 'pkg-config' is required to install this package. Please see the README for details.