Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can anyone help with this error?

Status
Not open for further replies.

franklin97355

Technical User
Jul 11, 2002
3,753
0
0
US
Since moving to Windows7 I get this message. Running Python 26

Code:
Traceback (most recent call last):
  File "wattcher.py", line 55, in <module>
    ser = serial.Serial(SERIALPORT, BAUDRATE)
  File "c:\python26\lib\site-packages\serial\serialutil.py", line 171, in __init
__
    self.open()
  File "c:\python26\lib\site-packages\serial\serialwin32.py", line 53, in open
    raise SerialException("could not open port %s: %s" % (self.portstr, msg))
serial.serialutil.SerialException: could not open port COM5: (5, 'CreateFile', '
Access is denied.')
rs\stephenf\Documents\Tweet-a-Watt\wattcher>

The answer is "42"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top