-
After cloning the project open it up in the Compiler.
-
Press the combination of
Ctrl+j
or open the terminal from the upper "main menu" -> "Terminal" -> "new Terminal". -
First, make sure you have virtualenv installed. If not, install it using command:
pip install virtualenv
-
Create a new virtual environment with the name "virtual-environment" using this command:
virtualenv virtual-environment
-
This will create a new directory named 'virtual-environment' in your current directory, which will contain the virtual environment.
-
Activate the virtual environment by the following command:
-
virtual-environment\Scripts\activate
-
After activating the virtual environment, you should see the name of the environment in your command prompt or terminal, indicating that you are now working within the virtual environment.
-
Now Install the module using the command in the terminal:
pip install qrcode
-
After all the above steps run the file by running command:
python main.py
-
Then enter your URL to which you wanted to generate the QR Code.
-
The ".png" file will be downloaded in the local directory where code is saved.