| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- # View more python tutorials on my Youtube and Youku channel!!!
- # Youtube video tutorial: https://www.youtube.com/channel/UCdyjiB5H8Pu7aDTNVXTTpcg
- # Youku video tutorial: http://i.youku.com/pythontutorial
- # 2 - install
- """
- Make sure you have installed numpy.
- ------------------------------
- INSTALL on Linux:
- If you have python3, in terminal you will type:
- $ sudo apt-get install python3-matplotlib
- Otherwise, if python2, type:
- $ sudo apt-get install python-matplotlib
- -------------------------------
- INSTALL on MacOS
- For python3:
- $ pip3 install matplotlib
- For python2:
- $ pip install matplotlib
- --------------------------------
- INSTALL on Windows:
- 1. make sure you install Visual Studio;
- 2. go to: https://pypi.python.org/pypi/matplotlib/
- 3. find the wheel file (a file ending in .whl) matches your python version and system
- (e.g. cp35 for python3.5, win32 for 32-bit system, win_amd64 for 64-bit system);
- 4. Copy the .whl file to your project folder, open a command window,
- and navigate to the project folder. Then use pip to install matplotlib:
- e.g.
- > cd python_work
- python_work> python -m pip3 install matplotlib-1.4.3-cp35-none-win32.whl
- If not success. Try the alternative way: using "Anaconda" to install.
- Please search this by yourself.
- """
|