FileNotFoundError: [Errno 2] No such file or directory
See original GitHub issueim getting this error when running the quotes example im using Ubuntu 18.04, zsh, vscode, and pipenv . Not sure what file its referring to?
File "/home/jordan/Documents/CustomDiscordRichPresence/core.py", line 9, in <module>
RPC.connect() # Start the handshake loop
File "/home/jordan/.local/share/virtualenvs/CustomDiscordRichPresence-UCeHkaM9/lib/python3.6/site-packages/pypresence/presence.py", line 123, in connect
self.loop.run_until_complete(self.handshake())
File "/usr/lib/python3.6/asyncio/base_events.py", line 468, in run_until_complete
return future.result()
File "/home/jordan/.local/share/virtualenvs/CustomDiscordRichPresence-UCeHkaM9/lib/python3.6/site-packages/pypresence/presence.py", line 58, in handshake
self.sock_reader, self.sock_writer = yield from asyncio.open_unix_connection(self.ipc_path, loop=self.loop)
File "/usr/lib/python3.6/asyncio/streams.py", line 134, in open_unix_connection
lambda: protocol, path, **kwds)
File "/usr/lib/python3.6/asyncio/unix_events.py", line 245, in create_unix_connection
yield from self.sock_connect(sock, path)
File "/usr/lib/python3.6/asyncio/selector_events.py", line 450, in sock_connect
return (yield from fut)
File "/usr/lib/python3.6/asyncio/selector_events.py", line 455, in _sock_connect
sock.connect(address)
FileNotFoundError: [Errno 2] No such file or directory```
Issue Analytics
- State:
- Created 5 years ago
- Comments:5
Top Results From Across the Web
FileNotFoundError: [Errno 2] No such file or directory [duplicate]
You are using a relative path, which means that the program looks for the file in the working directory. The ...
Read more >Python FileNotFoundError: [Errno 2] No such file or directory ...
The Python FileNotFoundError: [Errno 2] No such file or directory error is often raised by the os library. This error tells you that...
Read more >How to fix FileNotFoundError Errno 2 no such file or directory
The error FileNotFoundError Errno 2 no such file or directory occurs when Python cannot find the specified file in the current directory.
Read more >FileNotFoundError: [Errno 2] No such ... - Net-Informations.Com
The error "FileNotFoundError: [Errno 2] No such file or directory" is telling you that there is no file of that name in the...
Read more >Filenotfounderror errno 2 no such file or directory python error ...
How to solve filenotfounderror errno 2 no such file or directory in python is shown.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
im having the same issue on my android phone, this is what
RPC.ipc_path
returns/data/user/0/ru.iiec.pydroid3/cache/discord-ipc-0
case closed: need to be in a machine with discord on it.