Show More
@@ -37,14 +37,14 b" if os.name == 'nt':" | |||
|
37 | 37 | SYSTEM_NBEXTENSIONS_DIRS = [pjoin(programdata, 'jupyter', 'nbextensions')] |
|
38 | 38 | prefixes = [] |
|
39 | 39 | else: |
|
40 |
prefixes = [' |
|
|
40 | prefixes = [os.path.sep + pjoin('usr', 'local'), os.path.sep + 'usr'] | |
|
41 | 41 | |
|
42 | 42 | # add sys.prefix at the front |
|
43 | 43 | if sys.prefix not in prefixes: |
|
44 | 44 | prefixes.insert(0, sys.prefix) |
|
45 | 45 | |
|
46 | 46 | for prefix in prefixes: |
|
47 |
nbext = |
|
|
47 | nbext = pjoin(prefix, 'share', 'jupyter', 'nbextensions') | |
|
48 | 48 | if nbext not in SYSTEM_NBEXTENSIONS_DIRS: |
|
49 | 49 | SYSTEM_NBEXTENSIONS_DIRS.append(nbext) |
|
50 | 50 |
General Comments 0
You need to be logged in to leave comments.
Login now