Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing a package to Canopy

I'm really new to coding, programming, Python, and just computers in general, so I need some help with Canopy. I've been having pretty consistent troubles installing any packages to Canopy; some stuff is in the internal package manager,but whenever it isn't, it's really confusing. I guess I'll list a specific installation.

I'm trying to install "pywcs" (link provided below) to my Win7 64-bit machine. I have Cygwin if that helps at all. I do not know how to go about this; the stuff I found online is pretty confusing, and Cygwin easy_install (filename) never seems to work. Any step-by-step solutions?

like image 635
vdogsandman Avatar asked Dec 09 '22 14:12

vdogsandman


2 Answers

The way I installed astropy is as follows.

  1. Open Windows Terminal
  2. Change Directory to C:\Users\<USER NAME>\AppData\Local\Enthought\Canopy32\User\Scripts
  3. Type easy_install.exe astropy
  4. Wait until the download completes, and restart Enthought.

Astropy

like image 54
Sukrit Kalra Avatar answered Dec 16 '22 07:12

Sukrit Kalra


sometimes installing packages can be hard for enthought canopy . You could install all python packages using pip install mrjob command on the its own canopy command prompt

  1. Go to tools tab on the canopy editor ,
  2. Left click on the canopy command prompt ,
  3. Finally pip install <package name> and hit Enter key
like image 39
pcpcne Avatar answered Dec 16 '22 08:12

pcpcne