Closed BlackTea-c closed 1 month ago
Hi,I have also encountered the same problem. How was it solved?,thank you!!!
Hi,just change the index.js in voyager\env\mineflayer,you can refer index.txt just copy this to the target directory and change it to index.js
Before submitting an issue, make sure you read the FAQ.md
Briefly describe your issue
Bot join the game and kill itself and quit the game.
Please provide your python, nodejs, Minecraft, and Fabric versions here
D:\Voyager\Voyager\venv\lib\site-packages\langchain\chat_models__init__.py:33: LangChainDeprecationWarning: Importing chat models from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead:
from langchain_community.chat_models import ChatOpenAI
.To install langchain-community run
pip install -U langchain-community
. warnings.warn( D:\Voyager\Voyager\venv\lib\site-packages\langchain\chat_models__init__.py:33: LangChainDeprecationWarning: Importing chat models from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead:from langchain_community.chat_models import ChatOpenAI
.To install langchain-community run
pip install -U langchain-community
. warnings.warn( D:\Voyager\Voyager\voyager\agents\curriculum.py:10: LangChainDeprecationWarning: Importing OpenAIEmbeddings from langchain.embeddings is deprecated. Please replace deprecated imports:with new imports of:
with new imports of:
with new imports of:
with new imports of:
Traceback (most recent call last): File "D:\Voyager\Voyager\venv\lib\site-packages\urllib3\connectionpool.py", line 789, in urlopen response = self._make_request( File "D:\Voyager\Voyager\venv\lib\site-packages\urllib3\connectionpool.py", line 536, in _make_request response = conn.getresponse() File "D:\Voyager\Voyager\venv\lib\site-packages\urllib3\connection.py", line 507, in getresponse httplib_response = super().getresponse() File "D:\python396\lib\http\client.py", line 1349, in getresponse response.begin() File "D:\python396\lib\http\client.py", line 316, in begin version, status, reason = self._read_status() File "D:\python396\lib\http\client.py", line 277, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "D:\python396\lib\socket.py", line 704, in readinto return self._sock.recv_into(b) ConnectionResetError: [WinError 10054] 远程主机强迫关闭了一个现有的连接。
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "D:\Voyager\Voyager\venv\lib\site-packages\requests\adapters.py", line 667, in send resp = conn.urlopen( File "D:\Voyager\Voyager\venv\lib\site-packages\urllib3\connectionpool.py", line 843, in urlopen retries = retries.increment( File "D:\Voyager\Voyager\venv\lib\site-packages\urllib3\util\retry.py", line 474, in increment raise reraise(type(error), error, _stacktrace) File "D:\Voyager\Voyager\venv\lib\site-packages\urllib3\util\util.py", line 38, in reraise raise value.with_traceback(tb) File "D:\Voyager\Voyager\venv\lib\site-packages\urllib3\connectionpool.py", line 789, in urlopen response = self._make_request( File "D:\Voyager\Voyager\venv\lib\site-packages\urllib3\connectionpool.py", line 536, in _make_request voyager.learn() File "D:\Voyager\Voyager\voyager\voyager.py", line 306, in learn self.env.reset( File "D:\Voyager\Voyager\voyager\env\bridge.py", line 156, in reset returned_data = self.check_process() File "D:\Voyager\Voyager\voyager\env\bridge.py", line 93, in check_process res = requests.post( File "D:\Voyager\Voyager\venv\lib\site-packages\requests\api.py", line 115, in post return request("post", url, data=data, json=json, kwargs) File "D:\Voyager\Voyager\venv\lib\site-packages\requests\api.py", line 59, in request return session.request(method=method, url=url, kwargs) File "D:\Voyager\Voyager\venv\lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, send_kwargs) File "D:\Voyager\Voyager\venv\lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, kwargs) File "D:\Voyager\Voyager\venv\lib\site-packages\requests\adapters.py", line 682, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, '远程主机强迫关闭了一个现有的连接。', None, 10054, None))