<@ULVA73B9P> I am getting FileNotFoundError: [Errn...
# ask-marvin
v
@Marvin I am getting FileNotFoundError: [Errno 2] No such file or directory: 'v:\\virtal311-sm\\Lib\\site-packages\\prefect\\deployments\\templates\\prefect.yaml' An exception occurred. --> I checked the prefect installation folder, there is no templates folder at all in deployments. I am using prefect version - 3.2.11
m
It seems like you're encountering a known issue where the
prefect.yaml
file is not found in the
templates
directory of the
deployments
module. This issue has been reported in Prefect's GitHub repository. Here's the relevant GitHub issue. Here's what you can do: 1. Check the Installation: Ensure that Prefect is installed correctly. Sometimes, reinstalling the package can resolve missing file issues. You can try:
Copy code
bash
   pip uninstall prefect
   pip install prefect
2. Version Check: Ensure that you are using a version of Prefect that supports your current environment and that the installation is complete. 3. Manual Template Creation: If the issue persists, you may consider manually creating the
prefect.yaml
file in the expected directory as a temporary workaround. If these steps don't resolve the issue, you might want to follow the GitHub issue for any updates from the Prefect team.
v
prefect-3.2.11 does have a deployments/templates folder at all