-
Notifications
You must be signed in to change notification settings - Fork 118
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
Dependency error? #202
Comments
update: I am still getting import error even with installed old 1.3.6 |
I've encountered this issue before. The version of pip install nltk This fixed the same issue for me. |
Hi! Many thanks for your timely reply! I am still getting this import error even with To be more precise, I am with: OS: windows 11 The installation problem still exists. When tried to install with
instead of the up-to-date version, I finally get Successfully installed Then i have the import error >>> from poe_api_wrapper import PoeServer
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name 'PoeServer' from 'poe_api_wrapper' (C:\Users\xxx\Envs\poe\Lib\site-packages\poe_api_wrapper\__init__.py) This problem also exists in WSL Ubuntu with python 3.10.12 |
Thanks for sharing this information - I think I can see where the issue lies. You're working in the Python REPL outside of the project directory. In this case, Python searches for modules in your virtual environment, where from .api import PoeApi
from .example import PoeExample As shown above, the Regarding the dependency issues you mentioned, it seems the pip install ballyregan
pip install -U poe-api-wrapper
pip install numpy==1.26.4 # ballyregan affects numpy version, need to revert to older version This should get you set up with the latest version of
Update: I apologize for the error in my previous response. To use the server functionality, you should actually install the package with the |
Hi just found out this repo. Nice work!
I am trying to install it in a new virtual env with
But there seems to be a dependency error with rich ...
finally i am either getting 1.3.6 of poe or just failed to import poeserver
ImportError: cannot import name 'PoeServer' from 'poe_api_wrapper'
I tried with python 3.11 and 3.9 this problem still exists.
The text was updated successfully, but these errors were encountered: