Skip to content

Commit d4a6f21

Browse files
author
Christopher Doris
committed
reformat faq
1 parent b026e5e commit d4a6f21

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

docs/src/faq.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ Some rules if you are writing multithreaded code:
99
- You probably also need to call `PythonCall.GC.disable()` on the main thread before any
1010
threaded block of code. Remember to call `PythonCall.GC.enable()` again afterwards.
1111
(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))
1315

1416
## Does it work on Apple silicon (ARM, M1, M2, ...)?
1517

@@ -22,7 +24,7 @@ Currently, Apple silicon is Tier 2, so is not supported.
2224
Due to time constraints, issues affecting only unsupported platforms will not be
2325
investigated. It is much more likely to be an issue with Julia itself than PythonCall.
2426

25-
## Heap corruption when using PyTorch ([#215](https://github.com/cjdoris/PythonCall.jl/issues/215))
27+
## Heap corruption when using PyTorch
2628

2729
On some systems, you may see an error like the following when using `torch` and `juliacall`:
2830
```text
@@ -34,7 +36,9 @@ Python(65251,0x104cf8580) malloc: *** set a breakpoint in malloc_error_break to
3436

3537
A solution is to ensure that `juliacall` is imported before `torch`.
3638

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
3842
On some systems, you may see an error like the following when import e.g. `matplotlib` before `juliacall`:
3943

4044
```
@@ -57,3 +61,5 @@ The solution is to either:
5761
* use a Linux distribution with a more recent `libstdc++`
5862
* import `juliacall` before the other Python library, so that Julia's `libstdc++` is loaded
5963
* 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

Comments
 (0)