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 1 year has passed since last update.

Visual Studio Code に python で追加したライブラリを認識させる方法

Posted at
  1. 場所を見つける
    $ python3
    >>> import hoge
    >>> print(hoge.__file__)
    /Users/[yourdir]/foo/bar/hoge/__init__.py
    
  2. Visual Studio Codeの設定より [Code] > [基本設定] > [設定] を選択する。
  3. [設定の検索]に extra path と入力する。
  4. [項目の追加]を クリックし、1.のhogeのあるパスを設定する。
    この場合は、/Users/[yourdir]/foo/bar/ の部分となる。
  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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?