diff --git a/generators/VirtualPythonEnv.py b/generators/VirtualPythonEnv.py index 854645c..5c93643 100644 --- a/generators/VirtualPythonEnv.py +++ b/generators/VirtualPythonEnv.py @@ -35,7 +35,7 @@ class VirtualPythonEnv(Generator): @property def content(self): - python_interpreter = self.conanfile.deps_user_info["cpython"].python + python_interpreter = Path(self.conanfile.deps_user_info["cpython"].python) # When on Windows execute as Windows Path if self.conanfile.settings.os == "Windows":