On Tuesday, September 13, 2016, Mills, Ryan <ryan.mi...@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 numpy Python expressions are sometimes prefixed with '>>>': >>> import numpy as np TBH, 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): - https://docs.continuum.io/anaconda/ - $ conda install pip; python -m pip install - $ which python; python -m site The software carpentry lessons are a good place to start from: - http://software-carpentry.org/lessons/ - http://swcarpentry.github.io/python-novice-inflammation/ Also great resources: - http://www.scipy-lectures.org - https://github.com/jrjohansson/scientific-python-lectures (IPython/Jupyter nb) - https://westurner.org/wiki/awesome-python-testing#python - https://westurner.org/tools/#python - http://learnxinyminutes.com/docs/python/ - http://docs.python.org/2/library/unittest.html - https://westurner.org/tools/#numpy - 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* > > [image: cid:image001.jpg@01CA3228.EF8AEBA0] > > Capital Analytics & Stress Testing > 2000 McKinney Avenue, Suite 700 > > Dallas, TX 75201 > > 214.932.6653 direct > > 20.6653 internal > ryan.mi...@texascapitalbank.com > <javascript:_e(%7B%7D,'cvml','%5cx0bryan.mi...@texascapitalbank.com');> > > [image: cid:image001.jpg@01CA3228.EF8AEBA0] > > [image: TCB_horiz_Log_rgb] > > > > 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. > > > > >
_______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig