简体   繁体   中英

Change python version running the Spyder

I installed Spyder when I had python 2.7, now I have newer versions of python, eg, python 3.5. I tried to install 'seaborn' package, which is installed successfully, but apparently, for python 3.5. Therefore, the package is not recognized in Spyder where uses python 2 as the interpreter. Changing the interpreter in the setting does not work.

Does anybody know how to change python version in Spyder?

Try:

pip2 install seaborn

or

pip2.7 install seaborn

this should install seaborn for the python 2.7 interpreter.

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