如何在Windows上使用Python 3.6之前为Python 2.7进行python pip安装 [英] How to python pip install for Python 2.7, having using Python 3.6 before on Windows

查看:115
本文介绍了如何在Windows上使用Python 3.6之前为Python 2.7进行python pip安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  • 我想问一下当我先前安装并使用Python 3.6时如何将pip install用于Python 2.7吗? (*我现在必须在Windows上使用Python版本)

  • I would like to ask about how to use pip install for Python 2.7, when I previously installing for and using Python 3.6 ? (*I now have to versions of Python on Windows)

pip install ...继续为Python 3.6安装

pip install ... keeps installing for Python 3.6

我需要使用以前的版本来重写Python 2.7中的代码. (这是用于构建Kivy应用程序,尽管Kivy表示它现在支持Python 3,但它也显示* 警告. .)要执行此操作,我必须必要的模块:kivynumpy.

I need to use the previous version, to rewrite the code in Python 2.7. (this is for building a Kivy app, although Kivy says it now supports Python 3 but it also says * Warning.) In order to do this, I have to import necessary modules : kivy and numpy.

希望对此提供反馈,谢谢.

Hope for feedbacks on this, Thanks.

推荐答案

如果已真正安装2个版本,则PATH

If you have the 2 versions really installed, you should have a pip2 or pip2.x available in your PATH

这篇关于如何在Windows上使用Python 3.6之前为Python 2.7进行python pip安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆