0

I've imported a module called 'deuces' (https://github.com/worldveil/deuces) and when I try and import modules from it using:

import deuces
from deuces import card

I get this error:

Traceback (most recent call last):
  File "c:\Users\user\Desktop\botty\dtest.py", line 1, in <module>
    import deuces
  File "C:\Users\user\AppData\Local\Programs\Python\Python38-32\lib\site-packages\deuces\__init__.py", line 1, in <module>
    from card import Card
ModuleNotFoundError: No module named 'card'

Stating it cannot import the module from the package - but I've checked and the module is definitely present.

weddegege
  • 35
  • 4

0 Answers0