Python Forum

Full Version: Please help i get an error when trying to install boolexpr using pip?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi!
I'm sorry if my post isn't in its usual/supposed place but I need help and I don't know where to find it. If someone know a site where I should put a post like that then I hope he shows me that.
I have an issue in installation of a library called boolexpr. I've tried every possible solution to the problem I got after googling it but nothing works. This is what I get:
Error:
C:\WINDOWS\System32>pip install boolexpr DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. Collecting boolexpr Using cached https://files.pythonhosted.org/packages/f3/f4/923dd0954228f85ed219da453bbedfdae21ecab4f0683d164fb50e1b4165/boolexpr-2.4.tar.gz Requirement already satisfied: cffi>=1.5.0 in c:\users\me\anaconda2\lib\site-packages (from boolexpr) (1.11.5) Requirement already satisfied: pycparser in c:\users\me\anaconda2\lib\site-packages (from cffi>=1.5.0->boolexpr) (2.19) Building wheels for collected packages: boolexpr Building wheel for boolexpr (setup.py) ... error Complete output from command c:\users\me\anaconda2\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\me\\appdata\\local\\temp\\pip-install-cfs8jo\\boolexpr\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d c:\users\me\appdata\local\temp\pip-wheel-y2y3p9 --python-tag cp27: running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-2.7 creating build\lib.win-amd64-2.7\boolexpr copying boolexpr\misc.py -> build\lib.win-amd64-2.7\boolexpr copying boolexpr\util.py -> build\lib.win-amd64-2.7\boolexpr copying boolexpr\wrap.py -> build\lib.win-amd64-2.7\boolexpr copying boolexpr\__init__.py -> build\lib.win-amd64-2.7\boolexpr running build_ext building 'boolexpr._boolexpr' extension creating build\temp.win-amd64-2.7 creating build\temp.win-amd64-2.7\Release creating build\temp.win-amd64-2.7\Release\boolexpr creating build\temp.win-amd64-2.7\Release\boolexpr\third_party creating build\temp.win-amd64-2.7\Release\boolexpr\third_party\glucosamine creating build\temp.win-amd64-2.7\Release\boolexpr\third_party\glucosamine\src creating build\temp.win-amd64-2.7\Release\boolexpr\third_party\glucosamine\src\core creating build\temp.win-amd64-2.7\Release\boolexpr\src C:\Users\Me\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DNDEBUG -Iboolexpr\include -Iboolexpr\third_party\glucosamine\src -Iboolexpr\third_party\boost-1.54.0 -Ic:\users\me\anaconda2\include -Ic:\users\me\anaconda2\PC /Tpboolexpr\third_party\glucosamine\src\core\Solver.cc /Fobuild\temp.win-amd64-2.7\Release\boolexpr\third_party\glucosamine\src\core\Solver.obj /std:c++11 /Wall cl : Command line warning D9002 : ignoring unknown option '/std:c++11' Solver.cc c:\users\me\appdata\local\programs\common\microsoft\visual c++ for python\9.0\vc\include\codeanalysis\sourceannotations.h(81) : warning C4820: 'vc_attributes::Pre' : '4' bytes padding added after data member 'vc_attributes::Pre::Access' c:\users\me\appdata\local\programs\common\microsoft\visual c++ for python\9.0\vc\include\codeanalysis\sourceannotations.h(96) : warning C4820: 'vc_attributes::Pre' : '4' bytes padding added after data member 'vc_attributes::Pre::NullTerminated' c:\users\me\appdata\local\programs\common\microsoft\visual c++ for python\9.0\vc\include\codeanalysis\sourceannotations.h(112) : warning C4820: 'vc_attributes::Post' : '4' bytes padding added after data member 'vc_attributes::Post::Access' c:\users\me\appdata\local\programs\common\microsoft\visual c++ for python\9.0\vc\include\codeanalysis\sourceannotations.h(191) : warning C4820: 'vc_attributes::PreRange' : '4' bytes padding added after data member 'vc_attributes::PreRange::Deref' c:\users\me\appdata\local\programs\common\microsoft\visual c++ for python\9.0\vc\include\codeanalysis\sourceannotations.h(203) : warning C4820: 'vc_attributes::PostRange' : '4' bytes padding added after data member 'vc_attributes::PostRange::Deref' boolexpr\third_party\glucosamine\src\core/Solver.h(57) : fatal error C1083: Cannot open include file: 'cstdint': No such file or directory error: command 'C:\\Users\\Me\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\amd64\\cl.exe' failed with exit status 2 ---------------------------------------- Failed building wheel for boolexpr Running setup.py clean for boolexpr Failed to build boolexpr Installing collected packages: boolexpr Running setup.py install for boolexpr ... error Complete output from command c:\users\me\anaconda2\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\me\\appdata\\local\\temp\\pip-install-cfs8jo\\boolexpr\\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\me\appdata\local\temp\pip-record-udcft4\install-record.txt --single-version-externally-managed --compile: running install running build running build_py creating build creating build\lib.win-amd64-2.7 creating build\lib.win-amd64-2.7\boolexpr copying boolexpr\misc.py -> build\lib.win-amd64-2.7\boolexpr copying boolexpr\util.py -> build\lib.win-amd64-2.7\boolexpr copying boolexpr\wrap.py -> build\lib.win-amd64-2.7\boolexpr copying boolexpr\__init__.py -> build\lib.win-amd64-2.7\boolexpr running build_ext building 'boolexpr._boolexpr' extension creating build\temp.win-amd64-2.7 creating build\temp.win-amd64-2.7\Release creating build\temp.win-amd64-2.7\Release\boolexpr creating build\temp.win-amd64-2.7\Release\boolexpr\third_party creating build\temp.win-amd64-2.7\Release\boolexpr\third_party\glucosamine creating build\temp.win-amd64-2.7\Release\boolexpr\third_party\glucosamine\src creating build\temp.win-amd64-2.7\Release\boolexpr\third_party\glucosamine\src\core creating build\temp.win-amd64-2.7\Release\boolexpr\src C:\Users\Me\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DNDEBUG -Iboolexpr\include -Iboolexpr\third_party\glucosamine\src -Iboolexpr\third_party\boost-1.54.0 -Ic:\users\me\anaconda2\include -Ic:\users\me\anaconda2\PC /Tpboolexpr\third_party\glucosamine\src\core\Solver.cc /Fobuild\temp.win-amd64-2.7\Release\boolexpr\third_party\glucosamine\src\core\Solver.obj /std:c++11 /Wall cl : Command line warning D9002 : ignoring unknown option '/std:c++11' Solver.cc c:\users\me\appdata\local\programs\common\microsoft\visual c++ for python\9.0\vc\include\codeanalysis\sourceannotations.h(81) : warning C4820: 'vc_attributes::Pre' : '4' bytes padding added after data member 'vc_attributes::Pre::Access' c:\users\me\appdata\local\programs\common\microsoft\visual c++ for python\9.0\vc\include\codeanalysis\sourceannotations.h(96) : warning C4820: 'vc_attributes::Pre' : '4' bytes padding added after data member 'vc_attributes::Pre::NullTerminated' c:\users\me\appdata\local\programs\common\microsoft\visual c++ for python\9.0\vc\include\codeanalysis\sourceannotations.h(112) : warning C4820: 'vc_attributes::Post' : '4' bytes padding added after data member 'vc_attributes::Post::Access' c:\users\me\appdata\local\programs\common\microsoft\visual c++ for python\9.0\vc\include\codeanalysis\sourceannotations.h(191) : warning C4820: 'vc_attributes::PreRange' : '4' bytes padding added after data member 'vc_attributes::PreRange::Deref' c:\users\me\appdata\local\programs\common\microsoft\visual c++ for python\9.0\vc\include\codeanalysis\sourceannotations.h(203) : warning C4820: 'vc_attributes::PostRange' : '4' bytes padding added after data member 'vc_attributes::PostRange::Deref' boolexpr\third_party\glucosamine\src\core/Solver.h(57) : fatal error C1083: Cannot open include file: 'cstdint': No such file or directory error: command 'C:\\Users\\Me\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\amd64\\cl.exe' failed with exit status 2 ---------------------------------------- Command "c:\users\me\anaconda2\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\me\\appdata\\local\\temp\\pip-install-cfs8jo\\boolexpr\\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\me\appdata\local\temp\pip-record-udcft4\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in c:\users\me\appdata\local\temp\pip-install-cfs8jo\boolexpr\
Please help me or show me where to ask like these questions
Error:
fatal error C1083: Cannot open include file: 'cstdint': No such file or directory
I dont have windows machine to reproduce the issue. However it fails to find the cstdint lib. Do you have the right dependencies library installed?
(Mar-10-2019, 11:10 PM)hshivaraj Wrote: [ -> ]I dont have windows machine to reproduce the issue. However it fails to find the cstdint lib. Do you have the right dependencies library installed?

What are right dependencies and their library? And what is the name of it so I can install it and try again?