Skip to content

Latest commit

 

History

History
35 lines (30 loc) · 921 Bytes

README.md

File metadata and controls

35 lines (30 loc) · 921 Bytes

py-calculator

Simple calculator for tkinter practice

Clone the project

The packages used in the project are installed in a python virtual environment to avoid conflicts with existing packages. Follow the steps to clone and run the project in jupyter notebook

git clone https://github.com/rama-2402/py-calculator.git
cd py-calculator/

After navigating to the project directory, Create a virtual environment and install the packges using the following commands.

python3 -m venv venv/

#If you are using bash shell 
source venv/bin/activate 

#If you are using Fish shell
source venv/bin/activate.fish

#To install the necessary dependencies
pip install -r requirements.txt 

Troubleshooting

#Nuke the environment
rm -r venv/

#Install a new environment and dependencies
python3 -m venv venv/                 
pip install -r requirements.txt 

Open Calculator

python3 calculator.py