LoginSignup
0
0

More than 1 year has passed since last update.

【atom】autocomplete-pythonが動かないよ

Posted at

0.事象

atomエディタで、autocomplete-pythonのパッケージがうまく動かない。
適当なファイル内にimport とうつと、atomウィンドウ右上に赤枠で下記のようなエラーが表示される。

<省略>~autocomplete-python\lib\completion.py", line 8, in

1.環境

OS:windows10 home
python:3.10
atom:1.58
autocomplete-python:1.17.0

2.原因

python環境側で、jediというパッケージを持っていなかった。

3.対応

a)コマンドプロンプト開く。
b)下記コマンドを順番に実行。

python -m pip install --upgrade pip
pip install jedi==0.17.2

c)atomを再度開いて、適当なファイルでコーディングして補完を確認する。

4.まとめ

正しい対応なのかどうか不明だが動いたのでおけ。

5.参考

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