Skip to content

Instantly share code, notes, and snippets.

View gregwalla's full-sized avatar

Gregory Wallace gregwalla

  • TotalEnergies
  • Paris
View GitHub Profile
@gregwalla
gregwalla / migration_challenges_solutions.md
Last active September 14, 2025 09:48
Python Environment Migration – Challenges & Solutions

Python Environment Migration – Challenges & Solutions

Problem / Challenge Solution / Workaround
No Python installed after hardware upgrade Downloaded and installed the latest stable Python distribution, ensuring the “Add Python to PATH” option was selected during installation.
Old virtual environment incompatible or missing Deleted the previous .venv folder and created a new virtual environment using python -m venv .venv.
No admin rights for installations Used a virtual environment, which allows package installations in u
import numpy as np
import seaborn as sns
import matplotlib.pylab as plt
import pandas as pd
import datetime
import warnings
warnings.filterwarnings('ignore')
#Update your file from:
#https://www.data.gouv.fr/fr/datasets/donnees-relatives-aux-resultats-des-tests-virologiques-covid-19/#_