Я пытаюсь реализовать конечный автомат в python. Я обнаружил, что пакет python-statemachine делает это немного проще. Однако при попытке установить выдает следующую ошибку:
Collecting python-statemachine
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000000000383ED30>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it')': /simple/python-statemachine/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000000000383EB38>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it')': /simple/python-statemachine/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000000000383EC18>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it')': /simple/python-statemachine/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000000000383EBA8>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it')': /simple/python-statemachine/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000000000383E550>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it')': /simple/python-statemachine/
Could not find a version that satisfies the requirement python-statemachine (from versions: )
No matching distribution found for python-statemachine
Некоторая другая информация:
ОС: Windows 7, Python: 3.7.2, пункт: 18.1
Используемая команда: pip install python-statemachine == 0.7.1
Сидя за прокси
От Результаты Google. У меня нет прокси, поэтому я не могу подтвердить, работает ли это.
pip
The proxy needs to be provided on the command line each time you run pip, as follows:
pip install --proxy http://proxyserver:port <package>
If you need authentication:
pip install --proxy http://user:password@proxyserver:port <package>