Board index FlightGear Support Tools ATC-pie

Help on Windows 10 installation

ATC-pie is a radar air traffic control simulation program for the FlightGear multi-player network.

Help on Windows 10 installation

Postby avfan507 » Thu Jul 11, 2019 9:08 pm

Hello all,

I found this awesome looking game but have faced a wall every time I have tried to install it. I have uninstalled and reinstalled countless times and have spent I don't even know how long trying to find a version of winpython that works with this. I have ATC-pie version 1.6.1 and downloaded WinPython64-3.5.4.2Qt5 because that was the version closest to the recommended 3.4.4.1 in the readme file that actually installed without writing errors.

Nevertheless, I have placed everything in folders, unzipped the ATC-pie files and when I run ATC-pie.py with python I receive the following in a command prompt:

Traceback (most recent call last):
File "C:\Users\*edited my name out*\code\WinPython\python-3.5.4.amd64\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "C:\Users\*edited my name out*\code\WinPython\python-3.5.4.amd64\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\*edited my name out*\code\WinPython\python-3.5.4.amd64\scripts\ptpython.exe\__main__.py", line 9, in <module>
File "C:\Users\*edited my name out*\code\WinPython\python-3.5.4.amd64\lib\site-packages\ptpython\entry_points\run_ptpython.py", line 55, in run
six.exec_(compile(open(a['<arg>'][0], "rb").read(), a['<arg>'][0], 'exec'))
File "C:\Users\*edited my name out*\code\ATC-pie-1.6.1\ATC-pie.py", line 31, in <module>
from session.config import settings, app_icon_path
ImportError: No module named 'session'

Any help would be greatly appreciated. Based on the videos I've seen and things I've read, this looks like an awesome simulator. I'd really hate to give up on it.

DISCLAMER: I know next to nothing about command promtps/coding/python/etc. I am trying to learn. I hope that doesn't stop me from ever getting to use this simulator. Any help is GREATLY appreciated.
avfan507
 
Posts: 1
Joined: Thu Jul 11, 2019 8:54 pm

Re: Help on Windows 10 installation

Postby xDraconian » Fri Jul 12, 2019 12:33 am

I don't use ATC-Pie, but here are some things to try.

These are the important error messages:
Code: Select all
from session.config import settings, app_icon_path
ImportError: No module named 'session'

This is saying that it cannot find a folder called 'session' containing a file called 'config.py'.
Verify that your ATC-pie folder contains this session folder and within it the config.py file.

3.5.4 is getting old, while ATC-pie is very recent (April 2019). The first thing I would do is upgrade to the latest WinPython (WinPython_3.7).
xDraconian
 
Posts: 240
Joined: Sun Jan 21, 2018 5:53 am
Version: Git
OS: Linux Mint

Re: Help on Windows 10 installation

Postby mickybadia » Fri Jul 12, 2019 8:14 am

xDraconian wrote in Fri Jul 12, 2019 12:33 am:This is saying that it cannot find a folder called 'session' containing a file called 'config.py'.

Probably because you are not running ATC-pie from its root directory. You must make the ATC-pie folder the "current directory" before running. Something like:
Code: Select all
cd blah\blah\ATC-pie

Only then:
Code: Select all
blah\blah\python3.exe ATC-pie.py

If you try a new WinPython and things work I might update the README. There were times when the latest did not work well but we may be past those...
mickybadia
 
Posts: 405
Joined: Tue Sep 24, 2013 9:12 am


Return to ATC-pie

Who is online

Users browsing this forum: No registered users and 1 guest