π 2023-01-12 β Session: Configured Jupyter and Linux Environment Variables
π 12:55β13:35
π·οΈ Labels: Jupyter, Vs Code, Linux, Environment Variables, Notebook Conversion
π Project: Dev
β Priority: MEDIUM
Session Goal: The session aimed to configure environment variables in Linux and manage Jupyter Notebook settings within VS Code for efficient development.
Key Activities:
- Added the directory β/home/matias/.local/binβ to the PATH environment variable for both bash and zsh shells, ensuring the changes are applied correctly.
- Implemented interactive-only tags in Jupyter Notebooks using VS Code to manage cell execution during script export.
- Explored methods to prevent code execution in exported Python scripts from Jupyter Notebooks, utilizing
#%%cell magic and function wrapping. - Resolved the
Unrecognized flag: '--tag'error injupyter nbconvertby suggesting upgrades and alternative packages likejupyter_execute_notebook. - Utilized
--TagRemovePreprocessor.remove_cell_tagsflag in Jupyter Notebook to exclude specific cells during script conversion.
Achievements:
- Successfully configured environment variables in Linux.
- Enhanced Jupyter Notebook management in VS Code, improving workflow efficiency.
Pending Tasks:
- Verify the effectiveness of the Jupyter Notebook configurations in a real-world project to ensure stability and performance.