Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Software Quality Tools
  3. Squish
  4. How to use Python virtual environments with Squish IDE 9.1.1?
Qt 6.11 is out! See what's new in the release blog

How to use Python virtual environments with Squish IDE 9.1.1?

Scheduled Pinned Locked Moved Solved Squish
squishpython
3 Posts 2 Posters 571 Views
  • 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.
  • M Offline
    M Offline
    Markus KS.
    wrote on last edited by
    #1

    Hello. I'm using Squish IDE 9.1.1 with Python scripts.

    For my tests, I need to install additional Python libraries to be used with the tests. Normally I would do

    pip install mylib
    

    or

    pipenv install mylib
    

    in my virtual environment. The documentation says:

    The Squish IDE ignores the Debug and Interpreters pane preferences. Squish uses the Python installation it is shipped with or an external Python installation set by squishconfig.

    But how do I set a virtual environment with squishconfig ?

    jsulmJ 1 Reply Last reply
    0
    • M Markus KS.

      Hello. I'm using Squish IDE 9.1.1 with Python scripts.

      For my tests, I need to install additional Python libraries to be used with the tests. Normally I would do

      pip install mylib
      

      or

      pipenv install mylib
      

      in my virtual environment. The documentation says:

      The Squish IDE ignores the Debug and Interpreters pane preferences. Squish uses the Python installation it is shipped with or an external Python installation set by squishconfig.

      But how do I set a virtual environment with squishconfig ?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Markus-KS. Is explained here: https://qatools.knowledgebase.qt.io/squish/howto/python-virtualenv/#step-2---configure-squish-to-use-external-python-installation

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2
      • M Offline
        M Offline
        Markus KS.
        wrote on last edited by
        #3

        Ah, perfect. Will try this on Monday. Thanks for the link and have a nice weekend!

        1 Reply Last reply
        0
        • M Markus KS. has marked this topic as solved on

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved