qiskit-community/qiskit-community-tutorials

Module not found

imv7 opened this issue · 6 comments

imv7 commented

#Import the game!

import sys

sys.path.append('game_engines')

from q_tic_tac_toe import Board


ModuleNotFoundError Traceback (most recent call last)
in
2 import sys
3 sys.path.append('game_engines')
----> 4 from q_tic_tac_toe import Board

ModuleNotFoundError: No module named 'q_tic_tac_toe'

just run this from any terminal
pip install q_tic_tac_toe
PS: make sure terminal has internet access.

imv7 commented

so the problem is that there is no package distribution available which is named as "q_tic_tac_toe" on the pypi.org . You can't work with this package untill you install it.
I recommend using another package.
For CUI: pip install tic-tac-toe https://pypi.org/project/tic-tac-toe/
For 2 Raspberry Pi : pip install Tic-Tac-Pi https://pypi.org/project/Tic-Tac-Pi/

imv7 commented

Can you check the URL provided? It seems the command not working.

Which URL? can you plzz provide the URL here.

imv7 commented