ImportError: DLL load failed while importing aggregations: The specified module could not be found

前端 未结 4 594
夕颜
夕颜 2021-01-11 16:18

I am new to Python and currently having trouble when importing some libraries.

I am using Python 3.8.

I have installed Pandas in the CMD usi

相关标签:
4条回答
  • 2021-01-11 16:24

    I was facing the same problem. I am using python 3.7.5. By default pip install pandas command install version 1.0.3. So i revert to version 1.0.1.

    pip uninstall pandas
    pip install pandas==1.0.1
    

    Now it is working without error. You may try it.

    0 讨论(0)
  • 2021-01-11 16:30

    There are two error messages I have received in importing pandas, the one in the OP and the other one being

    AttributeError: module 'pandas' has no attribute 'plotting'
    

    I was able to mitigate the issues by reinstalling the package/library

    pip uninstall pandas
    pip install pandas==1.0.1
    

    as another user pointed out before me. I am using Python 3.8.2 in conjunction with pandas 1.0.1 without hiccup now.

    0 讨论(0)
  • 2021-01-11 16:34

    simply uninstall pandas and reinstall pandas to 1.0.1

    eg:
    pip uninstall pandas
    pip install pandas==1.0.1

    0 讨论(0)
  • 2021-01-11 16:44

    You may also try to install a fresher version of Microsoft Visual C++ Redistributable.

    E.g. (2015-2019)

    I had the same problem, and installing the aforementioned resolved it.

    https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads

    0 讨论(0)
提交回复
热议问题