Install pandas in Python

Source: Internet
Author: User
Tags install pandas

When running the online search code, error: Importerror:no module named ' Pandas ', fix: Install Pandas
Installation process:
(because some of the online tutorials are said to be installed with the PIP command line, some directly download the installation package, and then copy to the Python installation directory, the comparison has no difference, there is no difference between the discovery.) and the PIP command-line installation will automatically install the other installation packages required by pandas, and manually install it, requiring one more install dependency package.
W+r Open the command line, directly under C:\user\admin with the PIP command installation, after installation, pandas is in the "Python installation directory –>lib–>site-packages".
I'm here under "C:\Users\admin\Anaconda3\Lib\site-packages."

(That is, the PIP command installs the same effect as manually placing the installation package in the "Python installation directory –>lib–>site-packages".)
Manual installation: Download the panda. WHL installation package, change the. WHL suffix to. zip, unzip the. zip file, and put it in "Python's installation directory –>lib–>site-packages")

To install the pandas command:

c:\user\admin>pip install pandasc:\user\admin>python>>>import Pandas ( Verify that the installation is successful)

Here encountered a problem, obviously has successfully installed the pandas, but in the Spyder still error: Importerror:no module named ' Pandas ',
began to think that the Spyder did not respond, and the new file test pandas, found or reported the same mistake, suddenly remembered that now is in the TensorFlow environment, so:
Open Anaconda prompt,->activate TensorFlow, install pandas in TensorFlow environment, then pandas normal use in the Spyder. Installation

Install pandas in Python

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.