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
I have problems installing CRPropa on my system System Information: (Please fill out the following information)
Operating system: Linux Mint 20 Cinnamon
Laptop
Python version: 3.7.6 (default, Jan 8 2020, 19:59:22), Anaconda
NumPy version: 1.21.6
Swig version: 4.0.1
Cmake version: 3.16.3
Did you install CRPropa from git or download a release?
I installed version 3.2.1-77-g3498d825 from git cloning.
Things that I tried before asking for help:
I read and followed the installation instructions at https://crpropa.github.io/CRPropa3/ . Before writing this request I have installed previous version of CRPropa 3.2.1-no-git without problems. Today I receive the following output:
Could NOTfind Python (missing: Python_LIBRARIES Python_INCLUDE_DIRS
Python_NumPy_INCLUDE_DIRS Development NumPy) (found suitable version"3.9.5", minimum required is "3.0")
Call Stack (most recent call first):
/usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.16/Modules/FindPython/Support.cmake:2214 (find_package_handle_standard_args)
/usr/share/cmake-3.16/Modules/FindPython.cmake:304 (include)
CMakeLists.txt:448 (find_package)
But I have Python+NumPy and successfully installed previous version.
Previous version o CMakeLists.txt used lines:
find_package(PythonLibs)
New version uses line: find_package(Python 3.0 REQUIRED COMPONENTS Interpreter Development NumPy)
I tried putting -DCMAKE_PREFIX_PATH=$CONDA_PREFIX -DPYTHON_EXECUTABLE=$(which python) -DCMAKE_PREFIX_PATH=$CONDA_PREFIX after cmake command but there is no effect.
Cmake found python at /usr/bin/python3.9, but I always use Anaconda. How to fix it?
The text was updated successfully, but these errors were encountered:
Dear developers,
I have problems installing CRPropa on my system
System Information: (Please fill out the following information)
Did you install CRPropa from git or download a release?
I installed version 3.2.1-77-g3498d825 from git cloning.
Things that I tried before asking for help:
I read and followed the installation instructions at https://crpropa.github.io/CRPropa3/ . Before writing this request I have installed previous version of CRPropa 3.2.1-no-git without problems. Today I receive the following output:
But I have Python+NumPy and successfully installed previous version.
Previous version o CMakeLists.txt used lines:
New version uses line:
find_package(Python 3.0 REQUIRED COMPONENTS Interpreter Development NumPy)
I tried putting
-DCMAKE_PREFIX_PATH=$CONDA_PREFIX -DPYTHON_EXECUTABLE=$(which python) -DCMAKE_PREFIX_PATH=$CONDA_PREFIX
after cmake command but there is no effect.Cmake found python at /usr/bin/python3.9, but I always use Anaconda. How to fix it?
The text was updated successfully, but these errors were encountered: