You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would you please give some guides on how to install the "miniscope" Python module with CMake? I uses a Windows system.
Small example on how to use the Miniscope library from Python
In order to make this example work, first install the "miniscope" Python
module with CMake.
Alternatively you can also place the compiled "miniscope" module into a
path you like and then change PYTHONPATH (sys.path) so Python can find it.
This is the error I got:
"
(miniscope) C:\D\miniscope v4\pomidaq-master\pomidaq-master\py\build>cmake ..
-- Building for: Visual Studio 17 2022
CMake Warning (dev) in CMakeLists.txt:
No project() command is present. The top-level CMakeLists.txt file must
contain a literal, direct call to the project() command. Add a line of
code such as
project(ProjectName)
near the top of the file, but after cmake_minimum_required().
CMake is pretending there is a "project(Project)" command on the first
line.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in CMakeLists.txt:
cmake_minimum_required() should be called prior to this top-level project()
call. Please see the cmake-commands(7) manual for usage documentation of
both commands.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.19045.
-- The C compiler identification is MSVC 19.35.32216.1
-- The CXX compiler identification is MSVC 19.35.32216.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/D/VS 2022/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/D/VS 2022/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning (dev) at C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Common.cmake:102 (if):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Quoted variables like "MSVC" will no longer be dereferenced when the policy
is set to NEW. Since the policy is not set the OLD behavior will be used.
Call Stack (most recent call first):
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Config.cmake:250 (include)
CMakeLists.txt:3 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/FindPythonLibsNew.cmake:101 (message):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run "cmake --help-policy CMP0148" for policy details. Use
the cmake_policy command to set the policy and suppress this warning, or
preferably upgrade to using FindPython, either by calling it explicitly
before pybind11, or by setting PYBIND11_FINDPYTHON ON before pybind11.
Call Stack (most recent call first):
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Tools.cmake:50 (find_package)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Common.cmake:192 (include)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Config.cmake:250 (include)
CMakeLists.txt:3 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PythonInterp: C:/D/anaconda/envs/miniscope/python.exe (found suitable version "3.8", minimum required is "3.6")
CMake Warning (dev) at C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/FindPythonLibsNew.cmake:177 (list):
Policy CMP0007 is not set: list command no longer ignores empty elements.
Run "cmake --help-policy CMP0007" for policy details. Use the cmake_policy
command to set the policy and suppress this warning. List has value =
[3.8.0.final.0;C:/D/anaconda/envs/miniscope;C:/D/anaconda/envs/miniscope/include;C:/D/anaconda/envs/miniscope/Lib/site-packages;.cp38-win_amd64.pyd;0;8;38;;;].
Call Stack (most recent call first):
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/FindPythonLibsNew.cmake:187 (_pybind11_get_if_undef)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Tools.cmake:50 (find_package)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Common.cmake:192 (include)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Config.cmake:250 (include)
CMakeLists.txt:3 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/FindPythonLibsNew.cmake:177 (list):
Policy CMP0007 is not set: list command no longer ignores empty elements.
Run "cmake --help-policy CMP0007" for policy details. Use the cmake_policy
command to set the policy and suppress this warning. List has value =
[3.8.0.final.0;C:/D/anaconda/envs/miniscope;C:/D/anaconda/envs/miniscope/include;C:/D/anaconda/envs/miniscope/Lib/site-packages;.cp38-win_amd64.pyd;0;8;38;;;].
Call Stack (most recent call first):
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/FindPythonLibsNew.cmake:188 (_pybind11_get_if_undef)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Tools.cmake:50 (find_package)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Common.cmake:192 (include)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Config.cmake:250 (include)
CMakeLists.txt:3 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/FindPythonLibsNew.cmake:177 (list):
Policy CMP0007 is not set: list command no longer ignores empty elements.
Run "cmake --help-policy CMP0007" for policy details. Use the cmake_policy
command to set the policy and suppress this warning. List has value =
[3.8.0.final.0;C:/D/anaconda/envs/miniscope;C:/D/anaconda/envs/miniscope/include;C:/D/anaconda/envs/miniscope/Lib/site-packages;.cp38-win_amd64.pyd;0;8;38;;;].
Call Stack (most recent call first):
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/FindPythonLibsNew.cmake:189 (_pybind11_get_if_undef)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Tools.cmake:50 (find_package)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Common.cmake:192 (include)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Config.cmake:250 (include)
CMakeLists.txt:3 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/FindPythonLibsNew.cmake:177 (list):
Policy CMP0007 is not set: list command no longer ignores empty elements.
Run "cmake --help-policy CMP0007" for policy details. Use the cmake_policy
command to set the policy and suppress this warning. List has value =
[3.8.0.final.0;C:/D/anaconda/envs/miniscope;C:/D/anaconda/envs/miniscope/include;C:/D/anaconda/envs/miniscope/Lib/site-packages;.cp38-win_amd64.pyd;0;8;38;;;].
Call Stack (most recent call first):
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/FindPythonLibsNew.cmake:190 (_pybind11_get_if_undef)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Tools.cmake:50 (find_package)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Common.cmake:192 (include)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Config.cmake:250 (include)
CMakeLists.txt:3 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/FindPythonLibsNew.cmake:177 (list):
Policy CMP0007 is not set: list command no longer ignores empty elements.
Run "cmake --help-policy CMP0007" for policy details. Use the cmake_policy
command to set the policy and suppress this warning. List has value =
[3.8.0.final.0;C:/D/anaconda/envs/miniscope;C:/D/anaconda/envs/miniscope/include;C:/D/anaconda/envs/miniscope/Lib/site-packages;.cp38-win_amd64.pyd;0;8;38;;;].
Call Stack (most recent call first):
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/FindPythonLibsNew.cmake:191 (_pybind11_get_if_undef)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Tools.cmake:50 (find_package)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Common.cmake:192 (include)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Config.cmake:250 (include)
CMakeLists.txt:3 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/FindPythonLibsNew.cmake:177 (list):
Policy CMP0007 is not set: list command no longer ignores empty elements.
Run "cmake --help-policy CMP0007" for policy details. Use the cmake_policy
command to set the policy and suppress this warning. List has value =
[3.8.0.final.0;C:/D/anaconda/envs/miniscope;C:/D/anaconda/envs/miniscope/include;C:/D/anaconda/envs/miniscope/Lib/site-packages;.cp38-win_amd64.pyd;0;8;38;;;].
Call Stack (most recent call first):
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/FindPythonLibsNew.cmake:192 (_pybind11_get_if_undef)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Tools.cmake:50 (find_package)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Common.cmake:192 (include)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Config.cmake:250 (include)
CMakeLists.txt:3 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/FindPythonLibsNew.cmake:177 (list):
Policy CMP0007 is not set: list command no longer ignores empty elements.
Run "cmake --help-policy CMP0007" for policy details. Use the cmake_policy
command to set the policy and suppress this warning. List has value =
[3.8.0.final.0;C:/D/anaconda/envs/miniscope;C:/D/anaconda/envs/miniscope/include;C:/D/anaconda/envs/miniscope/Lib/site-packages;.cp38-win_amd64.pyd;0;8;38;;;].
Call Stack (most recent call first):
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/FindPythonLibsNew.cmake:193 (_pybind11_get_if_undef)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Tools.cmake:50 (find_package)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Common.cmake:192 (include)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Config.cmake:250 (include)
CMakeLists.txt:3 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/FindPythonLibsNew.cmake:177 (list):
Policy CMP0007 is not set: list command no longer ignores empty elements.
Run "cmake --help-policy CMP0007" for policy details. Use the cmake_policy
command to set the policy and suppress this warning. List has value =
[3.8.0.final.0;C:/D/anaconda/envs/miniscope;C:/D/anaconda/envs/miniscope/include;C:/D/anaconda/envs/miniscope/Lib/site-packages;.cp38-win_amd64.pyd;0;8;38;;;].
Call Stack (most recent call first):
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/FindPythonLibsNew.cmake:194 (_pybind11_get_if_undef)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Tools.cmake:50 (find_package)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Common.cmake:192 (include)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Config.cmake:250 (include)
CMakeLists.txt:3 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/FindPythonLibsNew.cmake:177 (list):
list index: 8 out of range (-8, 7)
Call Stack (most recent call first):
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/FindPythonLibsNew.cmake:194 (_pybind11_get_if_undef)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Tools.cmake:50 (find_package)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Common.cmake:192 (include)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Config.cmake:250 (include)
CMakeLists.txt:3 (find_package)
CMake Warning (dev) at C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/FindPythonLibsNew.cmake:177 (list):
Policy CMP0007 is not set: list command no longer ignores empty elements.
Run "cmake --help-policy CMP0007" for policy details. Use the cmake_policy
command to set the policy and suppress this warning. List has value =
[3.8.0.final.0;C:/D/anaconda/envs/miniscope;C:/D/anaconda/envs/miniscope/include;C:/D/anaconda/envs/miniscope/Lib/site-packages;.cp38-win_amd64.pyd;0;8;38;;;].
Call Stack (most recent call first):
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/FindPythonLibsNew.cmake:195 (_pybind11_get_if_undef)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Tools.cmake:50 (find_package)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Common.cmake:192 (include)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Config.cmake:250 (include)
CMakeLists.txt:3 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/FindPythonLibsNew.cmake:177 (list):
list index: 9 out of range (-8, 7)
Call Stack (most recent call first):
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/FindPythonLibsNew.cmake:195 (_pybind11_get_if_undef)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Tools.cmake:50 (find_package)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Common.cmake:192 (include)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Config.cmake:250 (include)
CMakeLists.txt:3 (find_package)
CMake Warning (dev) at C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/FindPythonLibsNew.cmake:197 (list):
Policy CMP0007 is not set: list command no longer ignores empty elements.
Run "cmake --help-policy CMP0007" for policy details. Use the cmake_policy
command to set the policy and suppress this warning. List has value =
[3.8.0.final.0;C:/D/anaconda/envs/miniscope;C:/D/anaconda/envs/miniscope/include;C:/D/anaconda/envs/miniscope/Lib/site-packages;.cp38-win_amd64.pyd;0;8;38;;;].
Call Stack (most recent call first):
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Tools.cmake:50 (find_package)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Common.cmake:192 (include)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Config.cmake:250 (include)
CMakeLists.txt:3 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PythonLibs: C:/D/anaconda/envs/miniscope/libs/python38.lib
CMake Warning (dev) in C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/FindPythonLibsNew.cmake:
Policy CMP0011 is not set: Included scripts do automatic cmake_policy PUSH
and POP. Run "cmake --help-policy CMP0011" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
The included script
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/FindPythonLibsNew.cmake
affects policy settings. CMake is implying the NO_POLICY_SCOPE option for
compatibility, so the effects are applied to the including context.
Call Stack (most recent call first):
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Tools.cmake:50 (find_package)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Common.cmake:192 (include)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Config.cmake:250 (include)
CMakeLists.txt:3 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Tools.cmake:
Policy CMP0011 is not set: Included scripts do automatic cmake_policy PUSH
and POP. Run "cmake --help-policy CMP0011" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
The included script
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Tools.cmake
affects policy settings. CMake is implying the NO_POLICY_SCOPE option for
compatibility, so the effects are applied to the including context.
Call Stack (most recent call first):
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Common.cmake:192 (include)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Config.cmake:250 (include)
CMakeLists.txt:3 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Performing Test HAS_MSVC_GL_LTCG
-- Performing Test HAS_MSVC_GL_LTCG - Success
CMake Warning (dev) in C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Common.cmake:
Policy CMP0011 is not set: Included scripts do automatic cmake_policy PUSH
and POP. Run "cmake --help-policy CMP0011" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
The included script
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Common.cmake
affects policy settings. CMake is implying the NO_POLICY_SCOPE option for
compatibility, so the effects are applied to the including context.
Call Stack (most recent call first):
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Config.cmake:250 (include)
CMakeLists.txt:3 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found pybind11: C:/D/anaconda/envs/miniscope/Library/include (found version "2.12.0")
CMake Warning (dev) in C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Config.cmake:
Policy CMP0011 is not set: Included scripts do automatic cmake_policy PUSH
and POP. Run "cmake --help-policy CMP0011" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
The included script
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Config.cmake
affects policy settings. CMake is implying the NO_POLICY_SCOPE option for
compatibility, so the effects are applied to the including context.
Call Stack (most recent call first):
CMakeLists.txt:3 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at CMakeLists.txt:4 (find_package):
By not providing "FindNumPy.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "NumPy", but
CMake did not find one.
Could not find a package configuration file provided by "NumPy" with any of
the following names:
NumPyConfig.cmake
numpy-config.cmake
Add the installation prefix of "NumPy" to CMAKE_PREFIX_PATH or set
"NumPy_DIR" to a directory containing one of the above files. If "NumPy"
provides a separate development package or SDK, be sure it has been
installed.
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 3.30)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring incomplete, errors occurred!
"
Using cmake gui, this is my setup
Get the error
Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.22631.
The C compiler identification is MSVC 19.41.34120.0
The CXX compiler identification is MSVC 19.41.34120.0
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/cl.exe - skipped
Detecting C compile features
Detecting C compile features - done
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/cl.exe - skipped
Detecting CXX compile features
Detecting CXX compile features - done
CMake Error at C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/FindPythonLibsNew.cmake:177 (list):
list index: 8 out of range (-8, 7)
Call Stack (most recent call first):
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/FindPythonLibsNew.cmake:194 (_pybind11_get_if_undef)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Tools.cmake:50 (find_package)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Common.cmake:192 (include)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Config.cmake:250 (include)
CMakeLists.txt:3 (find_package)
CMake Error at C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/FindPythonLibsNew.cmake:177 (list):
list index: 9 out of range (-8, 7)
Call Stack (most recent call first):
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/FindPythonLibsNew.cmake:195 (_pybind11_get_if_undef)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Tools.cmake:50 (find_package)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Common.cmake:192 (include)
C:/D/anaconda/envs/miniscope/Library/share/cmake/pybind11/pybind11Config.cmake:250 (include)
CMakeLists.txt:3 (find_package)
Found pybind11: C:/D/anaconda/envs/miniscope/Library/include (found version "2.12.0")
CMake Error at CMakeLists.txt:4 (find_package):
By not providing "FindNumPy.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "NumPy", but
CMake did not find one.
Could not find a package configuration file provided by "NumPy" with any of
the following names:
NumPyConfig.cmake
numpy-config.cmake
Add the installation prefix of "NumPy" to CMAKE_PREFIX_PATH or set
"NumPy_DIR" to a directory containing one of the above files. If "NumPy"
provides a separate development package or SDK, be sure it has been
installed.
Configuring incomplete, errors occurred!
Thanks,
Dechuan
The text was updated successfully, but these errors were encountered:
Hi! Sorry for the long delay! Can you try with the current PoMiDAQ version?
From the logs, it appears like all you would need is to install Numpy and be in an environment where Numpy is available - I have to admit, I never tried to compile the Python support on Windows. Depending on how you use Python on Windows, using the facilities that Anaconda provides for building code may be useful (if you are using conda).
I can also have a look at a later time - there is no reason that this shouldn't work on Windows, it just hasn't been tested very well yet.
Hi Ximion,
Would you please give some guides on how to install the "miniscope" Python module with CMake? I uses a Windows system.
This is the error I got:
Using cmake gui, this is my setup

Get the error
Thanks,
Dechuan
The text was updated successfully, but these errors were encountered: