[英]gsutil requires python 2.6 or 2.7. Issue
I was using gsutil API to connect to clusterdata-2011-2
(which is a Google cluster-usage traces of 29 days). 我正在使用gsutil API连接到
clusterdata-2011-2
(这是29天的Google集群使用情况跟踪)。 it was worked perfectly. 这是完美的工作。 But after I have installed
Anaconda3
, it does not work anymore. 但是,在我安装
Anaconda3
,它不再起作用。
It says that gsutil
requires python 2.6 or 2.7
. 它说
gsutil
需要python 2.6 or 2.7
。 Even after adding an alias in .bashrc
即使在
.bashrc
添加了别名之后
alias python='/usr/bin/python2/'
别名python ='/ usr / bin / python2 /'
It didn't work 没用
Can you please help me? 你能帮我么?
I suspect your alias is wrong firstly... 我首先怀疑您的别名有误...
alias python=/usr/bin/python2.7 别名python = / usr / bin / python2.7
Feels better. 感觉更好。
Check your PATH ie $PATH 检查您的路径,即$ PATH
And try and Remove the Anaconda part... 然后尝试删除Anaconda零件...
euh it didn't work but also i don't want to remove Anaconda cause i am working with it.. i am thinking about deploying a new VM ware machine without installing neither python3 nor anaconda 嗯,它没有用,但我也不想删除Anaconda,因为我正在使用它。.我正在考虑部署新的VM Ware Machine,而无需同时安装python3和anaconda
Thank u for your suggestion !! 谢谢你的建议!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.