I just installed chatterbot last time with CMD, installation was successful, but keeps throwing me ModuleNotFoundError.
Last time i modified the System variables in path, adding the python37/scripts rute. Now i tried but with the rute: C:\Python27\Scripts. It throws me this exception on CMD when i try to install it:
>Command "c:\python27\python.exe -u -c "import setuptools, tokenize;
__file__='c:\\users\\arcanet\\appdata\\local\\temp\\pip-build-
wejd5c\\murmurhash\\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\arcanet\appdata\local\temp\pip-w1n8yf-record\
install-record.txt --single-version-externally-managed --compile"
failed with error code 1 in
c:\users\arcanet\appdata\local\temp\pip-build-wejd5c\murmurhash\
I tried to upgrade python´s setuptools but didn't work and also tried pip install murmurhash but throws the same error. I hope you can help.
Related
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.
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\
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.
I try to use pip install psycopg2 on windows10 and python3.5, but it show me below error message. how can i fix it ?
Command
"d:\desktop\learn\python\webcatch\appserver\webcatch\scripts\python.exe
-u -c "import setuptools, tokenize;file='C:\Users\16022001\AppData\Local\Temp\pip-build-rsorislh\psycopg2\setup.py';exec(compile(getattr(tokenize,
'open', open)(file).read().replace('\r\n', '\n'), file,
'exec'))" install --record
C:\Users\16022001\AppData\Local\Temp\pip-kzsbvzx9-record\install-record.txt
--single-version-externally-managed --compile --install-headers d:\desktop\learn\python\webcatch\appserver\webcatch\include\site\python3.5\psycopg2"
failed with error code 1 in
C:\Users\16022001\AppData\Local\Temp\pip-build-rsorislh\psycopg2\
pip install psycopg this worked for me, don't mention version i.e (pip install psycopg2)
I'm trying to install objccheckstyle with this command:
sudo pip install objccheckstyle
But it fails after it says
Running setup.py install for lxml
and I get this error:
Command "/usr/bin/python -c "import setuptools, tokenize;__file__='/private/tmp/pip-build-DsaKIL/lxml/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-CFc6EG-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-build-DsaKIL/lxml
I also tried sudo pip install lxml, but it looks like it fails when tries to import libxml:
#include "libxml/xmlversion.h"
I don't find libxml with pip install. What could I be missing?
Thanks
Updating to the latest Xcode's command line tools solved the problem.