Python Pandas import failed

Source: Internet
Author: User
Tags install pandas

Today, due to the need for data processing, pandas was installed.

My Python version is 2.7 and the editor used is pycharm. I now entered the PIP install Pandas in CMD and then showed that the installation was successful, but the use of the Pandas.read_pickle () times was wrong.

Here is my error:

Importerror:c extension:numpy.core.utils not built. If you want to import pandas from the source directory, your may need to run ' python setup.py build_ext--inplace--force ' To build the C extensions first.

Solution:

Looking at the mistake, it is the numpy problem. Because NumPy was previously loaded and forgot about its configuration, I uninstalled pandas and numpy for insurance purposes, and then Pycharm-file-setting-project intepreters-+ NumPy and pandas are re-installed in the

Re-run, the problem is solved.

Python Pandas import failed

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.