faster-than-requests installing error python - python

Hey am trying to install faster-than-requests with and from file directly non of them works it gives an error :
PS C:\WINDOWS\system32> pip install faster-than-requests
Collecting faster-than-requests
Using cached https://files.pythonhosted.org/packages/90/15/72ffe29bf34b40b4b9881a89e0fbbf9d22ea0b493681965fd08ce1fafa7b/faster_than_requests-0.9.2.zip
Installing collected packages: faster-than-requests
Running setup.py install for faster-than-requests ... error
Complete output from command c:\users\gaming\appdata\local\programs\python\python37\python.exe -u -c "import setuptools, tokenize;file='C:\Users\GAMING\AppData\Local\Temp\pip-install-g86h8jtt\faster-than-requests\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\GAMING\AppData\Local\Temp\pip-record-8b_4dut4\install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_ext
building 'faster_than_requests' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
----------------------------------------
Command "c:\users\gaming\appdata\local\programs\python\python37\python.exe -u -c "import setuptools, tokenize;file='C:\Users\GAMING\AppData\Local\Temp\pip-install-g86h8jtt\faster-than-requests\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\GAMING\AppData\Local\Temp\pip-record-8b_4dut4\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\GAMING\AppData\Local\Temp\pip-install-g86h8jtt\faster-than-requests\

Related

How to solve this error while installing pyaudio?

Complete output from command E:\python\project\audi\venv\Scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\DEEPAK~1\\AppData\\Local\\Temp\\pip-install-vog_q_bd\\PyAudio\\setup.py';f=ge
tattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\DEEPAK~1\AppData\Local\Temp\pip-record-el4ifpw9\install-record
.txt --single-version-externally-managed --compile --install-headers E:\python\project\audi\venv\include\site\python3.7\PyAudio:
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.7
copying src\pyaudio.py -> build\lib.win-amd64-3.7
running build_ext
building '_portaudio' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
----------------------------------------
Command "E:\python\project\audi\venv\Scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\DEEPAK~1\\AppData\\Local\\Temp\\pip-install-vog_q_bd\\PyAudio\\setup.py';f=getattr(tokenize, 'open',
open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\DEEPAK~1\AppData\Local\Temp\pip-record-el4ifpw9\install-record.txt --single-version-ex
ternally-managed --compile --install-headers E:\python\project\audi\venv\include\site\python3.7\PyAudio" failed with error code 1 in C:\Users\DEEPAK~1\AppData\Local\Temp\pip-install-vog_q_bd\PyAudio\
This is the error I got while trying to install the Pyaudio

Error while Installing Pillow / PyAutoGUI on Windows 10

i wanted to install PyAutoGUI via pip.
It worked, until it installed Pillow.
Here is the error:
Command "c:\users\erazor\appdata\local\programs\python\python38\python.exe -u -c "import setuptools, tokenize;file='C:\Users\Erazor\AppData\Local\Temp\pip-install-ff50gy2x\Pillow\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\Erazor\AppData\Local\Temp\pip-record-hfqa44g5\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\Erazor\AppData\Local\Temp\pip-install-ff50gy2x\Pillow\
Here is a Hastebin forme the command promt.
I hope you can help me.
EDIT: I tried han solos comment. It did not Work its the Same error but now i get
Failed building wheel for Pillow
as an additional error.
EDIT: New error:
Building wheels for collected packages: Pillow
Building wheel for Pillow (setup.py) ... error
Failed building wheel for Pillow
Running setup.py clean for Pillow
Failed to build Pillow
Installing collected packages: Pillow, pyscreeze, pyautogui
Running setup.py install for Pillow ... error
Command "c:\users\erazor\appdata\local\programs\python\python38\python.exe -u -c "import setuptools, tokenize;file='C:\Users\Erazor\AppData\Local\Temp\pip-install-m5b1ubtx\Pillow\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\Erazor\AppData\Local\Temp\pip-record-ot3l1c72\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\Erazor\AppData\Local\Temp\pip-install-m5b1ubtx\Pillow\
Pillow's latest supported Python version is 3.7, not 3.8.

ATD (after the deadline) for python 3.6 unable to install

When using sudo pip3 install atd to try and download the "after the deadline" module atd for python 3.6 I get the following error:
Failed to build atd
Installing collected packages: atd
Running setup.py install for atd ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-tfcxr6us/atd/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-xsek23ca-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/atd
copying atd/__init__.py -> build/lib/atd
copying atd/atd.py -> build/lib/atd
running build_scripts
creating build/scripts-3.6
error: file '/tmp/pip-build-tfcxr6us/atd/bin\atddir.py' does not exist
----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-tfcxr6us/atd/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-xsek23ca-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-tfcxr6us/atd/
The package atd is a connector for McAfee ATD API. Is it what you want?
The package is outdated because its setup.py uses ez_setup, deprecated and removed from setuptools long ago. The package was not updated since 2015.
The package is only for windows as its setup.py declares a script bin\\atddir.py.
I'm sure the module is unusable. Perhaps it's not what you want. What "after the deadline" module are you looking for?

Failed to install zbar in wndows for python using pip install zbar

Collecting zbar
Using cached https://files.pythonhosted.org/packages/33/54/cc5819efc9ee7e34b60b41e1d2d4753b6dd0c26a41c9a552611f66aa106e/zbar-0.10.tar.bz2
Installing collected packages: zbar
Running setup.py install for zbar ... error
Complete output from command c:\python27\python.exe -u -c "import
setuptools,
tokenize;file='c:\users\k\appdata\local\temp\pip-build-y0jgcd\zbar\setup.py';f=getattr(tokenize,
'open', open)(file);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, file, 'exec'))" install
--record c:\users\k\appdata\local\temp\pip-labpqj-record\install-record.txt
--single-version-externally-managed --compile:
running install
running build
running build_ext
building 'zbar' extension
error: INCLUDE environment variable is empty
Command "c:\python27\python.exe -u -c "import setuptools,
tokenize;file='c:\users\k\appdata\local\temp\pip-build-y0jgcd\zbar\setup.py';f=getattr(tokenize,
'open', open)(file);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, file, 'exec'))" install
--record c:\users\k\appdata\local\temp\pip-labpqj-record\install-record.txt
--single-version-externally-managed --compile" failed with error code 1 in c:\users\k\appdata\local\temp\pip-build-y0jgcd\zbar\
how to fix this problem
Try the install steps provided in : https://github.com/ZBar/ZBar/blob/master/README

libvirt-python install on mac error

When i try to install libvirt-python via the following:
pip install libvirt-python
I get the following error:
Collecting libvirt-python
Downloading libvirt-python-2.5.0.tar.gz (172kB)
100% |████████████████████████████████| 174kB 2.4MB/s
Building wheels for collected packages: libvirt-python
Running setup.py bdist_wheel for libvirt-python ... error
Complete output from command /usr/local/opt/python/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/h4/8vv21pzx2k9471lzymg_r3th0000gp/T/pip-build-JcUj3e/libvirt-python/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /var/folders/h4/8vv21pzx2k9471lzymg_r3th0000gp/T/tmp79QS6spip-wheel- --python-tag cp27:
running bdist_wheel
running build
/usr/local/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt
/usr/local/opt/python/bin/python2.7 generator.py libvirt /usr/local/Cellar/libvirt/3.0.0/share/libvirt/api/libvirt-api.xml
Found 418 functions in /usr/local/Cellar/libvirt/3.0.0/share/libvirt/api/libvirt-api.xml
Found 0 functions in libvirt-override-api.xml
Generated 344 wrapper functions
Missing type converters:
virConnectSecretEventGenericCallback:1
virStorageVolInfoPtr:1
ERROR: failed virConnectSecretEventRegisterAny
ERROR: failed virStorageVolGetInfoFlags
error: command '/usr/local/opt/python/bin/python2.7' failed with exit status 1
----------------------------------------
Failed building wheel for libvirt-python
Running setup.py clean for libvirt-python
Failed to build libvirt-python
Installing collected packages: libvirt-python
Running setup.py install for libvirt-python ... error
Complete output from command /usr/local/opt/python/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/h4/8vv21pzx2k9471lzymg_r3th0000gp/T/pip-build-JcUj3e/libvirt-python/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/h4/8vv21pzx2k9471lzymg_r3th0000gp/T/pip-eNRl_m-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
/usr/local/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt
/usr/local/opt/python/bin/python2.7 generator.py libvirt /usr/local/Cellar/libvirt/3.0.0/share/libvirt/api/libvirt-api.xml
Found 418 functions in /usr/local/Cellar/libvirt/3.0.0/share/libvirt/api/libvirt-api.xml
Found 0 functions in libvirt-override-api.xml
Generated 344 wrapper functions
Missing type converters:
virConnectSecretEventGenericCallback:1
virStorageVolInfoPtr:1
ERROR: failed virConnectSecretEventRegisterAny
ERROR: failed virStorageVolGetInfoFlags
error: command '/usr/local/opt/python/bin/python2.7' failed with exit status 1
----------------------------------------
Command "/usr/local/opt/python/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/h4/8vv21pzx2k9471lzymg_r3th0000gp/T/pip-build-JcUj3e/libvirt-python/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/h4/8vv21pzx2k9471lzymg_r3th0000gp/T/pip-eNRl_m-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/h4/8vv21pzx2k9471lzymg_r3th0000gp/T/pip-build-JcUj3e/libvirt-python/
Any help would be appreciated as I'm out of ideas on how to fix this.
Mac 10.11.4
Python 2.7.13 & 2.7.10
libvirt installed via brew
Warning: libvirt-3.0.0 already installed
You need to install libvirt-python 3.0.0 but the one on PyPI is still 2.5.0. Run this command instead:
pip install https://libvirt.org/sources/python/libvirt-python-3.0.0.tar.gz
Reference:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=852886
We forgot to upload the 3.0.0 release to PyPI. This mistake is resolved now, so if you retry it should build correctly.

Categories

Resources