Error when installing pygame

This page summarizes the projects mentioned and recommended in the original post on /r/pygame

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • pygame-ce

    🐍🎮 pygame - Community Edition is a FOSS Python library for multimedia applications (like games). Built on top of the excellent SDL library.

  • Collecting pygame-ce Using cached pygame-ce-2.3.0.tar.gz (13.9 MB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [41 lines of output] WARNING, No "Setup" File Exists, Running "buildconfig/config.py" Using UNIX configuration... Package freetype2 was not found in the pkg-config search path. Perhaps you should add the directory containing `freetype2.pc' to the PKG_CONFIG_PATH environment variable No package 'freetype2' found Package freetype2 was not found in the pkg-config search path. Perhaps you should add the directory containing `freetype2.pc' to the PKG_CONFIG_PATH environment variable No package 'freetype2' found Package freetype2 was not found in the pkg-config search path. Perhaps you should add the directory containing `freetype2.pc' to the PKG_CONFIG_PATH environment variable No package 'freetype2' found Traceback (most recent call last): File "", line 2, in File "", line 34, in File "/tmp/pip-install-8o7i616a/pygame-ce_d4a86eb8caa549cbae7655713042361d/setup.py", line 378, in buildconfig.config.main(AUTO_CONFIG) File "/tmp/pip-install-8o7i616a/pygame-ce_d4a86eb8caa549cbae7655713042361d/buildconfig/config.py", line 231, in main deps = CFG.main(**kwds, auto_config=auto) File "/tmp/pip-install-8o7i616a/pygame-ce_d4a86eb8caa549cbae7655713042361d/buildconfig/config_unix.py", line 238, in main DEPS.append(find_freetype()) File "/tmp/pip-install-8o7i616a/pygame-ce_d4a86eb8caa549cbae7655713042361d/buildconfig/config_unix.py", line 202, in find_freetype pkg_config = DependencyProg( File "/tmp/pip-install-8o7i616a/pygame-ce_d4a86eb8caa549cbae7655713042361d/buildconfig/config_unix.py", line 43, in __init__ self.ver = config[0].strip() IndexError: list index out of range Hunting dependencies... --- For help with compilation see: https://github.com/pygame-community/pygame-ce/wiki/Compiling-on-Linux To contribute to pygame-ce development see: https://github.com/pygame-community/pygame-ce --- [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts