install googlemaps package python

时间:2017-08-30 20:26:27

标签: python google-maps pip

I am trying to install GoogleMaps Package

<div class="col-xs-12 col-sm-6 col-md-6 col-lg-3">
  <div class="statistic-box statistic-filled-1">
    <h1><span class=count-number>5251111111</span>TL</h1>
    <span class=slight><i class="fa fa-play fa-rotate-270 text-warning"> </i> 28%</span>
    <div class=small>Stok</div>
    <div>
      <a href=stok> <i class="ti-server statistic_icon"></i></a>
    </div>
  </div>
</div>

I am getting this error:

process.on("uncaughtException", function(error){

    console.log('c')

})

console.log(abc)

If I run pip freeze I get:

console.log(abc)

process.on("uncaughtException", function(error){

    console.log('c')

})

2 个答案:

答案 0 :(得分:1)

看起来你有一个版本冲突,当你在同一个python环境中安装很多软件包时会发生这种冲突。

要获取过期软件包的完整列表,请使用以下命令:

pip list --outdated --format=columns

您可以尝试升级一些旧的已安装软件包,以使其正常运行。

pip install --upgrade requests idna GoogleMaps

或者,您可以尝试安装旧版GoogleMaps

pip install GoogleMaps==2.4 

答案 1 :(得分:0)

尝试python -m pip install GoogleMaps