Error while using Django CMS installer - python

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.

Related

Why my pip3 Ansible install failed? failed with error code 1 in /tmp/pip_build_root/cryptography

On my Vagrant VM
sudo pip3 install ansible
It does not work
Command /usr/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-2wl0xdne-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/cryptography
Storing debug log for failure in /home/vagrant/.pip/pip.log
I do not understand this. Where is actually /home/vagrant directory?
How to fix this?
Python3 version
vagrant#vagrant-ubuntu-trusty-64:~$ python3 --version
Python 3.4.3

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.

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.

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\

pip install pandas error

Hi all i typed pip install pandas but i kept getting this error.
Cleaning up...
Command C:\Python27\python.exe -c "import setuptools, tokenize;__file__='c:\\use
rs\\huihui\\appdata\\local\\temp\\pip_build_HuiHui\\pandas\\setup.py';exec(compi
le(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __fil
e__, 'exec'))" install --record c:\users\huihui\appdata\local\temp\pip-ecokb6-re
cord\install-record.txt --single-version-externally-managed --compile failed wit
h error code 1 in c:\users\huihui\appdata\local\temp\pip_build_HuiHui\pandas
Storing debug log for failure in C:\Users\HuiHui\pip\pip.log
can anyone shed some light on this?
pip will try to install from source and I deduce from the C: that you are on windows - as such you probably don't have the compiler(s) needed to build pandas. You should download install the appropriate windows installer from https://pypi.python.org/pypi/pandas instead.

Categories

Resources