Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name 'viz' #2

Open
openthings opened this issue May 6, 2019 · 0 comments
Open

ImportError: cannot import name 'viz' #2

openthings opened this issue May 6, 2019 · 0 comments

Comments

@openthings
Copy link

openthings commented May 6, 2019

运行jupyter notebook(sample.ipynb) 出错,信息如下:

from iclientpy import viz
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-5-48a0c3f4a6b8> in <module>
----> 1 from iclientpy import viz

ImportError: cannot import name 'viz'
模拟数据

使用下面的代码查看包方法,iclientpy没有viz模块。

import iclientpy as smc
help(smc)

返回信息如下:

Help on package iclientpy:

NAME
    iclientpy

PACKAGE CONTENTS
    _version
    dtojson (package)
    jupyter (package)
    rest (package)

SUBMODULES
    basesetting
    cloudtilelayer
    heatlayer
    mapview
    mapvlayer
    ranksymbolthemelayer
    tilemaplayer
    units
    widgets

DATA
    EXTENSION_VERSION = '~0.10.1'
    allowed_crs = ['Earth', 'EPSG3395', 'EPSG3857', 'EPSG4326', 'Base', 'S...
    basemaps = {'OpenStreetMap': {'Mapnik': {'url': 'https://{s...men.Wate...
    def_loc = [0.0, 0.0]
    linear = <branca.colormap._LinearColormaps object>
    version_info = (0, 10, 1, 'final', 0)
    widget_serialization = {'from_json': <function _json_to_widget>, 'to_j...

VERSION
    9.0.0

FILE
    /opt/conda/lib/python3.6/site-packages/iclientpy/__init__.py

使用pip install iclientpy安装的。
可能是软件包的版本已变化,本仓库和例程文件没有更新?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant