LoginSignup
7
4

More than 5 years have passed since last update.

Windows版Python(だけ?)でpip install dotenvするとエラー

Last updated at Posted at 2018-06-04

$ pip install dotenv

すると、こんなエラーで怒られる。

AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'

ググった時に最初見落としてしまったが、Stack Overflowで普通に挙がっている。

$ pip3 install python-dotenv
もしくは
$ pip install python-dotenv

ただそれだけで解消。

7
4
1

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
7
4