Python中文
首页
教程
问答
标签
搜索
登录
注册
如何让python命令调用python3.7?
回答此问题可获得
20
贡献值,回答如果被采纳可获得
50
分。
太长了,读不下去了,有人知道有什么更好的方法来完成别名吗?在</p> <p>嘿,谢谢你的阅读, 我有一个raspberry pi,我试图运行一个只在python3.6及更高版本上运行的bot。Python只在Raspberry Pi上正式支持3.5版本,所以我不得不手动编译它。 总之,我使用的bot在其编码中称为“python3”,然而Raspberry Pis是3.5的,所以调用“python3”实际上调用的是python3.5,而不是3.7。我试着删除python3.5,但它并没有调用python3.7,它只是说不存在名为python3的东西。 我试着用化名来称呼它,但由于某种原因,它们根本不起作用。我知道我使用了正确的语法,我对文件执行了更新命令,但是它们不起作用。 我知道这有点多,但是有没有人知道更好的方法来完成与别名基本相同的事情,因为我的不起作用?或者谁能帮我弄清楚我目前的别名编码有什么问题吗?在</p>
0 条评论
分类:
Python问答
请先
登录
后评论
默认排序
时间排序
1 个回答
匿名
1天前
擅长:python、mysql、java
<p>使用新python版本的完整路径来运行它。在</p> <p><code>/full/path/to/3.7/python3.7</code></p> <p>路径将取决于编译新python版本时遵循的方向和选择的选项。在</p> <p>如果您只需键入<code>python</code>或<code>python3</code>就可以使用它,那么您必须更改符号链接以指向新的python版本。在</p>
请先
登录
后评论
针对此问题:
更多的回答
关注
89
关注
收藏
1
收藏,
216
浏览
网友 提问于 2天前
相关Python问题
得到媒体:缩略图url从rss源
10 回答
得到对数正态随机数给定log10均值和log10标准差
9 回答
得到工作,波斯特不
7 回答
得到左半积和右半积的绝对差最小的元素
10 回答
得到幻数错误?
5 回答
得到异常错误“线程中的异常-1(最有可能在解释器关闭期间引发)”,它使用Parami
3 回答
得到循环
2 回答
得到德语的语法变化
8 回答
得到我认为是好的结果,但还不够
3 回答
得到截断svd.transform()返回float16而不是float64
2 回答
得到所有不相交的集合的并集
6 回答
得到所有函数求值组合的矩阵
4 回答
得到扭曲延迟取消错误当使用刮痧时
7 回答
得到控制台.log使用Selenium python从Chrome输出一次,然后调用第二次为空
1 回答
得到操作系统环境通过NSSM运行Python
6 回答
得到数学方程中的表达式
3 回答
得到数据库结构属性
2 回答
得到整数的后三位
4 回答
得到整数的第n位精度
3 回答
得到最低落的reddit评论
10 回答