Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    from SmartApi import smartConnect

    Python SDK
    2
    12
    165
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      A161430 last edited by

      from SmartApi import smartConnect

      I am new to smartAPI, We have trying to setup the code for login.

      Getting error as

      ================== RESTART: C:\D_Drive\Project_Python\setup.py =================
      Traceback (most recent call last):
      File "C:\D_Drive\Project_Python\setup.py", line 1, in <module>
      from SmartApi import smartConnect
      ModuleNotFoundError: No module named 'SmartApi'

      A 1 Reply Last reply Reply Quote 0
      • A
        admin @A161430 last edited by

        Hello @A161430 please use the following command to install SmartAPI lib.
        pip install smartapi-python on cmd.

        A 1 Reply Last reply Reply Quote 0
        • A
          A161430 @admin last edited by

          @admin said in from SmartApi import smartConnect:

          pip install smartapi-python

          C:\D_Drive\Project_Python\Scripts>pip install smartapi-python
          Fatal error in launcher: Unable to create process using '"c:\d_drive\python.exe" "C:\D_Drive\Project_Python\Scripts\pip.exe" install smartapi-python': The system cannot find the file specified.

          A 1 Reply Last reply Reply Quote 0
          • A
            admin @A161430 last edited by

            Hi @A161430 which idle are you using to execute your codes.

            A 1 Reply Last reply Reply Quote 0
            • A
              A161430 @admin last edited by

              @admin

              IDLE 3.9 64 bit

              503237ba-0917-4498-85e9-aa2a07bc9e3b-image.png

              A 1 Reply Last reply Reply Quote 0
              • A
                admin @A161430 last edited by

                Hi @A161430 provide with your client id to further assist you.

                A 1 Reply Last reply Reply Quote 0
                • A
                  A161430 @admin last edited by

                  @admin
                  A161430

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    A161430 @A161430 last edited by

                    @A161430

                    Can you please migrate my account A161430 for algo trading

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      admin @A161430 last edited by

                      Hi @A161430 we have noted your request.

                      A 1 Reply Last reply Reply Quote 0
                      • A
                        A161430 @admin last edited by

                        @admin
                        How much time it will take to migrate account

                        A 1 Reply Last reply Reply Quote 0
                        • A
                          A161430 @A161430 last edited by

                          @A161430
                          Is this requested has been taken care PLease confirm

                          A 1 Reply Last reply Reply Quote 0
                          • A
                            admin @A161430 last edited by admin

                            Dear @A161430 yes

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post