qiskit-community / qiskit-community-tutorials

A collection of Jupyter notebooks developed by the community showing how to use Qiskit
Apache License 2.0
721 stars 512 forks source link

Module not found #65

Open imv7 opened 4 years ago

imv7 commented 4 years ago

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'
priyanshnama commented 4 years ago

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

imv7 commented 4 years ago

C:\Users\IgorMonteiroVieira> pip install q_tic_tac_toe ERROR: Could not find a version that satisfies the requirement q_tic_tac_toe (from versions: none) ERROR: No matching distribution found for q_tic_tac_toe

C:\Users\IgorMonteiroVieira>

Em sáb., 25 de jan. de 2020 às 11:20, Priyansh Nama < notifications@github.com> escreveu:

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

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Qiskit/qiskit-community-tutorials/issues/65?email_source=notifications&email_token=ADF5EI7FURYZP7HKKRWYURLQ7RYEXA5CNFSM4KLN3DJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJ5A6BY#issuecomment-578424583, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADF5EIY4BYSEACKU7FF526DQ7RYEXANCNFSM4KLN3DJA .

priyanshnama commented 4 years ago

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

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

priyanshnama commented 4 years ago

Which URL? can you plzz provide the URL here.

imv7 commented 4 years ago

CUI: pip install tic-tac-toehttps://pypi.org/project/tic-tac-toe/ http://url/

Em sexta-feira, 31 de janeiro de 2020, Priyansh Nama < notifications@github.com> escreveu:

Which URL? can you plzz provide the URL here.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Qiskit/qiskit-community-tutorials/issues/65?email_source=notifications&email_token=ADF5EI45GAN25LXQOMZV63TRAUDXFA5CNFSM4KLN3DJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKQU2TQ#issuecomment-580996430, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADF5EI3IS2HVQN6H5MVQDKLRAUDXFANCNFSM4KLN3DJA .