I am getting the below error while installing the rasa lib.
evn:windows
pip version:20.1.1
python version:3.6.8
cmd:
pip install rasa --proxy=proxyurl
error:
Collecting ujson<3.0,>=1.35
Using cached ujson-2.0.3.tar.gz (7.1 MB)
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: 'h:\rasabot\venv\scripts\python.exe' 'h:\rasabot\venv\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\gt984v\AppData\Local\Temp\pip-build-env-6sz4smlm\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' wheel
cwd: None
Complete output (7 lines):
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002DD52BF27B8>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it',)': /simple/setuptools/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002DD52BF2F98>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it',)': /simple/setuptools/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002DD52BF2400>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it',)': /simple/setuptools/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002DD52BF22B0>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it',)': /simple/setuptools/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002DD52C0BA58>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it',)': /simple/setuptools/
ERROR: Could not find a version that satisfies the requirement setuptools>=40.8.0 (from versions: none)
ERROR: No matching distribution found for setuptools>=40.8.0
----------------------------------------
ERROR: Command errored out with exit status 1: 'h:\rasabot\venv\scripts\python.exe' 'h:\rasabot\venv\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\gt984v\AppData\Local\Temp\pip-build-env-6sz4smlm\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' wheel Check the logs for full command output.
Thank you Greg for your response.
I have followed the installation instructions(windows) . Still i am receiving the same error.
Below i have posted the complete steps i have followed.
FYI: we are behind the proxy (also included the proxy url while executing the commands)
H:\RASA>python --version
Python 3.6.8
H:\RASA>pip3 --version
pip 20.1.1 from c:\users\gt984v\appdata\local\programs\python\python36\lib\site-packages\pip (python 3.6)
(venv) H:\RASA>pip --version
pip 20.1.1 from h:\rasa\venv\lib\site-packages\pip (python 3.6)
(venv) H:\RASA>pip install rasa --proxy=proxy_url
Collecting rasa
Using cached rasa-1.10.8-py3-none-any.whl (511 kB)
Collecting jsonpickle<1.5,>=1.3
Using cached jsonpickle-1.4.1-py2.py3-none-any.whl (36 kB)
Collecting networkx<2.5.0,>=2.4.0
Using cached networkx-2.4-py3-none-any.whl (1.6 MB)
Collecting tensorflow-addons<0.8.0,>=0.7.1
Using cached tensorflow_addons-0.7.1-cp36-cp36m-win_amd64.whl (847 kB)
Collecting slackclient<3.0.0,>=2.0.0
Using cached slackclient-2.7.3-py2.py3-none-any.whl (71 kB)
Collecting redis<4.0,>=3.4
Using cached redis-3.5.3-py2.py3-none-any.whl (72 kB)
Collecting multidict<5.0,>=4.6
Using cached multidict-4.7.6-cp36-cp36m-win_amd64.whl (48 kB)
Collecting oauth2client==4.1.3
Using cached oauth2client-4.1.3-py2.py3-none-any.whl (98 kB)
Collecting python-socketio<4.6,>=4.4
Using cached python_socketio-4.5.1-py2.py3-none-any.whl (51 kB)
Collecting requests<3.0,>=2.23
Using cached requests-2.24.0-py2.py3-none-any.whl (61 kB)
Collecting questionary<1.6.0,>=1.5.1
Using cached questionary-1.5.2-py3-none-any.whl (26 kB)
Collecting regex<2020.7,>=2020.6
Using cached regex-2020.6.8-cp36-cp36m-win_amd64.whl (268 kB)
Collecting SQLAlchemy<1.4.0,>=1.3.3
Using cached SQLAlchemy-1.3.18-cp36-cp36m-win_amd64.whl (1.2 MB)
Collecting sklearn-crfsuite<0.4,>=0.3
Using cached sklearn_crfsuite-0.3.6-py2.py3-none-any.whl (12 kB)
Collecting pika<1.2.0,>=1.1.0
Using cached pika-1.1.0-py2.py3-none-any.whl (148 kB)
Collecting python-engineio<3.13,>=3.11
Using cached python_engineio-3.12.1-py2.py3-none-any.whl (49 kB)
Collecting kafka-python<2.0,>=1.4
Using cached kafka_python-1.4.7-py2.py3-none-any.whl (266 kB)
Collecting pymongo[srv,tls]<3.9.0,>=3.8.0
Using cached pymongo-3.8.0-cp36-cp36m-win_amd64.whl (321 kB)
Collecting apscheduler<3.7,>=3.6
Using cached APScheduler-3.6.3-py2.py3-none-any.whl (58 kB)
Requirement already satisfied: pytz<2020.0,>=2019.1 in c:\users\gt984v\appdata\local\programs\python\python36\lib\site-packages (from rasa) (2019.3)
Requirement already satisfied: jsonschema<3.3,>=3.2 in c:\users\gt984v\appdata\local\programs\python\python36\lib\site-packages (from rasa) (3.2.0)
Collecting async_generator<1.11,>=1.10
Using cached async_generator-1.10-py3-none-any.whl (18 kB)
Requirement already satisfied: numpy<2.0,>=1.16 in c:\users\gt984v\appdata\local\programs\python\python36\lib\site-packages (from rasa) (1.19.0)
Requirement already satisfied: matplotlib<3.3,>=3.1 in c:\users\gt984v\appdata\local\programs\python\python36\lib\site-packages (from rasa) (3.2.2)
Requirement already satisfied: gevent<1.6,>=1.4 in c:\users\gt984v\appdata\local\programs\python\python36\lib\site-packages (from rasa) (1.4.0)
Collecting colorhash<1.1.0,>=1.0.2
Using cached colorhash-1.0.2-py2.py3-none-any.whl (6.0 kB)
Collecting rocketchat_API<1.4.0,>=0.6.31
Using cached rocketchat_API-1.3.1-py3-none-any.whl (9.6 kB)
Collecting tqdm<4.46,>=4.31
Using cached tqdm-4.45.0-py2.py3-none-any.whl (60 kB)
Collecting python-telegram-bot<13.0,>=11.1
Using cached python_telegram_bot-12.8-py2.py3-none-any.whl (375 kB)
Requirement already satisfied: python-dateutil<2.9,>=2.8 in c:\users\gt984v\appdata\local\programs\python\python36\lib\site-packages (from rasa) (2.8.1)
Collecting mattermostwrapper<2.3,>=2.2
Using cached mattermostwrapper-2.2.tar.gz (2.5 kB)
Collecting tensorflow<2.2,>=2.1
Using cached tensorflow-2.1.1-cp36-cp36m-win_amd64.whl (355.9 MB)
Collecting terminaltables<3.2.0,>=3.1.0
Using cached terminaltables-3.1.0.tar.gz (12 kB)
Collecting PyJWT<1.8,>=1.7
Using cached PyJWT-1.7.1-py2.py3-none-any.whl (18 kB)
Collecting rasa-sdk<2.0.0,>=1.10.0
Using cached rasa_sdk-1.10.2-py3-none-any.whl (38 kB)
Collecting setuptools>=41.0.0
Using cached setuptools-49.2.0-py3-none-any.whl (789 kB)
Collecting cloudpickle<1.4,>=1.2
Using cached cloudpickle-1.3.0-py2.py3-none-any.whl (26 kB)
Collecting scikit-learn<0.23,>=0.22
Using cached scikit_learn-0.22.2.post1-cp36-cp36m-win_amd64.whl (6.5 MB)
Collecting fbmessenger<6.1.0,>=6.0.0
Using cached fbmessenger-6.0.0-py2.py3-none-any.whl (11 kB)
Collecting prompt-toolkit<3.0,>=2.0
Using cached prompt_toolkit-2.0.10-py3-none-any.whl (340 kB)
Collecting colorclass<2.3,>=2.2
Using cached colorclass-2.2.0.tar.gz (17 kB)
Collecting webexteamssdk<1.4.0,>=1.1.1
Using cached webexteamssdk-1.3.tar.gz (56 kB)
Collecting boto3<2.0,>=1.12
Downloading boto3-1.14.24-py2.py3-none-any.whl (128 kB)
|████████████████████████████████| 128 kB 344 kB/s
Collecting ruamel.yaml<0.17,>=0.16
Using cached ruamel.yaml-0.16.10-py2.py3-none-any.whl (111 kB)
Collecting tensorflow-probability<0.10,>=0.7
Using cached tensorflow_probability-0.9.0-py2.py3-none-any.whl (3.2 MB)
Collecting tensorflow_hub<0.9,>=0.7
Using cached tensorflow_hub-0.8.0-py2.py3-none-any.whl (101 kB)
Collecting aiohttp<3.7,>=3.6
Using cached aiohttp-3.6.2-cp36-cp36m-win_amd64.whl (649 kB)
Collecting scipy<2.0.0,>=1.4.1
Using cached scipy-1.5.1-cp36-cp36m-win_amd64.whl (31.2 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 ujson<3.0,>=1.35
Using cached ujson-2.0.3.tar.gz (7.1 MB)
Installing build dependencies … error
ERROR: Command errored out with exit status 1:
command: ‘h:\rasa\venv\scripts\python.exe’ ‘h:\rasa\venv\lib\site-packages\pip’ install --ignore-installed --no-user --prefix ‘C:\Users\gt984v\AppData\Local\Temp\pip-build-env-dijyyohi\overlay’ --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple – ‘setuptools>=40.8.0’ wheel
cwd: None
Complete output (7 lines):
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘NewConnectionError(’<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001361AC20B70>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it’,)’: /simple/setuptools/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘NewConnectionError(’<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001361AC387F0>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it’,)’: /simple/setuptools/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘NewConnectionError(’<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001361AC4D630>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it’,)’: /simple/setuptools/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘NewConnectionError(’<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001361AC4D6D8>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it’,)’: /simple/setuptools/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘NewConnectionError(’<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001361AC4D780>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it’,)’: /simple/setuptools/
ERROR: Could not find a version that satisfies the requirement setuptools>=40.8.0 (from versions: none)
ERROR: No matching distribution found for setuptools>=40.8.0
ERROR: Command errored out with exit status 1: ‘h:\rasa\venv\scripts\python.exe’ ‘h:\rasa\venv\lib\site-packages\pip’ install --ignore-installed --no-user --prefix ‘C:\Users\gt984v\AppData\Local\Temp\pip-build-env-dijyyohi\overlay’ --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple – ‘setuptools>=40.8.0’ wheel Check the logs for full command output.