andrewssobral / andrewssobral/bgslibrary

i cant install by pip install

オープン
#184 コメント 7 件 リアクション 0 件 担当者 1 名 @andrewssobral が担当を希望しています GitHub で見る
fixed waiting for validation
主要言語
C++
スター
2.3k
フォーク
735
PR マージ指標
30日以内にマージされた PR はありません

説明

im trying to install your lib by PIP but im getting some errors
i instaled all requirements and i have opencv in system path,

```

Microsoft Windows [versão 10.0.18363.959]
(c) 2019 Microsoft Corporation. Todos os direitos reservados.

C:\Users\MasterRoot>pip install pybgs
Collecting pybgs
Downloading pybgs-3.0.0.post2.tar.gz (850 kB)
|████████████████████████████████| 850 kB 3.3 MB/s
Building wheels for collected packages: pybgs
Building wheel for pybgs (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\MasterRoot\\AppData\\Local\\Temp\\pip-install-6b5xsb2g\\pybgs\\setup.py'"'"'; __file__='"'"'C:\\Users\\MasterRoot\\AppData\\Local\\Temp\\pip-install-6b5xsb2g\\pybgs\\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\MasterRoot\AppData\Local\Temp\pip-wheel-mxwnwkf9'
cwd: C:\Users\MasterRoot\AppData\Local\Temp\pip-install-6b5xsb2g\pybgs\
Complete output (47 lines):
running bdist_wheel
running build
running build_ext
Preparing the build environment
Configuring cmake project
C:\Python38-32\Scripts\cmake.exe -HC:\Users\MasterRoot\AppData\Local\Temp\pip-install-6b5xsb2g\pybgs -Bbuild\temp.win32-3.8\Release -DPYTHON_EXECUTABLE=c:\python38-32\python.exe -DBGS_CORE_STATIC=ON -DBGS_PYTHON_SUPPORT=ON -DBGS_PYTHON_ONLY=ON -DBGS_PYTHON_VERSION=3.8
-- Building for: Visual Studio 15 2017
-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.18363.
-- The C compiler identification is MSVC 19.16.27035.0
-- The CXX compiler identification is MSVC 19.16.27035.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/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
--
-- BGS_PYTHON_SUPPORT: ON
-- BGS_PYTHON_ONLY: ON
-- BGS_CORE_STATIC: ON
-- PYTHON VERSION: 3.8
CMake Error at CMakeLists.txt:113 (find_package):
By not providing "FindOpenCV.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "OpenCV", but
CMake did not find one.

Could not find a package configuration file provided by "OpenCV" with any
of the following names:

OpenCVConfig.cmake
opencv-config.cmake

Add the installation prefix of "OpenCV" to CMAKE_PREFIX_PATH or set
"OpenCV_DIR" to a directory containing one of the above files. If "OpenCV"
provides a separate development package or SDK, be sure it has been
installed.

-- Configuring incomplete, errors occurred!
See also "C:/Users/MasterRoot/AppData/Local/Temp/pip-install-6b5xsb2g/pybgs/build/temp.win32-3.8/Release/CMakeFiles/CMakeOutput.log".
error: command 'C:\\Python38-32\\Scripts\\cmake.exe' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for pybgs
Running setup.py clean for pybgs
Failed to build pybgs
Installing collected packages: pybgs
Running setup.py install for pybgs ... error
ERROR: Command errored out with exit status 1:
command: 'c:\python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\MasterRoot\\AppData\\Local\\Temp\\pip-install-6b5xsb2g\\pybgs\\setup.py'"'"'; __file__='"'"'C:\\Users\\MasterRoot\\AppData\\Local\\Temp\\pip-install-6b5xsb2g\\pybgs\\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\MasterRoot\AppData\Local\Temp\pip-record-erp0f12n\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\python38-32\Include\pybgs'
cwd: C:\Users\MasterRoot\AppData\Local\Temp\pip-install-6b5xsb2g\pybgs\
Complete output (47 lines):
running install
running build
running build_ext
Preparing the build environment
Configuring cmake project
C:\Python38-32\Scripts\cmake.exe -HC:\Users\MasterRoot\AppData\Local\Temp\pip-install-6b5xsb2g\pybgs -Bbuild\temp.win32-3.8\Release -DPYTHON_EXECUTABLE=c:\python38-32\python.exe -DBGS_CORE_STATIC=ON -DBGS_PYTHON_SUPPORT=ON -DBGS_PYTHON_ONLY=ON -DBGS_PYTHON_VERSION=3.8
-- Building for: Visual Studio 15 2017
-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.18363.
-- The C compiler identification is MSVC 19.16.27035.0
-- The CXX compiler identification is MSVC 19.16.27035.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/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
--
-- BGS_PYTHON_SUPPORT: ON
-- BGS_PYTHON_ONLY: ON
-- BGS_CORE_STATIC: ON
-- PYTHON VERSION: 3.8
CMake Error at CMakeLists.txt:113 (find_package):
By not providing "FindOpenCV.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "OpenCV", but
CMake did not find one.

Could not find a package configuration file provided by "OpenCV" with any
of the following names:

OpenCVConfig.cmake
opencv-config.cmake

Add the installation prefix of "OpenCV" to CMAKE_PREFIX_PATH or set
"OpenCV_DIR" to a directory containing one of the above files. If "OpenCV"
provides a separate development package or SDK, be sure it has been
installed.

-- Configuring incomplete, errors occurred!
See also "C:/Users/MasterRoot/AppData/Local/Temp/pip-install-6b5xsb2g/pybgs/build/temp.win32-3.8/Release/CMakeFiles/CMakeOutput.log".
error: command 'C:\\Python38-32\\Scripts\\cmake.exe' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\MasterRoot\\AppData\\Local\\Temp\\pip-install-6b5xsb2g\\pybgs\\setup.py'"'"'; __file__='"'"'C:\\Users\\MasterRoot\\AppData\\Local\\Temp\\pip-install-6b5xsb2g\\pybgs\\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\MasterRoot\AppData\Local\Temp\pip-record-erp0f12n\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\python38-32\Include\pybgs' Check the logs for full command output.

C:\Users\MasterRoot>
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。