Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
296 views
in Technique[技术] by (71.8m points)

Unable to import pandas using Python 3.8 because this is already installed for Anaconda


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

According to the details you had given, you had installed Pandas for Anaconda. So, pandas installed in the conda environment and if you want to use pandas outside the conda environment then you have to install the pandas library globally.

Go to your regular command line/terminal and install pandas globally using the following command.

$ pip3 install pandas

After doing this you can use pandas from anywhere in your current system/OS.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...