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 'with_slots' from 'dataslots' #220

Open
grummble-ai opened this issue Aug 15, 2023 · 0 comments
Open

ImportError: cannot import name 'with_slots' from 'dataslots' #220

grummble-ai opened this issue Aug 15, 2023 · 0 comments

Comments

@grummble-ai
Copy link

Was about to tinker with this library but minimal code example from docs

import pobapi

url = "https://pastebin.com/9rxrrdjE"

build = pobapi.from_url(url)

yields the following error:

Traceback (most recent call last):
  File "C:\Users\...\PycharmProjects\pobapi-test\main.py", line 1, in <module>
    import pobapi
  File "C:\Users\...\PycharmProjects\pobapi-test\venv\lib\site-packages\pobapi\__init__.py", line 5, in <module>
    from .api import *
  File "C:\Users\...\PycharmProjects\pobapi-test\venv\lib\site-packages\pobapi\api.py", line 5, in <module>
    from pobapi import config, constants, models, stats
  File "C:\Users\...\PycharmProjects\pobapi-test\venv\lib\site-packages\pobapi\config.py", line 9, in <module>
    from dataslots import with_slots
ImportError: cannot import name 'with_slots' from 'dataslots' (C:\Users\Moritz\PycharmProjects\pobapi-test\venv\lib\site-packages\dataslots\__init__.py)
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