Navigation

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

    No module named 'logzero'

    Python SDK
    0
    3
    23
    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.
    • K
      kn last edited by

      Getting this error while running smartapi
      import SmartApi
      Traceback (most recent call last):
      File "<pyshell#2>", line 1, in <module>
      import SmartApi
      File "C:\Users\HP\AppData\Local\Programs\Python\Python310\lib\site-packages\SmartApi_init_.py", line 3, in <module>
      from SmartApi.smartConnect import SmartConnect
      File "C:\Users\HP\AppData\Local\Programs\Python\Python310\lib\site-packages\SmartApi\smartConnect.py", line 10, in <module>
      import logzero
      ModuleNotFoundError: No module named 'logzero'

      M N 2 Replies Last reply Reply Quote 0
      • M
        Moderator_3 @kn last edited by Moderator_3

        @kn

        Kindly run below commands to install logzero
        pip install logzero

        Regars,
        SmartAPI Team

        1 Reply Last reply Reply Quote 0
        • N
          NikhilPola @kn last edited by

          @kn (No need of installing manually in most of the cases) but make sure you have these before running

          1. json
          2. logging
          3. socket
          4. logzero

          These are used in different classes going forward.

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