请选择 进入手机版 | 继续访问电脑版

『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
123
返回列表 发新帖
楼主: windgo

[经验分享] 使用google maps location sharing來做device_track追蹤使用者座標

[复制链接]

27

主题

387

帖子

3093

积分

元老级技术达人

积分
3093
金钱
2686
HASS币
40

教程狂人

 楼主| 发表于 2018-6-4 11:45:21 | 显示全部楼层
從錯誤訊息
ModuleNotFoundError: No module named 'cachetools'
來看,需要安裝cachetools
使用pip install cachetools安裝看看

後面有類似的錯誤都可以照著做
回复

使用道具 举报

4

主题

258

帖子

2605

积分

论坛积极会员

积分
2605
金钱
2347
HASS币
0
发表于 2018-6-6 15:53:29 | 显示全部楼层
大陆人民仰望。。。google全家桶天朝不给用
回复

使用道具 举报

5

主题

277

帖子

2296

积分

金牌会员

Rank: 6Rank: 6

积分
2296
金钱
2009
HASS币
50
发表于 2019-1-18 16:31:49 | 显示全部楼层
现在要用python3环境才行了
回复

使用道具 举报

2

主题

190

帖子

1733

积分

金牌会员

Rank: 6Rank: 6

积分
1733
金钱
1543
HASS币
0
发表于 2019-3-16 00:33:26 | 显示全部楼层
請問一下,姑且先不論帳號密碼正確性,錯誤訊息說我給了四個參數,但只需要三個,但實際我只給了三個,這有點怪

D:\Python\python364\locationsharinglib>python
Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from locationsharinglib import Service
>>> service = Service('your_new_gmail_email', 'your_new_gmail_password', '.google_maps_location_sharing.cookies')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: __init__() takes from 1 to 3 positional arguments but 4 were given
>>>
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-3-28 19:35 , Processed in 0.046214 second(s), 25 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表