Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find SIP #70

Open
Destibey opened this issue Apr 11, 2018 · 1 comment · Fixed by #134
Open

Could not find SIP #70

Destibey opened this issue Apr 11, 2018 · 1 comment · Fixed by #134
Labels

Comments

@Destibey
Copy link

Destibey commented Apr 11, 2018

Platform: win10
version: sip 4.19.8 for python 3.6.5
I have already installed sip via "python -m pip install sip". And I can find sip.pyd at "C:\Users\CZB\AppData\Local\Programs\Python\Python36\Lib\site-packages" and a folder "C:\Users\CZB\AppData\Local\Programs\Python\Python36\Lib\site-packages\sip-4.19.8.dist-info".
Whether I add these to PATH or not, I get the same error:
######################
D:\WORK\CURA\Compile Document\Source File\libArcus-2\build>cmake ..
-- Building for: Visual Studio 15 2017
-- The C compiler identification is MSVC 19.13.26129.0
-- The CXX compiler identification is MSVC 19.13.26129.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Protobuf: D:/WORK/CURA/Compile Document/Path/to/install/lib/libprotobuf.lib (found suitable version "3.5.1", minimum required is "3.0.0")
-- Found PythonInterp: C:/Users/CZB/AppData/Local/Programs/Python/Python36/python.exe (found suitable version "3.6.5", minimum required is "3.4.0")
-- Found PythonLibs: C:/Users/CZB/AppData/Local/Programs/Python/Python36/libs/python36.lib (found suitable version "3.6.5", minimum required is "3.4.0")
CMake Error at cmake/FindSIP.cmake:64 (MESSAGE):
Could not find SIP
Call Stack (most recent call first):
CMakeLists.txt:23 (find_package)

-- Configuring incomplete, errors occurred!
See also "D:/WORK/CURA/Compile Document/Source File/libArcus-2/build/CMakeFiles/CMakeOutput.log".
#################################
How can I solve the problem? sincerely for help

@Ghostkeeper
Copy link
Contributor

If you open a Python terminal (your version 3.6.5) and type this code, what does it say?

>>> import sipconfig
>>> sipconfig.Configuration().sip_version_str

For me it responds with 4.18.1 then.

@jellespijker jellespijker linked a pull request Apr 12, 2022 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants