Fix issue with fastcore and ruamel-yaml
@@ -81,7 +81,7 @@ class CondaEnv(object):
self._conda_env["channels"] += channels
def write_to_yaml_file(self, filepath):
- output_yaml = Path(filepath)
+ with open(filepath, 'wb') as output_yaml:
self._yaml.dump(self._conda_env, output_yaml)
