2

Lets say I wanted to add an external package to my python installation. If Canopy doesn't have it then you have to open up the GUI click tools and open the Canopy terminal and run pip install package which is fine and easy unless you don't have a graphical desktop installed or you are using ssh.

How do I: a) open the the Canopy Terminal tool and/or b) install external packages using only the system command line?

salotz
  • 429
  • 4
  • 20

2 Answers2

2

Just put the Canopy User Python environment at the head of your PATH. See this article: https://support.enthought.com/entries/23646538-Make-Canopy-User-Python-be-your-default-Python

Jonathan March
  • 5,800
  • 2
  • 14
  • 16
  • Ok, the tutorials say to open the terminal through tools menu and the prompt is different so I was thinking that it was somehow different. – salotz Jul 02 '15 at 17:13
  • Sorry for confusion. The Tools menu is the easiest way for most users but by no means the only way. – Jonathan March Jul 02 '15 at 18:04
0

When you want to use GUI you can see here useful tutorial. For example, in ubuntu: enter image description here

In the case when you want to use canopy without GUI, you need to activate your virtual environment using source: ~/my_venv/bin/activate. More about you can find here.

Vasyl Lyashkevych
  • 1,920
  • 2
  • 23
  • 38