Skip to content

Commit f239500

Browse files
authored
Update README.md
Added a workaround if no mathematica instalatione exists.
1 parent 2905b87 commit f239500

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,17 @@ After creating the file `deps.jl` try loading MathLink the usual way
188188
```julia
189189
(@v1.X) pkg> using MathLink
190190
```
191+
If you do not have a Mathematica installation at all, the above trick still works, but then you must leave the path blank
192+
```julia
193+
const mlib = ""
194+
const mker = "WolframKernel"
195+
```
196+
Loading `MathLink` then proclaims
197+
```julia
198+
julia> using MathLink
199+
[ Info: Precompiling MathLink [18c93696-a329-5786-9845-8443133fa0b4]
200+
[ Info: Pretending fake installation works
201+
```julia
191202
192203
193204
## Notes

0 commit comments

Comments
 (0)