blob: 66a67bd0c2b312d9c4ce8d53a535509c2338cf33 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
diff --git a/tools/Jupyter/kernel/clingkernel.py b/tools/Jupyter/kernel/clingkernel.py
index befb193..a1c796c 100644
--- a/tools/Jupyter/kernel/clingkernel.py
+++ b/tools/Jupyter/kernel/clingkernel.py
@@ -67,11 +67,12 @@ class ClingKernel(Kernel):
def __init__(self, **kwargs):
super(ClingKernel, self).__init__(**kwargs)
- try:
- whichCling = shutil.which('cling')
- except AttributeError:
- from distutils.spawn import find_executable
- whichCling = find_executable('cling')
+ #try:
+ # whichCling = shutil.which('cling')
+ #except AttributeError:
+ # from distutils.spawn import find_executable
+ # whichCling = find_executable('cling')
+ whichCling = "/opt/cling/bin/cling"
if whichCling:
clingInstDir = os.path.dirname(os.path.dirname(whichCling))
llvmResourceDir = clingInstDir
|