|
发表于 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'
>>>
请指教,谢谢 |
|