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

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

 找回密码
 立即注册
楼主: windgo

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

[复制链接]

26

主题

553

帖子

2721

积分

金牌会员

Rank: 6Rank: 6

积分
2721
金钱
2143
HASS币
100

教程狂人

发表于 2018-5-23 17:53:45 | 显示全部楼层
涨姿势了
回复

使用道具 举报

0

主题

316

帖子

1730

积分

金牌会员

Rank: 6Rank: 6

积分
1730
金钱
1414
HASS币
0
发表于 2018-5-23 22:19:04 | 显示全部楼层
厉害了我的哥,可是可是大陆大陆
回复

使用道具 举报

8

主题

276

帖子

1562

积分

金牌会员

Rank: 6Rank: 6

积分
1562
金钱
1286
HASS币
0
发表于 2018-5-24 07:19:09 | 显示全部楼层
專業 感謝分享
回复

使用道具 举报

9

主题

787

帖子

3819

积分

论坛元老

Rank: 8Rank: 8

积分
3819
金钱
3032
HASS币
87
发表于 2018-5-24 17:04:21 | 显示全部楼层
前几个版本看到这个插件,一直不知道怎么用,学习了.回去再试试,.
回复

使用道具 举报

0

主题

59

帖子

241

积分

中级会员

Rank: 3Rank: 3

积分
241
金钱
182
HASS币
0
发表于 2018-6-1 17:35:50 | 显示全部楼层
还得翻墙VPN吧。。。。
回复

使用道具 举报

12

主题

545

帖子

2035

积分

金牌会员

Rank: 6Rank: 6

积分
2035
金钱
1490
HASS币
0
发表于 2018-6-1 19:56:37 来自手机 | 显示全部楼层
同胞,谷歌地图在大陆用不了哇,支持支持
回复

使用道具 举报

0

主题

71

帖子

351

积分

中级会员

Rank: 3Rank: 3

积分
351
金钱
280
HASS币
0
发表于 2018-6-2 13:37:40 | 显示全部楼层
东西很好,但是姑姑在大陆不存在
回复

使用道具 举报

6

主题

265

帖子

1497

积分

金牌会员

Rank: 6Rank: 6

积分
1497
金钱
1232
HASS币
0
发表于 2018-6-2 21:51:59 | 显示全部楼层
你好,我在Python环境执行:from locationsharinglib import Service 报错如下:
C:\Users\zding>git clone https://github.com/costastf/locationsharinglib
Cloning into 'locationsharinglib'...
remote: Counting objects: 353, done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 353 (delta 18), reused 32 (delta 12), pack-reused 315
Receiving objects: 100% (353/353), 102.18 KiB | 397.00 KiB/s, done.
Resolving deltas: 100% (188/188), done.

C:\Users\zding>cd locationsharinglib

C:\Users\zding\locationsharinglib>python
Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 16:07:46) [MSC v.1900 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from locationsharinglib import Service
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\zding\locationsharinglib\locationsharinglib\__init__.py", line 40, in <module>
    from .locationsharinglib import Service, Person, CookieGetter
  File "C:\Users\zding\locationsharinglib\locationsharinglib\locationsharinglib.py", line 40, in <module>
    from bs4 import BeautifulSoup as Bfs
ModuleNotFoundError: No module named 'bs4'
>>>
请指教,谢谢
回复

使用道具 举报

27

主题

387

帖子

3093

积分

元老级技术达人

积分
3093
金钱
2686
HASS币
40

教程狂人

 楼主| 发表于 2018-6-2 22:33:59 | 显示全部楼层
pip install bs4後再試試看
回复

使用道具 举报

6

主题

265

帖子

1497

积分

金牌会员

Rank: 6Rank: 6

积分
1497
金钱
1232
HASS币
0
发表于 2018-6-4 10:24:17 | 显示全部楼层
你好,还是报错:

C:\Users\zding\locationsharinglib>pip install bs4
Collecting bs4
  Downloading https://files.pythonhosted.org/p ... 14/bs4-0.0.1.tar.gz
Collecting beautifulsoup4 (from bs4)
  Downloading https://files.pythonhosted.org/p ... .0-py3-none-any.whl (86kB)
    100% |████████████████████████████████| 92kB 880kB/s
Installing collected packages: beautifulsoup4, bs4
  Running setup.py install for bs4 ... done
Successfully installed beautifulsoup4-4.6.0 bs4-0.0.1
You are using pip version 9.0.3, however version 10.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

C:\Users\zding\locationsharinglib>from locationsharinglib import Service
'from' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

C:\Users\zding\locationsharinglib>python
Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 16:07:46) [MSC v.1900 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from locationsharinglib import Service
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\zding\locationsharinglib\locationsharinglib\__init__.py", line 40, in <module>
    from .locationsharinglib import Service, Person, CookieGetter
  File "C:\Users\zding\locationsharinglib\locationsharinglib\locationsharinglib.py", line 41, in <module>
    from cachetools import TTLCache, cached
ModuleNotFoundError: No module named 'cachetools'
>>>
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-3-29 01:21 , Processed in 0.055358 second(s), 31 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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