表題の件についてです。
pythonを用いたシリアルポート通信によるサーボモータのコントロールを考えています。
pythonにはpyserialというモジュールがあると思うのですが、インストールがうまくいきません。
C:\Users\c6q001>pip install pyserial
Collecting pyserial
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001BD1276DBE0>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/pyserial/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001BD1276DB70>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/pyserial/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001BD1276DA58>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/pyserial/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001BD1276DD30>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/pyserial/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001BD1276DF28>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/pyserial/
Could not find a version that satisfies the requirement pyserial (from versions: )
No matching distribution found for pyserial
上記のような表示が出てしまい(######にはpc名が入ります)、ダウンロードとインストールが進まない状態です。
インストール方法が悪いのか、環境が悪いのかがよくわかません。
OS:Windows10(Surface)
python3.6.6
シリアルポート通信が行いたいので、pyserialにこだわっているわけではないです。
同様の機能がある他のモジュールや手法でもいいので、ご回答いただければと思います。
宜しくお願いいたします。
回答1件
あなたの回答
tips
プレビュー