When I run result=agent.plan() in agent5.ipynb, an error occurs:
NotImplementedError Traceback (most recent call last)
File d:\software\anaconda3\envs\llms_engineering\Lib\site-packages\mcp\os\win32\utilities.py:169, in create_windows_process(command, args, env, errlog, cwd) 167 try: 168 # First try using anyio with Windows-specific flags to hide console window --> 169 process = await anyio.open_process( 170 [command, *args], 171 env=env, 172 # Ensure we don't create console windows for each process 173 creationflags=subprocess.CREATE_NO_WINDOW # type: ignore 174 if hasattr(subprocess, "CREATE_NO_WINDOW") 175 else 0, 176 stderr=errlog, 177 cwd=cwd, 178 ) 179 except
NotImplementedError: 180
If Windows doesn't support async subprocess creation, use fallback
File d:\software\anaconda3\envs\llms_engineering\Lib\site-packages\anyio_core_subprocesses.py:190, in open_process(command, stdin, stdout, stderr, cwd, env, startupinfo, creationflags, start_new_session, pass_fds, user, group, extra_groups, umask) 188 kwargs["umask"] = umask --> 190 return await get_async_backend().open_process( 191 command, 192 stdin=stdin, 193 stdout=stdout, 194 stderr=stderr, ... 369 return self._original_stdstream_copy 370 msg = "fileno" --> 371 raise io.UnsupportedOperation(msg)
UnsupportedOperation: fileno
I have searched for solutions. This problem might be caused by using the windows system, but I cannot fix it.
When I run
result=agent.plan()in agent5.ipynb, an error occurs:NotImplementedError Traceback (most recent call last)
File d:\software\anaconda3\envs\llms_engineering\Lib\site-packages\mcp\os\win32\utilities.py:169, in create_windows_process(command, args, env, errlog, cwd) 167 try: 168 # First try using anyio with Windows-specific flags to hide console window --> 169 process = await anyio.open_process( 170 [command, *args], 171 env=env, 172 # Ensure we don't create console windows for each process 173 creationflags=subprocess.CREATE_NO_WINDOW # type: ignore 174 if hasattr(subprocess, "CREATE_NO_WINDOW") 175 else 0, 176 stderr=errlog, 177 cwd=cwd, 178 ) 179 except
NotImplementedError: 180
If Windows doesn't support async subprocess creation, use fallback
File d:\software\anaconda3\envs\llms_engineering\Lib\site-packages\anyio_core_subprocesses.py:190, in open_process(command, stdin, stdout, stderr, cwd, env, startupinfo, creationflags, start_new_session, pass_fds, user, group, extra_groups, umask) 188 kwargs["umask"] = umask --> 190 return await get_async_backend().open_process( 191 command, 192 stdin=stdin, 193 stdout=stdout, 194 stderr=stderr, ... 369 return self._original_stdstream_copy 370 msg = "fileno" --> 371 raise io.UnsupportedOperation(msg)
UnsupportedOperation: fileno
I have searched for solutions. This problem might be caused by using the windows system, but I cannot fix it.