No error on one computer, HTTP Error 401 on different computer


I am trying to use the streaming API to collect data on one computer, but I am getting a 401 forbidden error.

This is what I get when I try to run the script. I can run this script on my laptop and it will run successfully, but not on this computer. I double checked to make sure the keys were correct, and they were. I’n not sure if this is relevant, but I can run a script that gets data through REST and it works fine, same keys and everything.