fsmosca / Python-Easy-Chess-GUI

A Chess GUI based from Python using PySimpleGUI and Python-Chess.
GNU Lesser General Public License v3.0
160 stars 51 forks source link

ModuleNotFoundError: No module named 'chess.uci' #43

Closed janroks closed 2 years ago

janroks commented 2 years ago

I have done the "py -m pip install chess", and been told that it went fine, but still get the message

ModuleNotFoundError: No module named 'chess.uci'

Anyone have the same problem? Or am I doing something wrong?

fsmosca commented 2 years ago

Open your console then type the following, lets see if python chess is detected.

python --version
python
import chess
chess.__version__
janroks commented 2 years ago

Hi

Thanks for the advice. When I type import chess chess.version

in console, it says '1.7.0', so it seems it's detected.

When I type py --version in terminal (windows), it says 3.9.1.

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virusfri. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Wed, Dec 1, 2021 at 5:35 AM fsmosca @.***> wrote:

Open your console then type the following, lets see if python chess is detected.

python --version import chess chess.version

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fsmosca/Python-Easy-Chess-GUI/issues/43#issuecomment-983280404, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWXBCK67U3FXYILGNRUE673UOWQXXANCNFSM5JC5KO4Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

fsmosca commented 2 years ago

This is strange, the current source code has no chess.uci.

I tried the following in windows 10 with powershell and it worked.

git clone https://github.com/fsmosca/Python-Easy-Chess-GUI.git
pip install chess
pip install pyperclip
pip install pysimplegui