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

AttributeError: module 'kuna' has no attribute 'KunaAPI' #80

Closed
ibmua opened this issue May 25, 2021 · 4 comments
Closed

AttributeError: module 'kuna' has no attribute 'KunaAPI' #80

ibmua opened this issue May 25, 2021 · 4 comments

Comments

@ibmua
Copy link

ibmua commented May 25, 2021

  • Kuna API wrapper version: 0.4.0
  • Python version: 3
  • Operating System: Ubuntu 20.04
$ python3
Python 3.8.5 (default, Jan 27 2021, 15:41:15) 
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import kuna
>>> graph_kuna = kuna.KunaAPI()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'kuna' has no attribute 'KunaAPI'

Інсталював версію з github.

В результаті просто імпортував код напряму з kuna.py а не через модуль. Працює, дуже дякую ^.^

@welcome
Copy link

welcome bot commented May 25, 2021

Thanks for opening your first issue here! Be sure to follow the issue template!

kazanzhy added a commit to kazanzhy/kuna that referenced this issue Oct 14, 2021
@kazanzhy kazanzhy mentioned this issue Oct 14, 2021
@kazanzhy
Copy link
Contributor

Спробуйте використати
from kuna import KunaAPI

Фікс в PR #99

DmytroLitvinov added a commit that referenced this issue Oct 14, 2021
@DmytroLitvinov
Copy link
Owner

Closed in #99 .

@DmytroLitvinov
Copy link
Owner

Also, released new version 0.4.1. at PyPI

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

No branches or pull requests

3 participants