Anaconda のjupyterを使用しpythonでのプログラミングを学習し始めました。
pythonでpyserialを使用したく、複数のブログなどを確認して導入を試みましたがうまくいきませんでした。
conda install -c anaconda pyserial
とjupyter上で入力しても
File "<ipython-input-3-e43e0f056906>", line 1
conda install -c anaconda pySerial
^
SyntaxError: invalid syntax
と表記されてしまいます。
また、
pip install pyserial
と入力しても
The following command must be run outside of the IPython shell:
$ pip install pyserial
The Python package manager (pip) can only be used from outside of IPython.
Please reissue the pip
command in a separate terminal or command prompt.
See the Python documentation for more information on how to install packages:
https://docs.python.org/3/installing/
と表示されてしまいます。
どのようなことが原因と考えられるのでしょうか。
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。