Navigation

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

    twister.internet..

    Python SDK
    4
    8
    37
    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.
    • S
      Satyajg last edited by

      how to get the module twister.internet...looks like its not available

      S 1 Reply Last reply Reply Quote 0
      • S
        Satyajg @Satyajg last edited by

        @Satyajg i am trying to setup but facing issue

        File "H:\Algo Trading Coding\sample.py", line 2, in <module>
        from smartapi.smartConnect import SmartConnect #from smartapi import SmartConnect
        File "C:\Users\satya\AppData\Local\Programs\Python\Python39\lib\site-packages\smartapi_init_.py", line 4, in <module>
        from smartapi.webSocket import WebSocket
        File "C:\Users\satya\AppData\Local\Programs\Python\Python39\lib\site-packages\smartapi\webSocket.py", line 12, in <module>
        from twisted.internet import reactor, ssl
        ModuleNotFoundError: No module named 'twisted.internet'

        S 1 Reply Last reply Reply Quote 0
        • S
          Surya 1 @Satyajg last edited by

          @Satyajg

          pip install twisted

          S 1 Reply Last reply Reply Quote 0
          • S
            Satyajg @Surya 1 last edited by

            @rajanprabu i did that but still facing the issue..I am using Python 3.9...

            S F D 3 Replies Last reply Reply Quote 0
            • S
              Surya 1 @Satyajg last edited by

              @Satyajg

              ModuleNotFoundError: is a typical installation issue. make sure you call pip from same python version that you use for your scripts.

              1 Reply Last reply Reply Quote 0
              • F
                ForumUser 0 last edited by

                try this.. it worked for me

                step 1 : pip install pipwin

                step 2 : pipwin install twisted

                1 Reply Last reply Reply Quote 0
                • F
                  ForumUser 0 @Satyajg last edited by

                  @Satyajg

                  try this
                  step 1 : pip install pipwin

                  step 2 : pipwin install twisted

                  1 Reply Last reply Reply Quote 0
                  • D
                    dipeshbodas @Satyajg last edited by

                    @Satyajg

                    for Python 3 use below command

                    pip3 install twisted

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