this is scaffold template for python Create the following:
- Makefile
- requirement.txt
-Linux system:
- virtial enviroment: python -m venv ~/.chatapp
- activate venv envi: source ~/.chatapp/bin/activate
- Windows system:
- virtial enviroment: python -m venv c:\venv\chatapp
- activate venv envi: C:\venv\chatapp\Scripts\activate.ps1
- hello.py file
- test_hello.py file
- to check the python version:
- in linux : which python
- in windows: Get-Command python | fl *
- get pack version:
- pip freeze | grep packName
- chanage bash to run venv :
- vim ~/.bashrc
- shift G to button, -# Setup Virtual Env
- source ~/.MLOps/bin/activate
- jupyter noteboke: - install ipykernel
- run command: - ipython kernel install --user --name=scrape