Skip to content

Instantly share code, notes, and snippets.

@jaidevd
Created September 23, 2024 14:08
Show Gist options
  • Save jaidevd/d763d80166dd4c39204c61f412f0b0af to your computer and use it in GitHub Desktop.
Save jaidevd/d763d80166dd4c39204c61f412f0b0af to your computer and use it in GitHub Desktop.
Pip / conda experiments

Hypothesis:

For a given package ABC, if conda installs it without any additional arguments, pip install the same package without any additional arguments, they are not coming from the same source. They will have a slightly different version, patch or minor.

Procedure:

  1. Below is a list of packages. Every day for a month, they will be installed in a fresh environment using conda, and another fresh environment using pip.
  2. The versions will be noted every day.
  3. At the end of the month, see which of the five packages deviated the most and the least, between their corresponding conda and pip versions.

Test Package Samples:

  • pandas
  • numpy
  • scipy
  • matplotlib
  • scikit-learn
  • requests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment