When does it become a requirement to add packages.txt file in your repo?

Hello @Negmat_Mullodzhanov,

To put it simply:

  • Python packages: any Python package available on PyPi should be in requirements.txt, those dependencies are installed through pip install -r requirements.txt
  • apt-get dependencies: any Debian package you normally install with apt-get install ...

Some Python packages depend on OS libraries: for example Pyspark would rely on Java JDK, or geckodriver would need Firefox. Those required OS libraries are usually documented in the project’s README.


I don’t think wikipedia here requires a OS library :thinking:. You’d see an error like ImportError: xxx: cannot open shared object file it in the black sidebar on the right.
Whenever you get a cannot open shared object file then you should suspect a missing OS library.
Are there any other errors in the sidebar? Maybe wikipedia wasn’t correctly installed and a reboot would do the work?

Have a good day,
Fanilo :balloon:

1 Like