File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -211,3 +211,24 @@ If you are using Intel CPU, add this dependency.
211
211
| 1.x.x| 1.18.2-1.5.3| 2020.1-1.5.3| 3.7.7|
212
212
| 1.x.x| 1.19.1-1.5.4| 2020.3-1.5.4| 3.7.9|
213
213
| 1.x.x| 1.20.1-1.5.5| 2021.1-1.5.5| 3.9.2|
214
+
215
+ ## Linux problem
216
+
217
+ Because javacpp-presets/cpython has not been built correctly on Linux, you have to rebuild it.
218
+ You can do it by this if you are using Ubuntu 20.04.
219
+ See also https://devguide.python.org/setup/#linux for other Linux distributions.
220
+ Change ``` 1.5.5 ``` to your JavaCPP version.
221
+ javacpp-presets/cpython forgets to do ``` apt-get build-dep python3.8 ``` .
222
+
223
+ ``` bash
224
+ echo ' deb-src http://archive.ubuntu.com/ubuntu/ focal main' | sudo tee -a /etc/apt/sources.list
225
+ sudo apt update
226
+ sudo apt-get build-dep python3.8
227
+ sudo apt install maven openjdk-11-jdk
228
+
229
+ git clone https://github.com/bytedeco/javacpp-presets.git
230
+ cd javacpp-presets
231
+ git checkout -b 1.5.5 refs/tags/1.5.5
232
+ cd cpython
233
+ mvn install
234
+ ```
You can’t perform that action at this time.
0 commit comments