bayesmark icon indicating copy to clipboard operation
bayesmark copied to clipboard

Change PosixPath to Path for Windows Users

Open ghost opened this issue 5 years ago • 0 comments

Issue: Running Bayesmark on Windows using Cygwin throws an exception in cmd_parse.py. This is because PosixPath does not work in Windows.

Resolution: Instead of using PosixPath, use Path instead. Instantiating Path creates either a PosixPath or a WindowsPath depending on the OS. See here: https://docs.python.org/3/library/pathlib.html#pathlib.Path

ghost avatar Jan 27 '21 15:01 ghost