You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Using pyinstaller to build a binary of an application that uses r.set_loop_type("asyncio") causes a stacktrace when running the binary, but not when running it just with python.
mycode.exe
Traceback (most recent call last):
File "mycode.py", line 9, in connect
r.set_loop_type('asyncio')
File "site-packages\rethinkdb\__init__.py", line 69, in set_loop_type
File "site-packages\pkg_resources\__init__.py", line 1134, in resource_exists
File "site-packages\pkg_resources\__init__.py", line 1404, in has_resource
File "site-packages\pkg_resources\__init__.py", line 1472, in _has
NotImplementedError: Can't perform this operation for unregistered loader type
Expected behavior
I expected it to work as a binary, since it works when calling the code with python
System info
OS: Windows 10
RethinkDB Version: 2.4.0 (running in docker)
Python 3.8.2
Additional context
packages installed:
rethinkdb 2.4.7
pyinstaller 3.6
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
Using pyinstaller to build a binary of an application that uses r.set_loop_type("asyncio") causes a stacktrace when running the binary, but not when running it just with python.
To Reproduce
Steps to reproduce the behavior:
#!/bin/sh pyinstaller --onefile mycode.py
Expected behavior
I expected it to work as a binary, since it works when calling the code with python
System info
Additional context
packages installed:
The text was updated successfully, but these errors were encountered: