-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Documentation Error - pandas2ri causes ModuleNotFoundError #22412
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
Comments
Not a pandas issue as rpy2 is a separate project, though the error points to that not even being installed |
Sorry misread your issue - I see you are referring to the pandas docs and not an attempt to do this locally. |
I believe there is still a bug, but most likely it is in the rpy2 package. When I install rpy2 version 2.8.* this ModuleNotFoundError does NOT occur. However, with the latest 2.9.* release it does occur. Explicitly pip installing the tzlocal package seems to fix it. I conclude that tzlocal is not installed together with rpy2. Maybe someone wants to confirm this behavior? |
There is already an issue at rpy2: https://bitbucket.org/rpy2/rpy2/issues/458/tzlocal-dependency Apparently, |
The docs are built with a this environment: https://github.com/pandas-dev/pandas/blob/master/ci/travis-36-doc.yaml @webartifex can you make a PR adding tzlocal to that environment? |
Code Sample, a copy-pastable example if possible
Compare
https://pandas.pydata.org/pandas-docs/version/0.23.3/r_interface.html
with
https://pandas.pydata.org/pandas-docs/version/0.23.4/r_interface.html
Problem description
The import generates a ModuleNotFoundError
The text was updated successfully, but these errors were encountered: