说明:有时候换系统尝试运行Python
程序时,服务器会返回-bash: python: command not found
错误指令,说明系统上未安装Python
,这里说下方法。
方法
1、安装Ubuntu/Debian
系统:
apt-get install python
或者
apt-get install python3
CentOS
系统:
yum install python
2、检查
type -a python
which python
ls -l /usr/bin/python
ls -l /usr/bin/python*
结果有python
版本信息即安装成功!安装更多方法也可参考:Linux CentOS升级Python 3.6版本方法,Linux CentOS 6升级Python 2.6至Python 2.7的方法。
最新评论
请问下,python3 tg_username_update.py都会提示下面这个是因为什么啊 Traceback (most recent call last): File "tg_username_update.py", line 21, in <module> cake = emojize(":cake:", use_aliases=True) TypeError: emojize() got an unexpected keyword argument 'use_aliases'
不可以了
# Install [Debian] [bullseye] [amd64] Downloading... grep: (standard input): binary file matches Error! grub.cfg. root@RRR2:~#
博主你好,请问cloudfront 上传收费这个是事实吧,已经找了几个贴子确认了。 那有什么好办法能够避开这个收费呢?如果不能避开感觉还是cloudflare 比较稳。
来看看
第5步添加自定义主机名进去后等txt验证提示custom hostname does not name to this zone
那没事了,我静态博客。谢谢
为什么缓存键和源请求那里不设置缓存?