You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing it using pip install ckan-api-client I've the following exception when executing from ckan_api_client.high_level import CkanHighlevelClient:
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-4-c95dae115e31> in <module>
----> 1 from ckan_api_client.high_level import CkanHighlevelClient
~/software/pyenv/versions/3.9.2/envs/covid19-br/lib/python3.9/site-packages/ckan_api_client/high_level.py in <module>
3
4 from .objects import CkanDataset, CkanOrganization, CkanGroup
----> 5 from .low_level import CkanLowlevelClient
6 from .exceptions import OperationFailure, HTTPError
7
~/software/pyenv/versions/3.9.2/envs/covid19-br/lib/python3.9/site-packages/ckan_api_client/low_level.py in <module>
1 import json
----> 2 import urlparse
3
4 import requests
5
ModuleNotFoundError: No module named 'urlparse'
The correct import inside low_level.py is probably:
fromurllib.parseimporturlparse
Installed version from PyPI:
$ pip freeze | grep ckan
ckan-api-client==0.1b5
The text was updated successfully, but these errors were encountered:
After installing it using
pip install ckan-api-client
I've the following exception when executingfrom ckan_api_client.high_level import CkanHighlevelClient
:The correct import inside
low_level.py
is probably:Installed version from PyPI:
$ pip freeze | grep ckan ckan-api-client==0.1b5
The text was updated successfully, but these errors were encountered: