iamkubi / pydactyl

Python wrapper for the Pterodactyl Panel API
MIT License
67 stars 21 forks source link

You can't use the package anymore after installing #69

Closed Joniii11 closed 1 year ago

Joniii11 commented 1 year ago

Describe the bug I tried to use the package but it just won't work. I tried already pip install git+https://github.com/iamkubi/pydactyl/ didn't work, pip install py-dactyl didn't work. It just won't work. I even see it in the site_packages folder from the python file, but it just won't work.

To Reproduce

  1. Fails with error: ImportError: cannot import name 'PterodactylClient' from 'pydactyl'

Expected behavior I would have expected to work but it doesn't it doesn't even recognize the package when importing

Environment

iamkubi commented 1 year ago

This isn't a problem with pydactyl, you just haven't imported it correctly.

Joniii11 commented 1 year ago

@iamkubi i imported it like it was shown in the docs! It did not work!

iamkubi commented 1 year ago

Yes, you said it did not work 7 times, so I got that part. It definitely works though, so this is likely an issue with your local environment.

Joniii11 commented 1 year ago

And how can i fix it?