LoginSignup
1
1

今日のpython error:ModuleNotFoundError: No module named

Last updated at Posted at 2020-01-21

graphillionを使ってみた
https://qiita.com/cabernet_rock/items/50f955afc16287244154

組み合わせ爆発の凄さ
https://qiita.com/kaizen_nagoya/items/f309b0c2bb015bbc71c3

dockerで実行しようとした。

# python3 gra.py
Traceback (most recent call last):
  File "gra.py", line 7, in <module>
    universe = tl.grid(2, 2)
  File "/usr/local/lib/python3.6/dist-packages/graphillion/tutorial.py", line 28, in grid
    import networkx as nx
ModuleNotFoundError: No module named 'networkx'

docker 作る時に、

# pip3 install networkx

とすべきところを

# pip3 install network

としていた。1文字違いはまぎらわしい。

文書履歴(document history)

ver. 0.01 初稿 20200121
ver. 0.04 URL追記 20230302

最後までおよみいただきありがとうございました。

いいね 💚、フォローをお願いします。

Thank you very much for reading to the last sentence.

Please press the like icon 💚 and follow me for your happy life.

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