0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

pyserial実行時のエラーについて

0
Posted at

python初心者です、宜しくお願いします。

windows10 python3.7へpyserialをインストール行い下記コードを実行しましたが・・・

import struct, binascii, serial
s = serial.serial(2, 115200)

== RESTART: C:\Users\aaaa\AppData\Local\Programs\Python\Python37\test1.py ==
Traceback (most recent call last):
File "C:\Users\aaaa\AppData\Local\Programs\Python\Python37\test1.py", line 3, in
s = serial.serial(2, 115200)
AttributeError: module 'serial' has no attribute 'serial'

上記エラーが出ます、対処方法をご教授ください。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?