Error while running Python code.


  • Hii @Moderator_1

    when i am running pip install smartapi its showing the below error and when i am running No module named 'SmartApi'6ad60d14-3d48-46f8-bbcb-4592ab5f04e1-image.png
    Please help.


  • i hope you have figured it out,
    if not then just simply just change the location of your file "Python_Test_AngelOne" it
    since you are using from method to call a smart api it will look for a SMARTAPI folder in same directory and then search for library files

    just make a folder (let's say Test) keep the smartapi folder and your main "Python_Test_AngelOne" script in same Test folder do not put your script in smart api folder itself


  • Hi @Nichil72 Kindly provide the image again unable to see the image.
    c140de6d-7820-4ea0-9595-77cee24a8fd8-image.png