安装google cloud sdk时遇到的问题

1、需要环境python2.7,系统默认是python2.6,安装2.7

https://www.cnblogs.com/toulanboy/articles/7753502.html

别忘记把编辑/usr/bin/yum,顶部的python改为python2.6,否则yum无法使用,yum只支持系统自带的python

2、问题:ImportError: No module named _sqlite3”的解决方案

https://blog.csdn.net/u012599988/article/details/49535795

3、问题:“gcloud command is not found

# The next line updates PATH for the Google Cloud SDK.
source '[path-to-my-home]/google-cloud-sdk/path.bash.inc'
# The next line enables bash completion for gcloud.
source '[path-to-my-home]/google-cloud-sdk/completion.bash.inc'

4、问题: ImportError: libpython2.7.so.1.0: cannot open shared object file: No such file or directory

vi /etc/ld.so.conf 把lib地址配置进去,②执行 /sbin/ldconfig -v命令

猜你喜欢

转载自blog.csdn.net/yangyun_1999/article/details/79880549