Closed
Description
- Version: 6.6.1
- Python: 3.11
- OS: win
I updated my Anaconda to the latest version recently, which uses Python 3.11.
web3.py is no longer able to set the default IPC path for IPCProvider on Windows. The problem and fix are as follows:
In ipc.py, line 105
ipc_path = os.path.join("\\\\", ".", "pipe", "geth.ipc")
makes the default IPC path '\\\\\\.\\pipe\\geth.ipc'
, which cannot be found with os.path.exists(ipc_path)
in the next line
How can it be fixed?
In ipc.py, replace line 105
ipc_path = os.path.join("\\\\", ".", "pipe", "geth.ipc")
with
ipc_path = '\\\.\pipe\geth.ipc'
as is described in the documentation.
### Tasks
Metadata
Metadata
Assignees
Labels
No labels