On Tuesday, September 13, 2016, Mills, Ryan <Ryan.Mills@texascapitalbank.com > wrote:I just recently downloaded Python 3.5 and cannot seem to install any packages like Numpy, etc. I have tried all the instructions on the website and keep getting errors:
For example, when I type “python –m pip install Numpy” it returns a Syntax Error. I am completely new to Python so I must be missing something here – I haven’t altered any files since installing it the other day. Do I use the Python IDLE Shell? Are there other packages I need to install first? Any help would be greatly appreciated.
Shell commands can/could/should be clearly indicated with a '$' prefix:$ python -m pip install numpyPython expressions are sometimes prefixed with '>>>':>>> import numpy as npTBH, as a beginner, it's probably way easier to start with Anaconda (conda packages) and pip (python packages) (because there are a number of libraries required to build numpy and then whatever else):- $ conda install pip; python -m pip install- $ which python; python -m siteThe software carpentry lessons are a good place to start from:Also great resources:- https://github.com/jrjohansson/scientific-python- (IPython/Jupyter nb)lectures - IDLE is pretty cool.- IPython is great.- Jupyter Notebook is a reverse shell.- Spyder ($ conda install spyder)- [commercial IDE preference]- If you write tests from the start, there's less run/check/run/check manual testing and more test coverage.
-Ryan
Ryan Mills
Quantitative Risk Analyst, Banking Officer
Capital Analytics & Stress Testing
2000 McKinney Avenue, Suite 700Dallas, TX 75201
214.932.6653 direct
20.6653 internal
ryan.mills@texascapitalbank.com
If you are not the addressee and have received this email in error, please notify me immediately. This email is confidential and may contain privileged or proprietary information that is unlawful for you to read, copy, distribute, disclose or otherwise use in any way.