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.

【Python】ModuleNotFoundError ~ PythonとRubyが混在するWindowsの罠 ~

Posted at

この記事について

Windowsで色んな言語で開発しているとこんなことがある(かも)

環境

  • Windows10
  • Ruby 2.7
  • Python 3.8.2

本題

pip installしたのにModuleNotFoundErrorが治らない。何故だろう?
・・・


C:\develop>python -m pip install --upgrade pip
C:\DevelopmentTools\Ruby27-x64\msys64\mingw64\bin\python.exe: No module named pip

Ruby・・・??
ということで環境変数を修正。RubyのPathがPythonより上になっていたので順序を変えたら解決。

最後に

Windowsを使ってる方は、Pathの順序に注意(キホン)

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?