File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 2
2
3
3
1 . How to resolve when pip install fails?
4
4
5
- See [ installation] ( https://cachemon.github.io/libCacheSim-python/getting_started/installation/ ) .
5
+ See [ installation] ( https://cachemon.github.io/libCacheSim-python/getting_started/installation/ ) .
6
+
7
+ 2 . Get an error message like "cannot find Python package" when building.
8
+
9
+ The reason is that when building a Python binding package, we need the header and other necessary modules.
10
+
11
+ If you can install software directly,
12
+
13
+ ``` shell
14
+ [sudo] apt install python3-dev
15
+ ```
16
+ If not, please install Python somewhere and set environment variables to help the building system find them.
17
+
18
+ ` ` ` shell
19
+ export CMAKE_ARGS=" -DPython3_ROOT_DIR=${Python3_ROOT_DIR} -DPython3_INCLUDE_DIR=${Python3_INCLUDE_DIR} -DPython3_EXECUTABLE=${Python3_EXECUTABLE} "
20
+ ` ` `
You can’t perform that action at this time.
0 commit comments