Apr-05-2021, 07:46 PM
Hello Folks! I have written code to fetch secrets from Azure KeyVault (no knowledge of azure is required for this issue
). For this I installed azure-keyvault-secrets package. So after writing code for the same I am getting this error:
![[Image: Capture_xulrrh.png]](https://res.cloudinary.com/mbgamer28/image/upload/v1617651753/Capture_xulrrh.png)
I added print(sys.path) to see the paths interpreter is looking for the package. So what I found is interesting, say we have two paths A and B. 'A' contains package Azure.keyvault.secrets but 'B' contains only azure.keyvault. But weirdly python interpreter is looking for package only in path 'B' and not in 'A'. So I coped paste secrets folder from 'A' to 'B' in azure/keyvault folder and code is working fine. Can anybody help me with this issue?

![[Image: Capture_xulrrh.png]](https://res.cloudinary.com/mbgamer28/image/upload/v1617651753/Capture_xulrrh.png)
I added print(sys.path) to see the paths interpreter is looking for the package. So what I found is interesting, say we have two paths A and B. 'A' contains package Azure.keyvault.secrets but 'B' contains only azure.keyvault. But weirdly python interpreter is looking for package only in path 'B' and not in 'A'. So I coped paste secrets folder from 'A' to 'B' in azure/keyvault folder and code is working fine. Can anybody help me with this issue?