Windows 10 Error 1 When Any PIP Install - python

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\

Related

Cannot install MySQLdb (mysql-python) on CentOS

I am using ActivePython version 2.7.13 and install MySQLdb. However the following error occurs when I use 'pip install mysql-python'.
Command "/opt/ActivePython-2.7/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-xRB3M9/mysql-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 /tmp/pip-record-qnksTb/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-xRB3M9/mysql-python/
I have tried a lot approaches, like No module named MySQLdb, but it doesn't work.

"Pip install spacy" fails with an error

"Pip install spacy" fails with the cryptic error below and I have no idea how to handle it. Has anybody seen an issue like this before
Command "/home/ec2-user/anaconda3/envs/pytorch_p36/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-9vm71w85/spacy/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-record-cpqq4x9o/install-record.txt --single-version-externally-managed --compile" failed with error code -9 in /tmp/pip-install-9vm71w85/spacy/

Error when installing django channels on Fedora 24

This is the error that comes up when installing django channels with pip install channels:
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "/home/arunvm/Desktop/CleverHires/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-oisfgik6/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 /tmp/pip-689vby9j-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/arunvm/Desktop/CleverHires/include/site/python3.5/twisted" failed with error code 1 in /tmp/pip-build-oisfgik6/twisted/
You don't have Python headers installed.
Please run...
>>> sudo yum install python-devel

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.

Error while using Django CMS installer

I'm following Django-CMS's quick start tutorial. When trying to setup the project using djangocms -f -p . mysite, and using recommended settings, when it's installing the required dependencies it comes with this pip error:
`Command "c:\users\kasper\appdata\local\programs\python\python35-32\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\Kasper\\AppData\\Local\\Temp\\pip-build-9abaaes2\\django-cms\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\Kasper\AppData\Local\Temp\pip-91wvs4yy-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\Kasper\AppData\Local\Temp\pip-build-9abaaes2\django-cms\`
I'm on windows, and not sure what it means, nor how to fix it.
The solutions to the other question don't work on windows.

Categories

Resources