Cannot open include file: 'libxml/xmlversion.h': No such file or directory - python-2.7

While trying to install "lxml-3.1.0", I got the following error.
C:\Users\affine\Desktop\lib\lxml-3.1.0\src\lxml\includes\etree_defs.h(9) :
fatal error C1083: Cannot open include file: 'libxml/xmlversion.h':
No such file or directory
error: command '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\cl.exe"'
failed with exit status 2
Could someone help me understand this and overcome this issue?

When I want to install pyshark==0.3.3for python2.7, there is an error with xslt-config. Its suggestion is to install VC++9.0 for python2.7.
After downloading Microsoft Visual C++ Compiler for Python 2.7 from http://www.microsoft.com/en-us/download/details.aspx?id=44266, I installed it. Then the similar error occurred:
src\lxml\includes\etree_defs.h(14) : fatal error C1083: Cannot open include file: 'libxml/xmlversion.h': No such file or directory
Compile failed: command 'C:\Users\Jeremy\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe' failed with exit status 2
So I install lxml in my windows command prompt using command easy_install.exe lxmlin the directory of G:\ProgramFiles\Python27\Scriptslike the following :
G:\ProgramFiles\Python27\Scripts>easy_install.exe lxml
In the first time when I ran this command, it answered me time out. And then I ran it again, it did work.

Related

fatal error C1083: Cannot open include file: 'magic.h': No such file or directory

trying to run a django server on my windows 10 computer.
When I execute python manage.py runserver, I get the following error:
fatal error C1083: Cannot open include file: 'magic.h': No such file or directory
I'm running 64 bit python 3.5, on Windows 10.
Here is the picture of the error:
This issue was discussed in GitHub: https://github.com/ahupp/python-magic/issues/154
It seems that solution is to reinstall libmagic "pip install libmagic" and/or "pip install python-magic" (the environment I work with uses both) and download Windows-specific file from https://pypi.python.org/pypi/python-magic-bin/0.4.14 and install that with "pip install " to your Python-environment.

Error while installation of twilio on python 2.7 windows 10 laptop

I encountered following error which is as follows:
build\temp.win32-2.7\Release_openssl.c(434) : fatal error C1083:
Cannot open include file: 'openssl/opensslv.h': No such file or
directory error: [Error 5] Access is denied:
'c:\users\admin\appdata\local\temp\easy_install-ajrfcv\cryptography-1.9\.eggs\cffi-1.10.0-py2.7-win32.egg\_cffi_backend.pyd'
I need help with this as to continue working.
Thank you in advance.

Pocketsphinx not installing

I have downloaded Pocketsphinx from https://github.com/cmusphinx/pocketsphinx but is unable to understand how to load .sln files since, i have never used visual studio.. currently i am using visual studio 2012.
I even tried downloading from https://github.com/bambocher/pocketsphinx-python even after installing all the dependencies i am facing with error :
fatal error C1083: Cannot open incl ude file: 'stdint.h': No such file
or directory error: command
'C:\Users\deamons\AppData\Local\Programs\Common\Microsoft\
\Visual C++ for Python\9.0\VC\Bin\cl.exe' failed with exit status
2
According to
https://github.com/cmusphinx/sphinxbase/issues/18 and
https://github.com/bambocher/pocketsphinx-python/issues/9
it should be fixed now (there was unnecessary include for stdint.h), please update your local git repo.

JPype : fatal error: 'jni.h' file not found

Hello I am trying to install JPype-0.5.4.2 using:
python setup.py install
And I get the following error:
In file included from src/native/common/jp_array.cpp:17:
src/native/common/include/jpype.h:45:10: fatal error: 'jni.h' file not found
#include <jni.h>
^
1 error generated.
error: command 'cc' failed with exit status 1
Any idea how to fix this? Thanks
I am on MacOSX 10.8.5 and this answer worked for me. After editing def setupInclusion(self):, I ran $ python setup.py install and was successful.
However, if you are on Linux instead, then check to see if you installed the JRE instead of the JDK. See this answer for more details.
jni.h is supplied in the include directory of the JDK.

sylius installation issue PHP Fatal error:

Please help.
PHP Fatal error: require_once(): Failed opening required
'/home/roberto/sylius/app/bootstrap.php.cache'
(include_path='.:/usr/share/php:/usr/share/pear') in /home/roberto/sylius/app/console on line
15
How did you install Sylius? You should use Composer which will run bootstrap file generation script.