Hi, I keep getting error 13, permission denied when trying to import alphien. What can I do?
Hello E0396332, welcome to Alphien!
Importing your Alphien sub-packages into the alphien namespace…
from alphien.data import *
from alphien.tutorial import *
Importing your Qlib functions… from team:
import alphien.triple_crossover # Fellow-Singaporeans
import alphien.volatility_momentum # Fellow-Singaporeans
PermissionError Traceback (most recent call last)
in
----> 1 import alphien
/mnt/public/IT/Libs/Python/alphien/init.py in
140 moduleFile = “”
141 moduleCode = “”
→ 142 for modulePath in path.rglob("*.py"):
143 if “.ipynb_checkpoints” not in str(modulePath):
144 # The module is not a checkpoints file
/opt/conda/lib/python3.6/pathlib.py in rglob(self, pattern)
1110 raise NotImplementedError(“Non-relative patterns are unsupported”)
1111 selector = _make_selector(("**",) + tuple(pattern_parts))
→ 1112 for p in selector.select_from(self):
1113 yield p
1114
/opt/conda/lib/python3.6/pathlib.py in select_from(self, parent_path)
485 exists = path_cls.exists
486 scandir = parent_path._accessor.scandir
→ 487 if not is_dir(parent_path):
488 return iter([])
489 return self._select_from(parent_path, is_dir, exists, scandir)
/opt/conda/lib/python3.6/pathlib.py in is_dir(self)
1346 “”"
1347 try:
→ 1348 return S_ISDIR(self.stat().st_mode)
1349 except OSError as e:
1350 if e.errno not in (ENOENT, ENOTDIR):
/opt/conda/lib/python3.6/pathlib.py in stat(self)
1156 os.stat() does.
1157 “”"
→ 1158 return self._accessor.stat(self)
1159
1160 def owner(self):
/opt/conda/lib/python3.6/pathlib.py in wrapped(pathobj, *args)
385 @functools.wraps(strfunc)
386 def wrapped(pathobj, *args):
→ 387 return strfunc(str(pathobj), *args)
388 return staticmethod(wrapped)
389
PermissionError: [Errno 13] Permission denied: ‘/home/e0396332/NAPOLEONCRYPTO/Library’