Last active
February 22, 2026 13:52
-
-
Save elPytel/10f5907751935e954192196b82cf7a7a to your computer and use it in GitHub Desktop.
jupyternotebook requirements installer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # instal requirements from jupiter notebook | |
| import os | |
| import sys | |
| #sys.path.append('../../') | |
| requirements_file = 'requirements.txt' | |
| if not os.path.exists(requirements_file): | |
| print(f"{requirements_file} not found. Please create it with the required packages.") | |
| sys.exit(1) | |
| !{sys.executable} -m pip install -r requirements.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment