Navigation

    Quantiacs Community

    • Register
    • Login
    • Search
    • Categories
    • News
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Error for importing quantiacs module

    Support
    3
    3
    359
    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
      steel.camel last edited by

      import qnt.output as qnout
      import qnt.ta as qnta
      import qnt.stats as qns
      import qnt.data as qndata

      File "/usr/local/lib/python3.7/site-packages/python_utils/init.py", line 1, in <module>
      from . import (

      File "/usr/local/lib/python3.7/site-packages/python_utils/converters.py", line 89
      if match := regexp.search(input_):
      ^
      SyntaxError: invalid syntax

      There wasn't any error until yesterday, but suddenly I cannot import quantiacs module. Any helps?

      A support 2 Replies Last reply Reply Quote 0
      • A
        antinomy @steel.camel last edited by

        @steel-camel

        !pip install --force-reinstall python_utils
        

        should fix the issue.
        But I have no idea what would have caused it, the line in converters.py is totally messed up. The only thing that comes to my mind is a cat on the keyboard 😉

        1 Reply Last reply Reply Quote 0
        • support
          support @steel.camel last edited by

          @steel-camel Sorry for the issue, it has been fixed.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB | Contributors
          • Documentation
          • About
          • Career
          • My account
          • Privacy policy
          • Terms and Conditions
          • Cookies policy
          Home
          Copyright © 2014 - 2021 Quantiacs LLC.
          Powered by NodeBB | Contributors