freeciv-python icon indicating copy to clipboard operation
freeciv-python copied to clipboard

ModuleNotFoundError: No module named 'freeciv'

Open Elefant-Freeciv opened this issue 1 year ago • 0 comments

Running the template_.py script, I get the error "ModuleNotFoundError: No module named 'freeciv'". I have run pip install . in the main directory and pip list shows a module 'freeciv-python'. Import freeciv-python fails with File "<stdin>", line 1 import freeciv-python ^ SyntaxError: invalid syntax. I tried changing the module name to freeciv in setup.py and installing, but although pip list shows a module "freeciv", import freeciv still fails.

Elefant-Freeciv avatar Jun 13 '24 17:06 Elefant-Freeciv