Difference between revisions of "Setting Up Canopy Environment"
Jump to navigation
Jump to search
m (Wbt3 moved page Setting Up Canopy Environment DISCARD ME to Setting Up Canopy Environment over redirect) |
|||
Line 1: | Line 1: | ||
=='''Setting Up Canopy Environment'''== | =='''Setting Up Canopy Environment'''== | ||
Use the follow instructions to set up your user environment to use canopy-1.4.1 (python): | Use the follow instructions to set up your user environment to use canopy-1.4.1 (python): | ||
+ | |||
+ | |||
+ | == Setting up Canopy in a bash shell == | ||
+ | |||
+ | * Run Canopy's setup command from the shell, setting it as the default version of Python. | ||
+ | /opt/canopy-1.4.1/canopy_cli --no-gui-setup setup --set-default ~/canopy | ||
+ | |||
+ | * Log out and log back in. You should see Python defaults to Canopy Python in your user environment: | ||
+ | bash-4.1$ which python | ||
+ | ~/canopy/bin/python | ||
+ | |||
+ | == Setting up Canopy in a windowed environment == | ||
* Run canopy: | * Run canopy: | ||
Line 14: | Line 26: | ||
VIRTUAL_ENV_DISABLE_PROMPT=1 source ~/Enthought/Canopy_32bit/User/bin/activate | VIRTUAL_ENV_DISABLE_PROMPT=1 source ~/Enthought/Canopy_32bit/User/bin/activate | ||
− | * Log out and log back in. You should see | + | * Log out and log back in. You should see Python defaults to Canopy Python in your user environment: |
− | + | bash-4.1$ which python | |
~/Enthought/Canopy_64bit/User/bin/python | ~/Enthought/Canopy_64bit/User/bin/python |
Latest revision as of 11:07, 26 May 2016
Setting Up Canopy Environment
Use the follow instructions to set up your user environment to use canopy-1.4.1 (python):
Setting up Canopy in a bash shell
- Run Canopy's setup command from the shell, setting it as the default version of Python.
/opt/canopy-1.4.1/canopy_cli --no-gui-setup setup --set-default ~/canopy
- Log out and log back in. You should see Python defaults to Canopy Python in your user environment:
bash-4.1$ which python ~/canopy/bin/python
Setting up Canopy in a windowed environment
- Run canopy:
/opt/canopy-1.4.1/canopy
- Click "Continue" on Canopy Environment Setup screen:
Error creating thumbnail: Unable to save thumbnail to destination
- Select "Yes" on Make Canopy your default Python environment screen and click "Start using Canopy". You can quit the GUI at this time.
Error creating thumbnail: Unable to save thumbnail to destination
- Add the following line in your .profile
VIRTUAL_ENV_DISABLE_PROMPT=1 source ~/Enthought/Canopy_32bit/User/bin/activate
- Log out and log back in. You should see Python defaults to Canopy Python in your user environment:
bash-4.1$ which python ~/Enthought/Canopy_64bit/User/bin/python