to be clear i had some issues when installing, im running on arch linux so the pip install didn't work but i had all the dependencies installed on my system, when I run the program i get this crash
python main_window.py /GameDrive/SteamLibrary/steamapps/common/Cities_Skylines/CSLMapView/Nolthar-20260326-001559.cslmap
Loading terrain data: 1081 x 1081 points
Loading nodes: 3948 nodes
Loading segments: 3195 segments
Loading building: 1569 buildings
Loading transit: 6 transits
Traceback (most recent call last):
File "/home/tape/git/CSL-QMapViewer/main_window.py", line 123, in <module>
main_window = MainWindow('csl_mapper.ui')
File "/home/tape/git/CSL-QMapViewer/main_window.py", line 42, in __init__
self.load_city(sys.argv[1])
~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/home/tape/git/CSL-QMapViewer/main_window.py", line 81, in load_city
self.cartographer.draw_map(self.backend_size)
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "/home/tape/git/CSL-QMapViewer/cartographer.py", line 28, in draw_map
terrain_pixmap = QPixmap.fromImage(ImageQt.ImageQt(terrain_background))
TypeError: 'PySide6.QtGui.QPixmap.fromImage' called with wrong argument types:
PySide6.QtGui.QPixmap.fromImage(ImageQt)
Supported signatures:
PySide6.QtGui.QPixmap.fromImage(image: PySide6.QtGui.QImage, /, flags: PySide6.QtCore.Qt.ImageConversionFlag = Instance(Qt.AutoColor))
CSL-QMapViewer]$ pip install -r requirements.txt --break-system-packages
Defaulting to user installation because normal site-packages is not writeable
Collecting numpy==2.2.1 (from -r requirements.txt (line 1))
Downloading numpy-2.2.1.tar.gz (20.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 20.2/20.2 MB 12.1 MB/s 0:00:01
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting Pillow==11.0.0 (from -r requirements.txt (line 2))
Downloading pillow-11.0.0.tar.gz (46.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.7/46.7 MB 13.2 MB/s 0:00:03
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11; 1.26.0 Requires-Python >=3.9,<3.13; 1.26.1 Requires-Python >=3.9,<3.13; 6.0.0 Requires-Python >=3.6,<3.10; 6.0.0a1.dev1606911628 Requires-Python >=3.6,<3.10; 6.0.1 Requires-Python >=3.6,<3.10; 6.0.2 Requires-Python >=3.6,<3.10; 6.0.3 Requires-Python >=3.6,<3.10; 6.0.4 Requires-Python >=3.6,<3.10; 6.1.0 Requires-Python >=3.6,<3.10; 6.1.1 Requires-Python >=3.6,<3.10; 6.1.2 Requires-Python >=3.6,<3.10; 6.1.3 Requires-Python >=3.6,<3.10; 6.10.0 Requires-Python >=3.9,<3.14; 6.2.0 Requires-Python >=3.6,<3.11; 6.2.1 Requires-Python >=3.6,<3.11; 6.2.2 Requires-Python >=3.6,<3.11; 6.2.2.1 Requires-Python >=3.6,<3.11; 6.2.3 Requires-Python >=3.6,<3.11; 6.2.4 Requires-Python >=3.6,<3.11; 6.3.0 Requires-Python >=3.6,<3.11; 6.3.1 Requires-Python >=3.6,<3.11; 6.3.2 Requires-Python >=3.6,<3.11; 6.4.0.1 Requires-Python >=3.7,<3.12; 6.4.1 Requires-Python >=3.7,<3.12; 6.4.2 Requires-Python >=3.7,<3.12; 6.4.3 Requires-Python >=3.7,<3.12; 6.5.0 Requires-Python >=3.7,<3.12; 6.5.1 Requires-Python >=3.7,<3.12; 6.5.1.1 Requires-Python >=3.7,<3.12; 6.5.2 Requires-Python >=3.7,<3.12; 6.5.3 Requires-Python >=3.7,<3.12; 6.6.0 Requires-Python >=3.8,<3.13; 6.6.1 Requires-Python >=3.8,<3.13; 6.6.2 Requires-Python >=3.8,<3.13; 6.6.3 Requires-Python >=3.8,<3.13; 6.6.3.1 Requires-Python >=3.8,<3.13; 6.7.0 Requires-Python >=3.9,<3.13; 6.7.1 Requires-Python >=3.9,<3.13; 6.7.2 Requires-Python >=3.9,<3.13; 6.7.3 Requires-Python >=3.9,<3.13; 6.8.0 Requires-Python >=3.9,<3.13; 6.8.0.1 Requires-Python >=3.9,<3.13; 6.8.0.2 Requires-Python >=3.9,<3.14; 6.8.1 Requires-Python >=3.9,<3.14; 6.8.1.1 Requires-Python >=3.9,<3.14; 6.8.2 Requires-Python >=3.9,<3.14; 6.8.2.1 Requires-Python >=3.9,<3.14; 6.8.3 Requires-Python >=3.9,<3.14; 6.9.0 Requires-Python >=3.9,<3.14; 6.9.1 Requires-Python >=3.9,<3.14; 6.9.2 Requires-Python >=3.9,<3.14; 6.9.3 Requires-Python >=3.9,<3.14
ERROR: Could not find a version that satisfies the requirement PySide6==6.8.1 (from versions: 6.10.1, 6.10.2, 6.11.0)
ERROR: No matching distribution found for PySide6==6.8.1
to be clear i had some issues when installing, im running on arch linux so the pip install didn't work but i had all the dependencies installed on my system, when I run the program i get this crash
this is what happened when i tried to install the requirements