We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
python -m juliacall.init
1 parent 4d7eeea commit 21108f3Copy full SHA for 21108f3
pysrc/juliacall/init.py
@@ -0,0 +1,10 @@
1
+import juliacall as _ # calls init() which calls juliapkg.executable() which lazily downloads julia
2
+
3
+import sys
4
+if "--debug" in sys.argv:
5
+ import juliapkg, json
6
+ state = juliapkg.state.STATE
7
+ state["version"] = str(state["version"])
8
+ print(json.dumps(state, indent=2))
9
+else:
10
+ print("Initialized successfully. Pass --debug to see the full JuliaPkg state.")
0 commit comments