No.10_Ace_Ivo Posted June 29, 2024 Posted June 29, 2024 (edited) Hi @=FB=Vaal, for a while now I'm getting 'server error (500)' when I click on the Albatros D.II stats on IL2 stats. This only happens with the Albatros D.II and another WW1 server is experiencing the same issue. I'm getting the following errors on the console when someone clicks on the Alb D.II stats: 'Message: 'Internal Server Error: %s' Arguments: ('/en/aircraft/3126/NO_FILTER/',)' and 'raise ValueError("Missing staticfiles manifest entry for '%s'" % clean_name) ValueError: Missing staticfiles manifest entry for 'img/aircraft/albatros d.ii.png'. Nevermind, I just fixed it, the images for the Albatros D.II were spelled as 'd.II' but it had to be 'd.ii'. 🙂 Edited June 29, 2024 by No.10_Ace_Ivo 1
WWCephas Posted July 22, 2024 Posted July 22, 2024 (edited) I have been trying to get the install command to work for a couple days and read through the posts here but nothing seems to work. I keep getting a Django module not found error. I have reinstalled completely removed and reinstalled Postgres, Python 3.5.2, and the latest IL2 stats multiple times. Any help would be appreciated. Fixed I installed python-3.8.0-amd64 and it worked. Edited July 22, 2024 by WWCephas 1
=FI=Genosse Posted February 12 Posted February 12 C:\Program Files\il2_stats\run>cd ../src C:\Program Files\il2_stats\src>"../.venv/Scripts/python.exe" manage.py stats_whore Mod [mod_stats_by_aircraft] added to INSTALLED_APPS Mod [mod_rating_by_type] added to INSTALLED_APPS [mod_rating_by_type] Added module split_rankings [mod_rating_by_type] Added module ammo_breakdown [mod_rating_by_type] Added module ironman_stats [2025.02.12 07:07:04] Lock 1228341496240 acquired on C:\Program Files\il2_stats\file.lock [2025.02.12 07:07:04] IL2 stats 1.2.81, Python 3.5.2, Django 1.11.29 [2025.02.12 07:07:04] missionReport(2025-02-12_05-09-51)[0] - processing new report [2025.02.12 07:07:04] missionReport(2025-02-12_05-09-51)[0] - mission has not been completed correctly [2025.02.12 07:07:04] missionReport(2025-02-12_05-09-51)[0] - processing finished [2025.02.12 07:07:04] unexpected error Traceback (most recent call last): File "C:\Program Files\il2_stats\src\stats\management\commands\stats_whore.py", line 16, in handle stats_whore.main() File "C:\Program Files\il2_stats\src\mod_stats_by_aircraft\stats_whore.py", line 74, in main online_timestamp = update_online(m_report_files=m_report_files, online_timestamp=online_timestamp) File "C:\Program Files\il2_stats\src\stats\online.py", line 47, in update_online _countries[country] = COALITION_ALIAS[coalition] KeyError: 9 [2025.02.12 07:07:04] Lock 1228341496240 released on C:\Program Files\il2_stats\file.lock Traceback (most recent call last): File "manage.py", line 7, in <module> execute_from_command_line(sys.argv) File "C:\Program Files\il2_stats\.venv\lib\site-packages\django\core\management\__init__.py", line 364, in execute_from_command_line utility.execute() File "C:\Program Files\il2_stats\.venv\lib\site-packages\django\core\management\__init__.py", line 356, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "C:\Program Files\il2_stats\.venv\lib\site-packages\django\core\management\base.py", line 283, in run_from_argv self.execute(*args, **cmd_options) File "C:\Program Files\il2_stats\.venv\lib\site-packages\django\core\management\base.py", line 330, in execute output = self.handle(*args, **options) File "C:\Program Files\il2_stats\src\stats\management\commands\stats_whore.py", line 16, in handle stats_whore.main() File "C:\Program Files\il2_stats\src\mod_stats_by_aircraft\stats_whore.py", line 74, in main online_timestamp = update_online(m_report_files=m_report_files, online_timestamp=online_timestamp) File "C:\Program Files\il2_stats\src\stats\online.py", line 47, in update_online _countries[country] = COALITION_ALIAS[coalition] KeyError: 9 That's the output of my IL-2 Stats reporter since the latest 5.506 update. Any idea what to do?
1CGS =FB=Vaal Posted February 12 1CGS Posted February 12 1 hour ago, =FI=Genosse said: That's the output of my IL-2 Stats reporter since the latest 5.506 update. Any idea what to do? Can you send me the mission logs so I can test the fix?
=gRiJ=ToReRo Posted February 12 Posted February 12 Hello Vaal, I have had the same error in the Grij Arena campaign. log mision 12 mal.rar [2025.02.04 17:08:09] Lock 82820880 acquired on C:\Users\grijos\Desktop\il2_stats server mod tank\file.lock [2025.02.04 17:08:09] IL2 stats 1.2.81, Python 3.5.2, Django 1.11.29 [2025.02.04 17:08:09] missionReport(2025-02-04_15-00-51)[0] - processing new report [2025.02.04 17:08:09] tik: 69350 - respawn before than bot initialization [2025.02.04 17:08:11] missionReport(2025-02-04_15-00-51)[0] - processing finished [2025.02.04 17:08:11] waiting new report... [2025.02.11 17:04:48] Lock 75153168 acquired on C:\Users\grijos\Desktop\il2_stats server mod tank\file.lock [2025.02.11 17:04:48] IL2 stats 1.2.81, Python 3.5.2, Django 1.11.29 [2025.02.11 17:04:48] unexpected error Traceback (most recent call last): File "C:\Users\grijos\Desktop\il2_stats server mod tank\src\stats\management\commands\stats_whore.py", line 16, in handle stats_whore.main() File "C:\Users\grijos\Desktop\il2_stats server mod tank\src\stats\stats_whore.py", line 72, in main online_timestamp = update_online(m_report_files=m_report_files, online_timestamp=online_timestamp) File "C:\Users\grijos\Desktop\il2_stats server mod tank\src\stats\online.py", line 47, in update_online _countries[country] = COALITION_ALIAS[coalition] KeyError: 9 [2025.02.11 17:04:48] Lock 75153168 released on C:\Users\grijos\Desktop\il2_stats server mod tank\file.lock [2025.02.11 17:05:37] Lock 76922640 acquired on C:\Users\grijos\Desktop\il2_stats server mod tank\file.lock [2025.02.11 17:05:37] IL2 stats 1.2.81, Python 3.5.2, Django 1.11.29 [2025.02.11 17:05:37] unexpected error Traceback (most recent call last): File "C:\Users\grijos\Desktop\il2_stats server mod tank\src\stats\management\commands\stats_whore.py", line 16, in handle stats_whore.main() File "C:\Users\grijos\Desktop\il2_stats server mod tank\src\stats\stats_whore.py", line 72, in main online_timestamp = update_online(m_report_files=m_report_files, online_timestamp=online_timestamp) File "C:\Users\grijos\Desktop\il2_stats server mod tank\src\stats\online.py", line 47, in update_online _countries[country] = COALITION_ALIAS[coalition] KeyError: 9 [2025.02.11 17:05:37] Lock 76922640 released on C:\Users\grijos\Desktop\il2_stats server mod tank\file.lock [2025.02.11 17:08:56] Lock 82951952 acquired on C:\Users\grijos\Desktop\il2_stats server mod tank\file.lock [2025.02.11 17:08:56] IL2 stats 1.2.81, Python 3.5.2, Django 1.11.29 [2025.02.11 17:08:56] unexpected error Traceback (most recent call last): File "C:\Users\grijos\Desktop\il2_stats server mod tank\src\stats\management\commands\stats_whore.py", line 16, in handle stats_whore.main() File "C:\Users\grijos\Desktop\il2_stats server mod tank\src\stats\stats_whore.py", line 72, in main online_timestamp = update_online(m_report_files=m_report_files, online_timestamp=online_timestamp) File "C:\Users\grijos\Desktop\il2_stats server mod tank\src\stats\online.py", line 47, in update_online _countries[country] = COALITION_ALIAS[coalition] KeyError: 9
1CGS =FB=Vaal Posted February 12 1CGS Posted February 12 Posted a version with support for the current version of the game. 4
=FI=Genosse Posted February 12 Posted February 12 (edited) Do we need to replace all the old files with the new ones or do we update special files only? In the last case which ones would this be then? Found your posting from two hours ago. Thanks for your efforts, Vaal! Edited February 12 by =FI=Genosse I should better have checked the forum before I posted this ...
WWBiker_ Posted March 3 Posted March 3 (edited) @=FB=Vaal Posted 1 minute ago This just started out of the blue and stats won't collect any more. Help please. [2025.03.02 17:51:04] unexpected error Traceback (most recent call last): File "C:\il2_stats\src\stats\management\commands\stats_whore.py", line 16, in handle stats_whore.main() File "C:\il2_stats\src\stats\stats_whore.py", line 62, in main stats_whore(m_report_file=m_report_file) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35\lib\contextlib.py", line 30, in inner return func(*args, **kwds) File "C:\il2_stats\src\stats\stats_whore.py", line 158, in stats_whore m_report.processing(files=m_report_files) File "C:\il2_stats\src\mission_report\report.py", line 117, in processing self.events_handlers[atype_id](**data) File "C:\il2_stats\src\mission_report\report.py", line 337, in event_game_object country_id=country_id, coal_id=coal_id, parent_id=parent_id) File "C:\il2_stats\src\mission_report\report.py", line 446, in __init__ obj = mission.objects[self.log_name] KeyError: 'sopwith strutter b' [2025.03.02 17:51:04] Lock 2202172057528 released on C:\il2_stats\file.lock Traceback (most recent call last): File "manage.py", line 7, in <module> execute_from_command_line(sys.argv) File "C:\il2_stats\.venv\lib\site-packages\django\core\management\__init__.py", line 364, in execute_from_command_line utility.execute() File "C:\il2_stats\.venv\lib\site-packages\django\core\management\__init__.py", line 356, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "C:\il2_stats\.venv\lib\site-packages\django\core\management\base.py", line 283, in run_from_argv self.execute(*args, **cmd_options) File "C:\il2_stats\.venv\lib\site-packages\django\core\management\base.py", line 330, in execute output = self.handle(*args, **options) File "C:\il2_stats\src\stats\management\commands\stats_whore.py", line 16, in handle stats_whore.main() File "C:\il2_stats\src\stats\stats_whore.py", line 62, in main stats_whore(m_report_file=m_report_file) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35\lib\contextlib.py", line 30, in inner return func(*args, **kwds) File "C:\il2_stats\src\stats\stats_whore.py", line 158, in stats_whore m_report.processing(files=m_report_files) File "C:\il2_stats\src\mission_report\report.py", line 117, in processing self.events_handlers[atype_id](**data) File "C:\il2_stats\src\mission_report\report.py", line 337, in event_game_object country_id=country_id, coal_id=coal_id, parent_id=parent_id) File "C:\il2_stats\src\mission_report\report.py", line 446, in __init__ obj = mission.objects[self.log_name] KeyError: 'sopwith strutter b' C:\il2_stats\src>pause Press any key to continue . . . Edited March 3 by WWBiker_
JGr2/J5_Baeumer Posted March 3 Posted March 3 KeyError: 'sopwith strutter b' Appears either the object is missing from your object table or is miscoded in it.
WWBiker_ Posted March 3 Posted March 3 56 minutes ago, JGr2/J5_Baeumer said: KeyError: 'sopwith strutter b' Appears either the object is missing from your object table or is miscoded in it. Yes added it in manually and now it works Thanks
1CGS =FB=Vaal Posted March 3 1CGS Posted March 3 Uploaded the updated version with sopwith strutter b
WWCephas Posted March 19 Posted March 19 (edited) Looking for help figuring out why my stats server is dropping players from the list after 7 days of inactivity instead of keeping them the whole month-long tour. The monthly active player count is affected, and also players drop off the main page listings for best live pilots and for the monthly rankings unless you search for them by name there. If they made it onto the overall leaderboard, they remain visible though. I see nothing in my config.ini (see below) that would cause this to happen and am not sure where else to look as I did not find a setting in the admin panel on the stats page. Before I built this new server box a few months back I did not have this problem. [:80stats] mission_report_delete = false mission_report_backup_days = 31 inactive_player_days = 360 new_tour_by_month = true win_by_score = true win_score_min = 2000 win_score_ratio = 1.25 sortie_min_time = 0 skin_id = 1 ; mods = mod_dir_name1,mod_dir_name2 Thanks for any help. Edited March 19 by WWCephas
1CGS =FB=Vaal Posted March 19 1CGS Posted March 19 At least a strange name for the config section [:80stats] instead of just [stats] And inactive_player_days = 0 should disable this option altogether.
WWCephas Posted March 19 Posted March 19 I have no idea how the title for the stats section got changed but that did the trick, thanks!
WWBiker_ Posted May 14 Posted May 14 been getting this on old missions I added it to objects list but why is it happening now the list has 'botgunner_rolandc2a_m_ger16' Thanks for any replies raceback (most recent call last): File "C:\il2_stats\src\stats\management\commands\stats_whore.py", line 16, in handle stats_whore.main() File "C:\il2_stats\src\stats\stats_whore.py", line 62, in main stats_whore(m_report_file=m_report_file) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35\lib\contextlib.py", line 30, in inner return func(*args, **kwds) File "C:\il2_stats\src\stats\stats_whore.py", line 158, in stats_whore m_report.processing(files=m_report_files) File "C:\il2_stats\src\mission_report\report.py", line 117, in processing self.events_handlers[atype_id](**data) File "C:\il2_stats\src\mission_report\report.py", line 337, in event_game_object country_id=country_id, coal_id=coal_id, parent_id=parent_id) File "C:\il2_stats\src\mission_report\report.py", line 446, in __init__ obj = mission.objects[self.log_name] KeyError: 'botgunner_rolandc2a_m_ger17' [2025.05.09 15:02:27] Lock 2215147661240 released on C:\il2_stats\file.lock Traceback (most recent call last): File "manage.py", line 7, in <module> execute_from_command_line(sys.argv) File "C:\il2_stats\.venv\lib\site-packages\django\core\management\__init__.py", line 364, in execute_from_command_line utility.execute() File "C:\il2_stats\.venv\lib\site-packages\django\core\management\__init__.py", line 356, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "C:\il2_stats\.venv\lib\site-packages\django\core\management\base.py", line 283, in run_from_argv self.execute(*args, **cmd_options) File "C:\il2_stats\.venv\lib\site-packages\django\core\management\base.py", line 330, in execute output = self.handle(*args, **options) File "C:\il2_stats\src\stats\management\commands\stats_whore.py", line 16, in handle stats_whore.main() File "C:\il2_stats\src\stats\stats_whore.py", line 62, in main stats_whore(m_report_file=m_report_file) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35\lib\contextlib.py", line 30, in inner return func(*args, **kwds) File "C:\il2_stats\src\stats\stats_whore.py", line 158, in stats_whore m_report.processing(files=m_report_files) File "C:\il2_stats\src\mission_report\report.py", line 117, in processing self.events_handlers[atype_id](**data) File "C:\il2_stats\src\mission_report\report.py", line 337, in event_game_object country_id=country_id, coal_id=coal_id, parent_id=parent_id) File "C:\il2_stats\src\mission_report\report.py", line 446, in __init__ obj = mission.objects[self.log_name] KeyError: 'botgunner_rolandc2a_m_ger17' C:\il2_stats\src>pause Press any key to continue . . .
1CGS =FB=Vaal Posted May 15 1CGS Posted May 15 20 hours ago, WWBiker_ said: been getting this on old missions I added it to objects list but why is it happening now the list has 'botgunner_rolandc2a_m_ger16' Thanks for any replies raceback (most recent call last): File "C:\il2_stats\src\stats\management\commands\stats_whore.py", line 16, in handle stats_whore.main() File "C:\il2_stats\src\stats\stats_whore.py", line 62, in main stats_whore(m_report_file=m_report_file) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35\lib\contextlib.py", line 30, in inner return func(*args, **kwds) File "C:\il2_stats\src\stats\stats_whore.py", line 158, in stats_whore m_report.processing(files=m_report_files) File "C:\il2_stats\src\mission_report\report.py", line 117, in processing self.events_handlers[atype_id](**data) File "C:\il2_stats\src\mission_report\report.py", line 337, in event_game_object country_id=country_id, coal_id=coal_id, parent_id=parent_id) File "C:\il2_stats\src\mission_report\report.py", line 446, in __init__ obj = mission.objects[self.log_name] KeyError: 'botgunner_rolandc2a_m_ger17' [2025.05.09 15:02:27] Lock 2215147661240 released on C:\il2_stats\file.lock Traceback (most recent call last): File "manage.py", line 7, in <module> execute_from_command_line(sys.argv) File "C:\il2_stats\.venv\lib\site-packages\django\core\management\__init__.py", line 364, in execute_from_command_line utility.execute() File "C:\il2_stats\.venv\lib\site-packages\django\core\management\__init__.py", line 356, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "C:\il2_stats\.venv\lib\site-packages\django\core\management\base.py", line 283, in run_from_argv self.execute(*args, **cmd_options) File "C:\il2_stats\.venv\lib\site-packages\django\core\management\base.py", line 330, in execute output = self.handle(*args, **options) File "C:\il2_stats\src\stats\management\commands\stats_whore.py", line 16, in handle stats_whore.main() File "C:\il2_stats\src\stats\stats_whore.py", line 62, in main stats_whore(m_report_file=m_report_file) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35\lib\contextlib.py", line 30, in inner return func(*args, **kwds) File "C:\il2_stats\src\stats\stats_whore.py", line 158, in stats_whore m_report.processing(files=m_report_files) File "C:\il2_stats\src\mission_report\report.py", line 117, in processing self.events_handlers[atype_id](**data) File "C:\il2_stats\src\mission_report\report.py", line 337, in event_game_object country_id=country_id, coal_id=coal_id, parent_id=parent_id) File "C:\il2_stats\src\mission_report\report.py", line 446, in __init__ obj = mission.objects[self.log_name] KeyError: 'botgunner_rolandc2a_m_ger17' C:\il2_stats\src>pause Press any key to continue . . . Replace objects.csv and run the updater. objects.zip 1
WWBiker_ Posted May 15 Posted May 15 1 hour ago, =FB=Vaal said: Replace objects.csv and run the updater. objects.zip 19.69 kB · 0 downloads Thanks Vaal
RNAS10_Mitchell Posted July 3 Posted July 3 (edited) @=FB=Vaal Hello =FB=Vaal. Would you please help me understand why these squadron totals are all different? On one, adding up the pilots virtual life totals sums to a 205 calculation. On another screen, it shows our squadron score as 94. On another it shows a squadron total of 162. Im very confused. Thank you. Also.. its a new quarter, and there are very few sorties, so these differences are quite obvious. The individual pilots virtual life scores do not match what is reported under the squadron individual totals as well. Edited July 3 by RNAS10_Mitchell
1CGS =FB=Vaal Posted July 3 1CGS Posted July 3 Quote On one, adding up the pilots virtual life totals sums to a 205 calculation. Is the number 205 the sum of the last column in the list of pilots? But this is the rating of each individual pilot. It cannot be summed up. Quote On another screen, it shows our squadron score as 94 And this is the squad rating. Quote On another it shows a squadron total of 162. And these are the squad's score. The rating can be viewed here: http://70.35.192.48:801/en/faq/. For the squad, the rating is calculated in the same way, but then it is divided by the maximum number of pilots that were in the squad during a specific tour.
RNAS10_Mitchell Posted July 4 Posted July 4 (edited) 3 hours ago, =FB=Vaal said: Is the number 205 the sum of the last column in the list of pilots? But this is the rating of each individual pilot. It cannot be summed up. And this is the squad rating. And these are the squad's score. The rating can be viewed here: http://70.35.192.48:801/en/faq/. For the squad, the rating is calculated in the same way, but then it is divided by the maximum number of pilots that were in the squad during a specific tour. Can you explain what you mean by "maximum number of pilots that were in the squad during a specific period "? Current period, or previous period?Squad player counts can go up and down during each quarter. Obviously adding a new squadron member would effect the math. If I'm following you correctly, adding a new member with little activity Iate in the quarter, would reduce the squadrons ranking. Possibly significantly. Is that a correct assumption? How us the squad score (162 in the above example) calculated? Thank again! Edited July 4 by RNAS10_Mitchell
1CGS =FB=Vaal Posted July 4 1CGS Posted July 4 Everything is within the current period. The pilot counter only increases. For example, if there were 10 pilots, then there were 9, it will still be divided by 10 until the end of the period. Yes, adding a pilot will lower the rating. Squad score are the sum of the score that pilots have earned while they were in the squad.
RNAS10_Mitchell Posted July 4 Posted July 4 1 hour ago, =FB=Vaal said: Everything is within the current period. The pilot counter only increases. For example, if there were 10 pilots, then there were 9, it will still be divided by 10 until the end of the period. Yes, adding a pilot will lower the rating. Squad score are the sum of the score that pilots have earned while they were in the squad. Ok.. thank you again for your assistance with this.. 1
Orel_Ninos Posted September 27 Posted September 27 When updating statistics 1.2.86, this error is thrown: c:\Program Files\il2_stats\run>cd ../ c:\Program Files\il2_stats>".venv/Scripts/python.exe" -m pip install -U --quiet -r requirements.txt The system cannot find the path specified. c:\Program Files\il2_stats>pause Press any key to co Please advise
1CGS =FB=Vaal Posted September 27 1CGS Posted September 27 Error stating that the system cannot find the specified path - .venv/Scripts/python.exe - is the file located at this path? If not, then you probably need to reinstall the statistics. 1
Orel_Ninos Posted September 28 Posted September 28 21 hours ago, =FB=Vaal said: Error stating that the system cannot find the specified path - .venv/Scripts/python.exe - is the file located at this path? If not, then you probably need to reinstall the statistics. Thanks. Fixed! The error was in python, I had to install version 3.5.2
Turbinman08 Posted Sunday at 10:39 PM Posted Sunday at 10:39 PM @=FB=Vaal, Apologies for the upfront ping. I am just getting into the IL-2 game system (yes about 15 years late lol) and am trying to install your stats system. I currently have Python and PostgreSQL 17 installed for use with my DCS Server bot, so I'm assuming the software will work with your instructions. I'm getting the following errors when I run the install.cmd file: D:\il2_stats\run>cd ../ D:\il2_stats>python -m venv --clear .venv D:\il2_stats>".venv/Scripts/easy_install.exe" -q -U pip==20.3.4 '".venv/Scripts/easy_install.exe"' is not recognized as an internal or external command, operable program or batch file. D:\il2_stats>".venv/Scripts/python.exe" -m pip install --quiet -r requirements.txt error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [39 lines of output] Traceback (most recent call last): File "D:\il2_stats\.venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 389, in <module> main() ~~~~^^ File "D:\il2_stats\.venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 373, in main json_out["return_val"] = hook(**hook_input["kwargs"]) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\il2_stats\.venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 143, in get_requires_for_build_wheel return hook(config_settings) File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-pevbg33t\overlay\Lib\site-packages\setuptools\build_meta.py", line 331, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-pevbg33t\overlay\Lib\site-packages\setuptools\build_meta.py", line 301, in _get_build_requires self.run_setup() ~~~~~~~~~~~~~~^^ File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-pevbg33t\overlay\Lib\site-packages\setuptools\build_meta.py", line 512, in run_setup super().run_setup(setup_script=setup_script) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-pevbg33t\overlay\Lib\site-packages\setuptools\build_meta.py", line 317, in run_setup exec(code, locals()) ~~~~^^^^^^^^^^^^^^^^ File "<string>", line 127, in <module> File "<string>", line 105, in uses_msvc File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-pevbg33t\overlay\Lib\site-packages\setuptools\_distutils\command\config.py", line 213, in try_compile self._compile(body, headers, include_dirs, lang) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-pevbg33t\overlay\Lib\site-packages\setuptools\_distutils\command\config.py", line 129, in _compile self.compiler.compile([src], include_dirs=include_dirs) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-pevbg33t\overlay\Lib\site-packages\setuptools\_distutils\compilers\C\msvc.py", line 384, in compile self.initialize() ~~~~~~~~~~~~~~~^^ File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-pevbg33t\overlay\Lib\site-packages\setuptools\_distutils\compilers\C\msvc.py", line 294, in initialize vc_env = _get_vc_env(plat_spec) File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-pevbg33t\overlay\Lib\site-packages\setuptools\_distutils\compilers\C\msvc.py", line 155, in _get_vc_env raise DistutilsPlatformError( ...<3 lines>... ) distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. [notice] A new release of pip is available: 25.0.1 -> 25.2 [notice] To update, run: D:\il2_stats\.venv\Scripts\python.exe -m pip install --upgrade pip error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. D:\il2_stats>pause Press any key to continue . . .
1CGS =FB=Vaal Posted Sunday at 11:11 PM 1CGS Posted Sunday at 11:11 PM With PostgreSQL 17, the statistics will most likely not work. Functionality has been tested on PostgreSQL 9.5. It is quite possible that your version of Python differs from the one specified in the installation instructions - Python 3.5.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now