[Distutils] Module Installation Issues
Wes Turner
wes.turner at gmail.com
Thu Sep 15 08:53:44 EDT 2016
On Tuesday, September 13, 2016, Mills, Ryan <Ryan.Mills at 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 at 01CA3228.EF8AEBA0]
>
> Capital Analytics & Stress Testing
> 2000 McKinney Avenue, Suite 700
>
> Dallas, TX 75201
>
> 214.932.6653 direct
>
> 20.6653 internal
> ryan.mills at texascapitalbank.com
> <javascript:_e(%7B%7D,'cvml','%5Cx0bryan.mills at texascapitalbank.com');>
>
> [image: cid:image001.jpg at 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.
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20160915/8bd17a7e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 2346 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20160915/8bd17a7e/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.jpg
Type: image/jpeg
Size: 32315 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20160915/8bd17a7e/attachment-0004.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 6260 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20160915/8bd17a7e/attachment-0005.jpg>
More information about the Distutils-SIG
mailing list