Navigation

    Quantiacs Community

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

    Local Development Error "No module named 'qnt'"

    Support
    3
    9
    720
    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.
    • E
      EDDIEE last edited by

      Hi guys, local development doesn't work.
      I followed all the steps for installing local development.

      I run "conda activate qntdev"
      Then I create a Jupyter Notebook in this folder:
      "C:\Users\baiti\anaconda3\envs\qntdev"

      But when I run this Notebook I get always the error: "No module named 'qnt'"

      Can you help me out?

      Best
      Eddie

      support 1 Reply Last reply Reply Quote 1
      • support
        support @EDDIEE last edited by

        @eddiee Hi, local development works fine. The procedure for using Jupyter Notebook is:

        1. conda activate qntdev;

        2. then install jupyter as follows in the qntdev environment:

        conda install notebook python=3.7

        1. deactivate and reactivate env as follows:

        conda deactivate
        conda activate qntdev

        1. "C:\Users\baiti\anaconda3\envs\qntdev\bin\jupyter notebook"

        (note the bin!)

        Then try just to download data as follows:

        import os
        os.environ["API_KEY"]= "your key here"

        import qnt.data as qndata

        futures_data= qndata.futures.load_data(tail=365*16, dims=("time","field","asset"))

        1 Reply Last reply Reply Quote 0
        • E
          EDDIEE last edited by

          Sorry, but it still doesn't work.

          What should I do after step 4? I guess, I can't just type python commands in the powershell. How can I open the right Jupyter Notebook?

          b9ef9c2b-b3c6-48a2-b6d8-57b95e06bc42-image.png

          support 1 Reply Last reply Reply Quote 0
          • E
            EDDIEE last edited by

            This post is deleted!
            A 1 Reply Last reply Reply Quote 0
            • A
              antinomy @EDDIEE last edited by

              @eddiee Try step 4 without quotes, this should start jupyter notebook. And if that's your real API-key we see in the image, delete your last post. It's a bad idea to post it in a public forum 😉

              1 Reply Last reply Reply Quote 0
              • support
                support @EDDIEE last edited by

                @eddiee Hi, please follow @antinomy recommendation. We deleted your post with API key, that should not be shared for security.

                1 Reply Last reply Reply Quote 0
                • E
                  EDDIEE last edited by

                  Thanks for your support, I really appreciate, together we are better! 🙂

                  This is how I solved the step four issue:

                  84d48667-ba93-4ee2-8e09-413d97179593-image.png

                  Kind Regards
                  Eddie

                  E 1 Reply Last reply Reply Quote 1
                  • E
                    EDDIEE @EDDIEE last edited by

                    Hello friends,

                    how can I update my local development to the Q18 contest? Loading nasdaq data doesn't work.

                    Best
                    Eddie

                    d5d6e054-58ea-4573-b8e6-9b1a3025deae-image.png

                    support 1 Reply Last reply Reply Quote 0
                    • support
                      support @EDDIEE last edited by

                      @eddiee Hello! Please check here:

                      https://quantiacs.com/documentation/en/user_guide/local_development.html#updating-the-conda-environment

                      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