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
Dear developers of deepmd-gnn:
I get some trouble when execute export CMAKE_PREFIX_PATH=$(python -c "import torch;print(torch.utils.cmake_prefix_path)") and pip install . Below are callback error:
Call Stack (most recent call first):
/home/feiyu/miniconda3/envs/deepmd/lib/python3.10/site-packages/torch/share/cmake/Caffe2/Caffe2Config.cmake:53 (include)
/home/feiyu/miniconda3/envs/deepmd/lib/python3.10/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:68 (find_package)
CMakeLists.txt:46 (find_package)
CMake Error at /home/feiyu/miniconda3/envs/deepmd/lib/python3.10/site-packages/torch/share/cmake/Caffe2/Caffe2Config.cmake:55 (message):
Your installed Caffe2 version uses protobuf but the protobuf library cannot
be found. Did you accidentally remove it, or have you set the right
CMAKE_PREFIX_PATH? If you do not have protobuf, you will need to install
protobuf and set the library path accordingly.
Call Stack (most recent call first):
/home/feiyu/miniconda3/envs/deepmd/lib/python3.10/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:68 (find_package)
CMakeLists.txt:46 (find_package)
-- Configuring incomplete, errors occurred!*** CMake configuration failed
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for deepmd-gnn
Failed to build deepmd-gnn
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (deepmd-gnn)
deepmd-kit
I install the deepmd-kit from off-line packages.
Your installed Caffe2 version uses protobuf but the protobuf library cannot
be found. Did you accidentally remove it, or have you set the right
CMAKE_PREFIX_PATH?
According to the error message, appending the prefix of protobuf (it should be in CONDA_PREFIX) to CMAKE_PREFIX_PATH may resolve the problem.
Dear developers of deepmd-gnn:
I get some trouble when execute
export CMAKE_PREFIX_PATH=$(python -c "import torch;print(torch.utils.cmake_prefix_path)")
andpip install .
Below are callback error:deepmd-kit
I install the
deepmd-kit
from off-line packages.All packages
Thank you for your assistance!
The text was updated successfully, but these errors were encountered: