Answer the question
In order to leave comments, you need to log in
Can't install pip package?
Unable to install PIP payeer-api package
I write pip install payeer-api and get error
Microsoft Windows [Version 10.0.17763.1697]
(c) Microsoft Corporation 2018. All rights reserved.
C:\Users\Kirill>pip install payeer-api
Collecting payeer-api
Using cached payeer_api-0.1.tar.gz (3.3 kB)
ERROR: Command errored out with exit status 1:
command: 'C:\Anaconda\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Kirill\\AppData\\Local\\Temp\\pip-install-9_f1yeyh\\payeer-api_34072d1715b94d8eb406a26a843029c7\\setup.py'"'" '; __file__='"'"'C:\\Users\\Kirill\\AppData\\Local\\Temp\\pip-install-9_f1yeyh\\payeer-api_34072d1715b94d8eb406a26a843029c7\\setup.py'"'"';f=getattr (tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'" '\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:
File "", line 1, in
File "C:\Users\Kirill\AppData\Local\Temp\pip-install-9_f1yeyh\payeer-api_34072d1715b94d8eb406a26a843029c7\setup.py", line 8, in
long_description=open(join(dirname( __file__), 'README.rst')).read(),
File "C:\Anaconda\lib\encodings\cp1251.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[ 0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x98 in position 488: character maps to
----------------------- -----------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
C:\Users\Kirill>
Help me solve the problem. Package sitehttps://pypi.org/project/payeer-api/
Answer the question
In order to leave comments, you need to log in
Most likely Russian characters in the paths.
Just looked, this library depends on requests and re. If requests is installed, you can download payeer_api-0.1.tar.gz (3.3 kb) , extract it to your project folder and use it without installation.
Get the payeer_api folder from the archive and put it in the folder with your script, then:
from payeer_api import PayeerAPI
account = 'P1000000'
api_id = '123456789'
api_pass = 'KRicaFodFrgJer6'
p = PayeerAPI(account, api_id, api_pass)
p.get_balance()
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question