Setting up a project so it runs from a clean start

You are starting a new beam-deflection project that needs numpy and scipy. You want the IDE to run it in its own environment, and you want proof that the saved script works without relying on anything left over in memory. Put these steps in the order you should perform them.

  1. 1.

    Open the IDE's integrated terminal, which activates the selected interpreter, and install numpy and scipy there.

  2. 2.

    Run the saved script from top to bottom and confirm it finishes without errors.

  3. 3.

    Select that environment's interpreter as the project interpreter in the IDE.

  4. 4.

    Restart the IDE's console so it starts with an empty workspace and loads the newly installed packages.

  5. 5.

    Create a new virtual environment dedicated to the project.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Integrated Development Environment (IDE) Questions: