virtualenv 找不到 python2 [英] virtualenv can't find python2

查看:39
本文介绍了virtualenv 找不到 python2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是 mac,它安装了 python 2.7,所以我应该有所需的版本.

I'm on a mac, which comes with python 2.7 installed, so I should have the required version.

至少,我认为这就是问题所在.尝试为项目运行 make install 时出现错误,并出现以下错误:

At least, I believe that's the problem. I'm getting an error when trying to run make install for a project, and getting the following error:

The executable python2 (from --python=python2) does not exist
make: *** [bin/python] Error 3

推荐答案

virtualenv --python=python3 fibonacci_env

指出哪个python

这篇关于virtualenv 找不到 python2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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