installing magic-wormhole gives error code 1 - python

when doing pip install magic-wormhole
It gives the following error
Command "c:\users\[Censured]\appdata\local\programs\python\python37-32\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\[Censured]\\AppData\\Local\\Temp\\pip-install-c9sttv8x\\twisted\\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\[Censured]\AppData\Local\Temp\pip-record-7opo58sr\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\[Censured]\AppData\Local\Temp\pip-install-c9sttv8x\twisted\
Full log here: https://pastebin.com/iGVT5GyZ

In the very end of logs you will find lines:
Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools":
So, you have to download and install it.
It is available from official site: https://visualstudio.microsoft.com/ru/visual-cpp-build-tools

Related

faster-than-requests installing error 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\

Fbprophet installation error - failed to setup

When I wanted to install Fbprophet, I got the error message. Please help.
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft
Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
Command "C:\Users\Ekin\Anaconda3\python.exe -u -c "import setuptools,
tokenize;file='C:\Users\Ekin\AppData\Local\Temp\pip-install-18154lmz\pystan\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\Ekin\AppData\Local\Temp\pip-record-73_kkd1_\install-record.txt
--single-version-externally-managed --compile" failed with error code 1 in C:\Users\Ekin\AppData\Local\Temp\pip-install-18154lmz\pystan\

Python Kivy installation error MIX_INIT_MOD MacOS

MacOS: high sierra
Python: 3.6 (what I am using) and 2.7 (macOS own)
Cython: 0.26.1
Kivy: the newest master branch or the 1.10. zip via pip
first error in console while compiling:
Running setup.py install for kivy ... error
Complete output from command /Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/private/var/folders/dw/3q9f4bpj3k9fwtg7k_kl0ws80000gn/T/pip-build-zj044_lx/kivy/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/dw/3q9f4bpj3k9fwtg7k_kl0ws80000gn/T/pip-m8g5p5ha-record/install-record.txt --single-version-externally-managed --
Errorcode:
Command "/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/private/var/folders/dw/3q9f4bpj3k9fwtg7k_kl0ws80000gn/T/pip-build-zj044_lx/kivy/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/dw/3q9f4bpj3k9fwtg7k_kl0ws80000gn/T/pip-m8g5p5ha-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/dw/3q9f4bpj3k9fwtg7k_kl0ws80000gn/T/pip-build-zj044_lx/kivy/
I tried to install the developer version from the master but go the "ZipFile is not a zip" error.
I used pip3 or pip3.6 don't know if that makes any differences.
ok I found out what was wrong. I just needed to download the zip file from the master branch out of GitHub. This was not possible with mobile data.

Cannot install psycopg2

I am installing psycopg2 on Ubuntu 15.10 for Python 3.5. I had this issue firstly:
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-9enc9eqe/psycopg2
I cured it with this answer: https://stackoverflow.com/a/25855548/3014866
I faced new exception:
Command "/usr/bin/python3.5 -c "import setuptools, tokenize;__file__='/tmp/pip-build-ne0zd8lq/psycopg2/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-m286d8vp-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-ne0zd8lq/psycopg2
I don't know how to solve it.

Windows 10 Error 1 When Any PIP Install

I get the error 1 when I try to pip install <module>. Any module. Ive tried cx_freeze and pyside tonight, and i really need both. How do I resolve this?
cx_freeze error:
Command "c:\users\other\desktop\python3.5.2\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\Other\\AppData\\Local\\Temp\\pip-build-fzrlj2j2\\cx-freeze\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\Other\AppData\Local\Temp\pip-nv1cmthe-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\Other\AppData\Local\Temp\pip-build-fzrlj2j2\cx-freeze\

Categories

Resources