I installed Q# with Python as per the instructions on Microsoft's site. Then, I tested the installation. It ran fine the first time. But subsequently, when I try to run any program, I get the message: Preparing Q# environment... Access to the path 'C:\Users\Sanjiv\Application Data' is denied. Then it waits for a while and then I get the message: Exception: Q# environment was not available in allocated time.
I have tried the following: 1. Changing ownership of C:\Users\Sanjiv and its subdirectories to myself. 2. Running the command window as admin.
I don't know what else to try to fix this problem.