/Python-Troubleshooter

Troubleshoot pkgs incompatibilities, runtime errors & vulnerabilities in Python envs for migrations & new version(s) installation with given pkgs (requirements.txt)

Primary LanguageJupyter NotebookOtherNOASSERTION

Python & Pkgs Migrations


HTML

Business Inquiries:

Business


Whatsapp Busines Inquiries only, no pw required 24/7.

Description
Ext. : .sh, .ipynb, .txt
Usage:

Follow these simple steps in order to solve dependencies incompatibilities, runtime errors & security vulnerabilities in your libraries to ensure Collaborations by matching the appropiate pkg versions that suit an environment.

Note: Deleting Python(s) kernels and executing required cells with a requirements.txt might also be a solution.
Tags: Python, Shell, Environment, Dependencies, Git

Steps:

1. Clone Repo

2. Run 1. & 2. to start migration from created requirements.txt.

pip is used as subprocess.

Subprocess
See also:


Output: Unix

Select a version for your new base / environment.


4. Respective .exe should be downloaded in pwd, execute it as needed.

Downloaded .exe: version

5. Run 3. to start migration.

Use the appropiate --upgrade-strategy
(upgrade pip if necessary) :

Strategies.
  • only-if-needed: Only upgrade the packages that are needed to satisfy the requirements.
  • eager: Upgrade all packages regardless of whether they are needed to satisfy the requirements.)

References:
Shell Script Python Git subprocess