Thank you for your post and I apologize for the delayed response!
Error Message:
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory:
'C:\Users\' ... ... ... ... '\App\.venv\Lib\site-packages\azure\keyvault\secrets\_generated\v2016_10_01\aio\operations\_key_vault_client_operations.py'
From your error message, I found some related issues that were resolved using the pip command - pip install 'package name' --user
, can you see if running this helps resolve your issue?
If you're still having issues and to gain a better understanding of your issue:
- Can you share any screenshots and documentation you're following to set this up?
- Since you're getting this error when trying to run your Python Function app, have you tried reaching out to our Python experts via the Python Stack Overflow forum(s)?
Additional Links:
- Could not install packages due to an OSError
- Python: Could not install packages due to an OSError: [Errno 2] No such file or directory
- Could not install packages due to an OSError: [WinError 2] No such file or directory
- Error caused by file path length limit on Windows
If you have any other questions, please let me know. Thank you for your time and patience throughout this issue.