conda create -n deformetrica python=3.7 && source activate deformetrica
conda install -c pytorch -c conda-forge -c anaconda -c aramislab deformetricaCollecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: |
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:
Specifications:
- deformetrica -> python[version='2.7.*|3.5.*|3.6.*|>=2.7,<2.8.0a0|>=3.8,<3.9.0a0']
Your python: python=3.7
If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.
conda install -c pytorch -c conda-forge -c anaconda -c aramislab/label/rc deformetrica
It will fine. Try to deterministic atlas example first with Torch instead of keops. Mine is working ok now.. no more errors.
git clone https://gitlab.com/icm-institute/aramislab/deformetrica.gitcd deformetricaconda create -n deformetrica python=3.7 && source activate deformetrica pip install -r requirements.txt
pip install .
--Mauricio
#error This file requires compiler and library support for the \
^
CMake Error at keopslibKeOpstorch8412e59d0c_generated_link_autodiff.cu.o.Release.cmake:219 (message):
Error generating
...
ModuleNotFoundError: No module named 'libKeOpstorch8412e59d0c'
Originally it was unhappy because it wanted me to install cmake, which I did (via conda) but then this error came up. Any help greatly appreciated!
Python 3 with packages numpy and GPUtil.
A C++ compiler compatible with std=c++14: g++ version >=7 or clang++ version >=8.
The Cmake build system, version >= 3.10.
The Cuda toolkit, including the nvcc compiler (optional): version >=10.0 is recommended. Make sure that your C++ compiler is compatible with the installed nvcc.
PyTorch (optional): version >= 1.1.0.
conda activate deformetrica): import pykeops pykeops.verbose = True pykeops.build_type = 'Debug' pykeops.clean_pykeops() pykeops.test_torch_bindings()
export CUDA_HOME=/usr/local/cuda
export PATH=${CUDA_HOME}/bin:${PATH}
export LD_LIBRARY_PATH=${CUDA_HOME}/lib64:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/name/miniconda3/lib/
module add cuda
Thanks again for your help
Esther