Home > OS >  How to run a Python project from GitHub to VSCode
How to run a Python project from GitHub to VSCode

Time:11-03

I would like to run this like this

and 2 enter image description here

and warnings like this enter image description here

and im cannot run the project. Can you help me with this ?

CodePudding user response:

The project you have installed seems to use modules.

After reading the above, I recommend you install all imported modules

EX:

import numpy as np
arr = np.array([1, 2, 3, 4, 5])
print(arr)
print(type(arr))

You would input pip install numpy in order to install the module.

CodePudding user response:

Go through the entire code and install all the imported packages, for example: numpy and others using pip install.

  • Related