Coder Social home page Coder Social logo

Comments (21)

snowby666 avatar snowby666 commented on May 20, 2024 1

maybe try to uninstall the library and install again:

pip3 uninstall -y poe-api-wrapper

This time try using pip instead of pip3

pip install poe-api-wrapper==1.1.9

from poe-api-wrapper.

zhouhh2017 avatar zhouhh2017 commented on May 20, 2024 1

done with env 3.11

from poe-api-wrapper.

snowby666 avatar snowby666 commented on May 20, 2024

This error could have stem from network connectivity.

from poe-api-wrapper.

snowby666 avatar snowby666 commented on May 20, 2024

I think you should check if you're using proxy or a VPN while running this code

from poe-api-wrapper.

zhouhh2017 avatar zhouhh2017 commented on May 20, 2024

Yes, but website of POE works well. I use clash for windows to connect VPN, TUN mode Opened already.

from poe-api-wrapper.

zhouhh2017 avatar zhouhh2017 commented on May 20, 2024

client = PoeApi("0B0o-Lg==", proxy=True)
Reports:
TypeError: init() got an unexpected keyword argument 'proxy'

from poe-api-wrapper.

snowby666 avatar snowby666 commented on May 20, 2024

Then I think you are missing client certificate. Can you try installing this package:

pip install tls_client

from poe-api-wrapper.

zhouhh2017 avatar zhouhh2017 commented on May 20, 2024

already satisfied

from poe-api-wrapper.

snowby666 avatar snowby666 commented on May 20, 2024

How about the token? Did you get it from the quora.com or poe.com

from poe-api-wrapper.

zhouhh2017 avatar zhouhh2017 commented on May 20, 2024

quora.com ,I registered it today. What's the relationship between them?

from poe-api-wrapper.

snowby666 avatar snowby666 commented on May 20, 2024

Well then can you specify your python version and operating system?

from poe-api-wrapper.

zhouhh2017 avatar zhouhh2017 commented on May 20, 2024

Python 3.8.5 Win10

from poe-api-wrapper.

snowby666 avatar snowby666 commented on May 20, 2024

first try updating httpx library and see if that works:

pip install -U httpx

from poe-api-wrapper.

zhouhh2017 avatar zhouhh2017 commented on May 20, 2024

Looking in indexes: http://mirrors.aliyun.com/pypi/simple/
Requirement already satisfied: httpx in c:\anaconda\lib\site-packages (0.24.1)
Requirement already satisfied: sniffio in c:\anaconda\lib\site-packages (from httpx) (1.3.0)
Requirement already satisfied: certifi in c:\anaconda\lib\site-packages (from httpx) (2023.5.7)
Requirement already satisfied: httpcore<0.18.0,>=0.15.0 in c:\anaconda\lib\site-packages (from httpx) (0.17.3)
Requirement already satisfied: idna in c:\anaconda\lib\site-packages (from httpx) (3.4)
Requirement already satisfied: anyio<5.0,>=3.0 in c:\anaconda\lib\site-packages (from httpcore<0.18.0,>=0.15.0->httpx) (4.0.0)
Requirement already satisfied: h11<0.15,>=0.13 in c:\anaconda\lib\site-packages (from httpcore<0.18.0,>=0.15.0->httpx) (0.14.0)
Requirement already satisfied: exceptiongroup>=1.0.2 in c:\anaconda\lib\site-packages (from anyio<5.0,>=3.0->httpcore<0.18.0,>=0.15.0->httpx) (1.1.3)

from poe-api-wrapper.

zhouhh2017 avatar zhouhh2017 commented on May 20, 2024

I come from here ading2210/poe-api, is it killed by the POE team?

from poe-api-wrapper.

snowby666 avatar snowby666 commented on May 20, 2024

I come from here ading2210/poe-api, is it killed by the POE team?

Not actually. But the poe team made it harder to catch up with by introducing cloudflare and other methods to prevent sending automation requests to their main api.

from poe-api-wrapper.

snowby666 avatar snowby666 commented on May 20, 2024

for now its really hard for me to understand the problem you're facing. This could be a problem with the httpx library or your computer is missing SSL certificate or something.

from poe-api-wrapper.

zhouhh2017 avatar zhouhh2017 commented on May 20, 2024

Maybe because of pip?

pip3 install -U poe-api-wrapper
Looking in indexes: http://mirrors.aliyun.com/pypi/simple/
Requirement already satisfied: poe-api-wrapper in c:\anaconda\lib\site-packages (1.0.3)
Collecting poe-api-wrapper
Downloading http://mirrors.aliyun.com/pypi/packages/3c/aa/b45c79e55752c8c7dfcd2ca78a1b09b0e4a9865e22b928f6e89ea07bcf8e/poe_api_wrapper-1.1.8-py3-none-any.whl (38 kB)
Requirement already satisfied: keyboard in c:\anaconda\lib\site-packages (from poe-api-wrapper) (0.13.5)
Requirement already satisfied: websocket-client in c:\anaconda\lib\site-packages (from poe-api-wrapper) (1.6.1)
Collecting requests-toolbelt
Downloading http://mirrors.aliyun.com/pypi/packages/3f/51/d4db610ef29373b879047326cbf6fa98b6c1969d6f6dc423279de2b1be2c/requests_toolbelt-1.0.0-py2.py3-none-any.whl (54 kB)
---------------------------------------- 54.5/54.5 KB 189.1 kB/s eta 0:00:00
Requirement already satisfied: httpx==0.24.1 in c:\anaconda\lib\site-packages (from poe-api-wrapper) (0.24.1)
Collecting poe-api-wrapper
Downloading http://mirrors.aliyun.com/pypi/packages/65/d6/56975da1dee5977aaa6ee332600a7ef33c4d22058da1309255b6180cc494/poe_api_wrapper-1.1.7-py3-none-any.whl (37 kB)
Downloading http://mirrors.aliyun.com/pypi/packages/eb/84/6c01dfbc54c733a7a2ab20fef61918d02af59b0c6a3d4687b8c369ce8933/poe_api_wrapper-1.1.6-py3-none-any.whl (36 kB)
Downloading http://mirrors.aliyun.com/pypi/packages/5e/e1/8ab65f786973a30d031d4a2ed88fac3ebf79c43f4a44c0edfdfea7dc2b15/poe_api_wrapper-1.1.5-py3-none-any.whl (35 kB)
Downloading http://mirrors.aliyun.com/pypi/packages/67/37/5cf7928a393e146a515f15a6afb9560d949252de067b821623e2f14f6664/poe_api_wrapper-1.1.4-py3-none-any.whl (35 kB)
Downloading http://mirrors.aliyun.com/pypi/packages/00/3c/51220d8a68078a18dd831bc531551da0a07a9fc9cb48cfb5a7709d00369b/poe_api_wrapper-1.1.3-py3-none-any.whl (35 kB)
Downloading http://mirrors.aliyun.com/pypi/packages/d4/eb/e77b5c276a8f67aba05a4530bd3cba977343db55834b9a6bc78372a60547/poe_api_wrapper-1.1.2-py3-none-any.whl (35 kB)
Downloading http://mirrors.aliyun.com/pypi/packages/c2/d4/5e73a33a28c003fefb1a8f856dbd05e4603f321ccd1011321898da46b5bc/poe_api_wrapper-1.1.1-py3-none-any.whl (34 kB)
Downloading http://mirrors.aliyun.com/pypi/packages/9e/62/fcd63db0041b514e3a17d89c07714c0e0a54352bdec887aa16801a12fbd7/poe_api_wrapper-1.1.0-py3-none-any.whl (33 kB)
Downloading http://mirrors.aliyun.com/pypi/packages/01/d8/e4a3774f64ec7dd4f583c394343cace30a7b5b6f378da83269a9e1a5584e/poe_api_wrapper-1.0.9-py3-none-any.whl (32 kB)
Downloading http://mirrors.aliyun.com/pypi/packages/1c/e2/9891888ee35a5adc0a06f629cf5fccb3948adf750bee2969f0e6c0e8c478/poe_api_wrapper-1.0.8-py3-none-any.whl (33 kB)
Downloading http://mirrors.aliyun.com/pypi/packages/09/f6/e345262d7c04e94982fbd0b0cfb3079ed45b7cc710c0f93b7c6062a3a14a/poe_api_wrapper-1.0.7-py3-none-any.whl (33 kB)
Downloading http://mirrors.aliyun.com/pypi/packages/01/a8/f61bfe6740f1595d8239c220a243a313199cf281c509f8364f63341cf831/poe_api_wrapper-1.0.6-py3-none-any.whl (33 kB)
Downloading http://mirrors.aliyun.com/pypi/packages/ce/73/a846a5aa5f552c4b3768bf679f18ab42f65dcb8bc2a96e332049824e8c95/poe_api_wrapper-1.0.5-py3-none-any.whl (30 kB)
Downloading http://mirrors.aliyun.com/pypi/packages/d3/5b/4e10f325e9fdcfc521e54fc4a8f7a58107cce9d99b12e257d8c46030cd35/poe_api_wrapper-1.0.4-py3-none-any.whl (30 kB)
Requirement already satisfied: idna in c:\anaconda\lib\site-packages (from httpx==0.24.1->poe-api-wrapper) (3.4)
Requirement already satisfied: httpcore<0.18.0,>=0.15.0 in c:\anaconda\lib\site-packages (from httpx==0.24.1->poe-api-wrapper) (0.17.3)
Requirement already satisfied: certifi in c:\anaconda\lib\site-packages (from httpx==0.24.1->poe-api-wrapper) (2023.5.7)
Requirement already satisfied: sniffio in c:\anaconda\lib\site-packages (from httpx==0.24.1->poe-api-wrapper) (1.3.0)
Requirement already satisfied: h11<0.15,>=0.13 in c:\anaconda\lib\site-packages (from httpcore<0.18.0,>=0.15.0->httpx==0.24.1->poe-api-wrapper) (0.14.0)
Requirement already satisfied: anyio<5.0,>=3.0 in c:\anaconda\lib\site-packages (from httpcore<0.18.0,>=0.15.0->httpx==0.24.1->poe-api-wrapper) (4.0.0)
Requirement already satisfied: exceptiongroup>=1.0.2 in c:\anaconda\lib\site-packages (from anyio<5.0,>=3.0->httpcore<0.18.0,>=0.15.0->httpx==0.24.1->poe-api-wrapper) (1.1.3)

from poe-api-wrapper.

zhouhh2017 avatar zhouhh2017 commented on May 20, 2024

pip install poe-api-wrapper==1.1.9
Collecting poe-api-wrapper==1.1.9
Using cached poe_api_wrapper-1.1.9-py3-none-any.whl (38 kB)
ERROR: Could not find a version that satisfies the requirement ballyregan (from poe-api-wrapper) (from versions: none)
ERROR: No matching distribution found for ballyregan

from poe-api-wrapper.

zhouhh2017 avatar zhouhh2017 commented on May 20, 2024

After updating pip, the Error changes:
pip install poe-api-wrapper==1.1.9
Collecting poe-api-wrapper==1.1.9
Obtaining dependency information for poe-api-wrapper==1.1.9 from https://files.pythonhosted.org/packages/c0/8b/9c22c96c872176e7da640d63dfd1fc8c31db3651c72ba5ea73755005c76b/poe_api_wrapper-1.1.9-py3-none-any.whl.metadata
Using cached poe_api_wrapper-1.1.9-py3-none-any.whl.metadata (16 kB)
Requirement already satisfied: httpx==0.24.1 in c:\anaconda\lib\site-packages (from poe-api-wrapper==1.1.9) (0.24.1)
INFO: pip is looking at multiple versions of poe-api-wrapper to determine which version is compatible with other requirements. This could take a while.
ERROR: Ignored the following versions that require a different python version: 0.1.0 Requires-Python >=3.9,<4.0; 0.1.1 Requires-Python >=3.9,<4.0; 0.1.2 Requires-Python >=3.9,<4.0; 0.1.3 Requires-Python >=3.9,<4.0; 0.1.4 Requires-Python >=3.9,<4.0; 0.1.5 Requires-Python >=3.9,<4.0; 0.1.6 Requires-Python >=3.9,<4.0; 0.1.7 Requires-Python >=3.9,<4.0; 0.1.8 Requires-Python >=3.9,<4.0; 0.1.9 Requires-Python >=3.9,<4.0; 1.0.0 Requires-Python >=3.9,<4.0; 1.0.1 Requires-Python >=3.9,<4.0; 1.0.2 Requires-Python >=3.9,<4.0; 1.0.3 Requires-Python >=3.9,<4.0; 1.0.4 Requires-Python >=3.9,<4.0; 1.0.5 Requires-Python >=3.9,<4.0; 1.0.6 Requires-Python >=3.9,<4.0
ERROR: Could not find a version that satisfies the requirement ballyregan (from poe-api-wrapper) (from versions: none)
ERROR: No matching distribution found for ballyregan

from poe-api-wrapper.

snowby666 avatar snowby666 commented on May 20, 2024

ballyregan is a lib for auto proxy. Their python version req is 3.9+

from poe-api-wrapper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.