Mohsen Akhavan
Mohsen Akhavan

Reputation: 75

problem on read azure container and blob in Python

I'm learning Python and I wanna print the list of all my blob storage in Azure. Find the sample code from here.

I have done this step:

  1. set connection string:enter image description here
  2. After the run I received this error enter image description here

Note: Like my experience, your problem solved after the restart.

Upvotes: 1

Views: 204

Answers (1)

Steve Johnson
Steve Johnson

Reputation: 8680

Your code is correct. Just restart your VS Code and run it again. It will work. You error cause by setx command. It can't work in the current command window. You can refer to Why is setx path not working?

On a local system, variables created or modified by this tool will be available in future command windows but not in the current CMD.exe command window.

Upvotes: 1

Related Questions