hankhank10 / MSFS2020-cockpit-companion

Web wrapper for reading and writing data from Microsoft Flight Simulator 2020
https://msfs2020.cc
GNU General Public License v3.0
117 stars 24 forks source link

Tool Running Issue #2

Closed Swappea closed 4 years ago

Swappea commented 4 years ago

I cloned the repository locally. I did pip install flask. But whenever I try to run "python .\glass_server.py", I get following error.

OSError: [WinError 193] %1 is not a valid Win32 application

image

Kurosar commented 4 years ago

Hello @Swappea You need to use the 64bit version of Python.

You can download the right version to use here : https://www.python.org/ftp/python/3.8.6/python-3.8.6rc1-amd64.exe

(Do not forget to install Flask and SimConnect after reinstalling Python)

Swappea commented 4 years ago

Thank you. I was using 32bit version(I dont know how). It did worked after installing 64bit. But I made some changes in the code and increased the setInterval time to 1 second then it lead to exceptions on the python server side. Any idea on this errors?