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