New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import("asyncio")
fails on Windows
#1478
Comments
t-kalinowski
added a commit
that referenced
this issue
Sep 13, 2023
asyncio.windows_utils subclasses/aliases Popen like this: ```python class Popen(subprocess.Popen) def __init__(...): ... try: super().__init__(...) ... ``` Calling `partial()` on Popen directly works when using it like a function, but breaks when subclassing Popen (like asyncio does). Closes rstudio/keras#1375 Closes #1478
t-kalinowski
added a commit
that referenced
this issue
Sep 13, 2023
asyncio.windows_utils subclasses/aliases Popen like this: ```python class Popen(subprocess.Popen) def __init__(...): ... try: super().__init__(...) ... ``` Calling `partial()` on Popen directly works when using it like a function, but breaks when subclassing Popen (like asyncio does). Closes rstudio/keras#1375 Closes #1478
I was experiencing similar issues with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tracking (rstudio/keras#1375), where
reticulate::import("tensorflow")
fails, I was able to narrow down to a smaller reprex using just the standard library:It looks like this is due to #1458 (reverting the PR fixes the issue).
The text was updated successfully, but these errors were encountered: