Python Forum
Please help i get an error when trying to install boolexpr using pip?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Please help i get an error when trying to install boolexpr using pip?
#1
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
Reply
#2
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?
Reply
#3
(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?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Install error middlestudent 1 755 Sep-23-2023, 08:26 AM
Last Post: middlestudent
  wxPython install error carlomscalisi 3 3,620 Jan-17-2023, 11:04 AM
Last Post: snippsat
  Error with pip install coffeeguy 1 2,280 Sep-08-2022, 01:27 AM
Last Post: snippsat
  kmeans install error (please help me) muratuzun 3 5,493 May-06-2022, 02:14 PM
Last Post: snippsat
  Install any library via pip get an error cannot import name 'SCHEME_KEYS' from 'pip. Anldra12 2 10,613 Jan-04-2022, 01:05 PM
Last Post: Anldra12
  Anaconda pip install mpyc Error pip-script.py is not present Anldra12 2 7,815 Dec-13-2021, 06:59 PM
Last Post: Anldra12
  Minecraft Python install error SomeAcandKid 1 2,343 Oct-06-2021, 06:22 PM
Last Post: Ronhamas
  Installed pip install openpyxl, Requirement already satisfied, but, still have error jonah88888 3 6,621 Sep-24-2021, 02:11 AM
Last Post: jonah88888
  error trying to install sslstrip NullAdmin 1 4,039 Mar-11-2021, 09:37 PM
Last Post: buran
  python setup.py install error blackclover 2 7,914 Jan-07-2021, 04:36 AM
Last Post: blackclover

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020