Problem with graphical display functions
Hi!
I'm new to aGrUM package, and I just installed it on my machine, details:
- Macbook M1 Pro
- MacOS Monterey 12.6.3
- GCC 14.0.0
- Python 3.10.9
I guess I don't have any problem with both Agrum and PyAgrum Installation (PyAgrum installed using conda). Just to make sure, I tried this tutorial: https://pyagrum.readthedocs.io/en/1.7.0/notebooks/15-Examples_SensitivityAnalysisUsingCredalNetworks.html by running the first two blocks. But I get this instead:
FileNotFoundError Traceback (most recent call last)
File ~/miniconda3/envs/mlenv1/lib/python3.10/site-packages/pydot.py:1856, in Dot.create(self, prog, format, encoding)
1855 try:
-> 1856 p = subprocess.Popen(
1857 cmdline,
1858 env=env,
1859 cwd=tmp_dir,
1860 shell=False,
1861 stderr=subprocess.PIPE, stdout=subprocess.PIPE)
1862 except OSError as e:
File ~/miniconda3/envs/mlenv1/lib/python3.10/subprocess.py:971, in Popen.__init__(self, args, bufsize, executable, stdin, stdout, stderr, preexec_fn, close_fds, shell, cwd, env, universal_newlines, startupinfo, creationflags, restore_signals, start_new_session, pass_fds, user, group, extra_groups, encoding, errors, text, umask, pipesize)
968 self.stderr = io.TextIOWrapper(self.stderr,
969 encoding=encoding, errors=errors)
--> 971 self._execute_child(args, executable, preexec_fn, close_fds,
972 pass_fds, cwd, env,
973 startupinfo, creationflags, shell,
974 p2cread, p2cwrite,
975 c2pread, c2pwrite,
976 errread, errwrite,
977 restore_signals,
978 gid, gids, uid, umask,
979 start_new_session)
980 except:
...
1864 args = list(e.args)
1865 args[1] = '"{prog}" not found in path.'.format(
1866 prog=prog)
AttributeError: module 'os' has no attribute 'errno'
I tried to remove the gnb
part, and it works fine. I guess, the problem is the display functions.
Could anyone help me?
Thank you in advance