Error while opening port in Python using TI Chronos

前端 未结 6 1226
野趣味
野趣味 2021-01-05 17:46

I\'m trying to get accelerometer data from TI Chronos. I get the following error message when I run the code:

Traceback (most recent call last):
  File \"C:\         


        
6条回答
  •  广开言路
    2021-01-05 18:13

    Another situation that also creates the Access Denied error:

    The port permissions are actually set to deny normal user access! Some system administrators lock down ports for good reasons, so only users with administrator privileges can get access.

    The simplest work-around is to run cmd.exe as administrator. See Run a Command as Administrator from the Run Box in Windows 7, 8, or 10

    Summary: Win + R, "cmd", Shift + Ctrl + Enter

    "It Works For Me!" (tm)

提交回复
热议问题