简体   繁体   中英

Installing seaborn and scipy on Windows 10

I have a conda environment with Python 3.7 on Windows 10. Conda is version 4.5.11. It has pip version 20.0.2. I want to run seaborn and scipy libraries in Python. Following advice here , I downloaded .whl files from here matching my Python version and 64-bit architecture. pip install on these libraries succeeded, and the libraries are listed in my environment. But when I try importing them:

import seaborn
import scipy
import pylab

I get a DLL load failure.

It's a mess getting some basic Python packages to work on Windows 10.

I fixed this by removing numpy, pandas, matplotlib, seaborn, and scipy. Re-installing via pip from the same link, then updating conda with

conda update -n base conda

EDIT: this closely-related question was also helpful. Perhaps a duplicate, but answers were not enough.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM