Run the "Prediction of Legal Charges and Machine Questions and Answers" by Teacher Liu from the Chinese Academy of Sciences
The error is as follows:
Traceback (most recent call last):
File “C:\Users\l\PycharmProjects\test\venv\lib\site-packages\urllib3\connection.py”, line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw)
File “C:\Users\l\PycharmProjects\test\venv\lib\site-packages\urllib3\util\connection.py”, line 80, in create_connection
raise err
File “C:\Users\l\PycharmProjects\test\venv\lib\site-packages\urllib3\util\connection.py”, line 70, in create_connection
sock.connect(sa)
ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝,无法连接。
Solution:
The installation of Elasticsearch and the
execution of ElasticSearch with Python : So far
, ElasticSearch has been installed successfully.