-
-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
Unable to Build Documentation #20001
Comments
The path is being modified somewhere else in the file make.py. If you inline the import inside the |
I don't think that makes a difference. I looked but didn't see anywhere else in the file that added the project root to the import path - perhaps I'm overlooking it? Otherwise adding something like the below fixes the issue: DOC_PATH = os.path.dirname(os.path.abspath(__file__))
sys.path.append(os.path.dirname(DOC_PATH))
import pandas |
https://github.com/pandas-dev/pandas/blob/master/doc/make.py#L346 and the default is '..' |
Can you actually try it? I hope it would work because it then comes after |
Hmm OK I see what we are trying to do. I think setting I'll push a PR in a few that I think should serve both purposes |
I believe a slight bug was introduced by c8859b5 in including
import pandas
at the top of the script. Unless the user has pandas installed as a package I don't think this module would know where to find it without modifying the path or being more explicit on import@jorisvandenbossche
The text was updated successfully, but these errors were encountered: