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
Copy file name to clipboardExpand all lines: docs/src/faq.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,9 @@ Some rules if you are writing multithreaded code:
9
9
- You probably also need to call `PythonCall.GC.disable()` on the main thread before any
10
10
threaded block of code. Remember to call `PythonCall.GC.enable()` again afterwards.
11
11
(This is because Julia finalizers can be called from any thread.)
12
-
- You may still encounter problems (see [#201](https://github.com/cjdoris/PythonCall.jl/issues/201), [#202](https://github.com/cjdoris/PythonCall.jl/issues/202)).
12
+
- You may still encounter problems.
13
+
14
+
Related issues: [#201](https://github.com/cjdoris/PythonCall.jl/issues/201), [#202](https://github.com/cjdoris/PythonCall.jl/issues/202))
13
15
14
16
## Does it work on Apple silicon (ARM, M1, M2, ...)?
15
17
@@ -22,7 +24,7 @@ Currently, Apple silicon is Tier 2, so is not supported.
22
24
Due to time constraints, issues affecting only unsupported platforms will not be
23
25
investigated. It is much more likely to be an issue with Julia itself than PythonCall.
24
26
25
-
## Heap corruption when using PyTorch ([#215](https://github.com/cjdoris/PythonCall.jl/issues/215))
27
+
## Heap corruption when using PyTorch
26
28
27
29
On some systems, you may see an error like the following when using `torch` and `juliacall`:
28
30
```text
@@ -34,7 +36,9 @@ Python(65251,0x104cf8580) malloc: *** set a breakpoint in malloc_error_break to
34
36
35
37
A solution is to ensure that `juliacall` is imported before `torch`.
36
38
37
-
## `ccall requries the compiler` error when importing some Python libraries ([#255](https://github.com/cjdoris/PythonCall.jl/issues/255))
39
+
Related issues: ([#215](https://github.com/cjdoris/PythonCall.jl/issues/215))
40
+
41
+
## `ccall requries the compiler` error when importing some Python libraries
38
42
On some systems, you may see an error like the following when import e.g. `matplotlib` before `juliacall`:
39
43
40
44
```
@@ -57,3 +61,5 @@ The solution is to either:
57
61
* use a Linux distribution with a more recent `libstdc++`
58
62
* import `juliacall` before the other Python library, so that Julia's `libstdc++` is loaded
59
63
* use a Python from a conda environment, which will have a newer `libstdc++` that is compatible with Julia's
64
+
65
+
Related issues: ([#255](https://github.com/cjdoris/PythonCall.jl/issues/255))
0 commit comments