FreeTAKTeam / FreeTakServer

Situational Awareness Server compatible with TAK clients
Eclipse Public License 2.0
649 stars 166 forks source link

Installing of FTS failed #165

Closed Orodreth87 closed 3 years ago

Orodreth87 commented 3 years ago

Hi there, i tried u install the FTS Server on Windows 10. When u i use the command flask run i get this error.

May somebody can help me?

Thanks guys.

F:\python\Lib\site-packages\FreeTAKServer-UI>flask run

  • Serving Flask app "run.py"
  • Environment: production WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
  • Debug mode: off Usage: flask run [OPTIONS] Try 'flask run --help' for help.

Error: While importing "FreeTAKServer-UI.run", an ImportError was raised:

Traceback (most recent call last): File "f:\python\lib\site-packages\flask\cli.py", line 240, in locate_app import(module_name) File "F:\python\Lib\site-packages\FreeTAKServer-UI\run.py", line 38, in from config import config_dict ModuleNotFoundError: No module named 'config'

Cale-Torino commented 3 years ago

@Orodreth87 Try running in your app folder then run in the UI folder again.

try run in F:\python\Lib\site-packages\FreeTAKServer-UI\app folder

delete __ini__.py 0kb file in F:\python\Lib\site-packages\FreeTAKServer-UI

then try run in F:\python\Lib\site-packages\FreeTAKServer-UI folder

pip install requests

A better solution would be to use Docker for windows 10...

The complicated windows install method works but it's very easy to make a mistake. Also it was designed as an alternative install. For example Windows 2012 which does not support Docker has no other way except VM or the long tutorial.

brothercorvo commented 3 years ago

@Orodreth87 have you fixed your issue?