-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Pandas 1.0.3 on Windows 7 64bit throws error "DLL load failed while importing aggregations" on import. Version 1.0.1 works fine. #32936
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
This looks to be a duplicate of #32857. I'll copy your comment over there. |
Download again using pip and it may work for you or try out Jupyter notebooks, It works there. |
thanks man. works like a charm |
My Pleasure. |
TLDR; 2 DLLs are missing that were included in 1.0.1
Code Sample, a copy-pastable example if possible
Problem description
I'm using Windows 7, German 64bit with a fresh installation of Python 3.8.2 64bit.
I updated pip, created a fresh virtual environment with "py -3 -m venv venv" and activated it.
This installation is in a restricted area with no direct, unfiltered internet access.
I installed Pandas 1.0.3 from a via "python -m pip download pandas" download made on an unrestricted similar Windows7 machine. I moved the download folder behind a firewall and installed Pandas like this: "python -m pip install pandas --no-index --find-links /path/to/downloads":
Pandas installs fine. It crashes on import with the error below (The last sentence says in English: The requested Module was not found)
As recommended by this stack overflow thread (https://stackoverflow.com/questions/60763529/unable-to-import-pandas-pandas-libs-window-aggregations) going back to 1.0.1 fixes the problem. (More below, after the error)
Error:
(venv) C:\my_program>python
Python 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 23:03:10) [MSC v.1916 64 bit (AM
D64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
I compared the installation of version 1.0.1 to 1.0.3;
The 1.0.3 installs these files in
"\venv\Lib\site-packages\pandas_libs\window"
The 1.0.1 version also installs these two DLLs in the same folder.
When I manually place these DLLs into the above folder of the 1.0.3 version,
the import works without an error.
Expected Output
No error message
Output of
pd.show_versions()
Not available, since pd did not import
The text was updated successfully, but these errors were encountered: