Win10(python3.6) 安装 mayavi4.6

0. Mayavi简介

用途:3D Scientific Data Visualization and Plotting。

1. 系统环境

系统:win10
Python:python3.7.0
Pip:18.0


image.png

2. 安装方式一(pip,失败)

参考指引:https://pypi.org/project/mayavi/

image.png

2.1. 克隆仓库

输入指令:

git clone https://github.com/enthought/mayavi.git

克隆完成:


image.png

2.2. 安装依赖

在 mayvai目录下一看到一个 requirements.txt,其指定了安装 mayvai 所需依赖项:


image.png

cd 到 mayavi,安装依赖项:

cd mayavi
pip install -r requirements.txt

安装过程,除了vtk,其他均安装成功。


image.png

3. 安装方式二(conda,失败)

更新所有包:

conda upgrade --all

更新完成后,查看有哪些包及其对应的版本号:

conda list
# packages in environment at C:\Users\sille\Anaconda3:
#
_ipyw_jlab_nb_ext_conf    0.1.0                    py36_0    defaults
_license                  1.1                      py36_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
alabaster                 0.7.10                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
anaconda                  custom                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
anaconda-client           1.6.3                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
anaconda-navigator        1.6.4                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
anaconda-project          0.6.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
asn1crypto                0.22.0                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
astroid                   1.5.3                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
astropy                   2.0.2            py36h75fd4a5_4    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
attrs                     15.2.0                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
babel                     2.5.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
backcall                  0.1.0                    py36_0    defaults
backports                 1.0                      py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
backports.shutil_get_terminal_size 1.0.0                    py36_2    defaults
beautifulsoup4            4.6.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
bitarray                  0.8.1                    py36_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
bkcharts                  0.2                      py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
blas                      1.0                         mkl    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
blaze                     0.10.1                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
bleach                    1.5.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
blosc                     1.7.0                    vc14_2    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
bokeh                     0.12.7                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
boto                      2.48.0                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
bottleneck                1.2.1               np113py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
bzip2                     1.0.6                    vc14_3    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
ca-certificates           2018.03.07                    0    defaults
certifi                   2016.2.28                py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
cffi                      1.10.0                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
chardet                   3.0.4                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
click                     6.7                      py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
cloudpickle               0.4.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
clyent                    1.2.2                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
colorama                  0.3.9                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
comtypes                  1.1.2                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
conda                     4.3.30           py36h7e176b0_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
conda-build               3.0.19           py36h3906c28_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
conda-env                 2.6.0                         0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
conda-verify              2.0.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
console_shortcut          0.1.1                    py36_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
contextlib2               0.5.5                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
cryptography              1.8.1                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
curl                      7.52.1                   vc14_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
cycler                    0.10.0                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
cython                    0.26                     py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
cytoolz                   0.8.2                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
dask                      0.15.2                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
dask-core                 0.20.2                   py36_0    defaults
datashape                 0.5.4                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
decorator                 4.1.2                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
distributed               1.18.1                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
docutils                  0.14                     py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
entrypoints               0.2.3                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
et_xmlfile                1.0.1                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
fastcache                 1.0.2                    py36_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
filelock                  2.0.7                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
flask                     0.12.2                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
flask-cors                3.0.3                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
freetype                  2.5.5                    vc14_2    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
get_terminal_size         1.0.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
gevent                    1.2.2                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
glob2                     0.5                      py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
greenlet                  0.4.12                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
h5py                      2.7.0               np113py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
hdf5                      1.8.15.1                 vc14_4    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
heapdict                  1.0.0                    py36_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
html5lib                  0.9999999                py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
icc_rt                    2017.0.4             h97af966_0    defaults
icu                       57.1                     vc14_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
idna                      2.6                      py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
imageio                   2.4.1                    py36_0    defaults
imagesize                 0.7.1                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
intel-openmp              2019.0                      118    defaults
ipykernel                 4.6.1                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
ipython                   6.1.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
ipython_genutils          0.2.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
ipywidgets                6.0.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
isort                     4.2.15                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
itsdangerous              0.24                     py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
jdcal                     1.3                      py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
jedi                      0.10.2                   py36_2    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
jinja2                    2.9.6                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
jpeg                      9b                       vc14_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
jsonschema                2.6.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
jupyter                   1.0.0                    py36_3    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
jupyter_client            5.1.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
jupyter_console           5.2.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
jupyter_core              4.3.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
jupyterlab                0.35.3                   py36_0    defaults
jupyterlab_launcher       0.13.1                   py36_0    defaults
jupyterlab_server         0.2.0                    py36_0    defaults
kiwisolver                1.0.1            py36h6538335_0    defaults
lazy-object-proxy         1.3.1                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
libcurl                   7.61.1               h7602738_0    defaults
libiconv                  1.14                     vc14_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
libpng                    1.6.30                   vc14_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
libsodium                 1.0.3                         0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
libssh2                   1.8.0                    vc14_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
libtiff                   4.0.6                    vc14_3    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
libxml2                   2.9.4            vc14h8fd0f11_5    defaults
libxslt                   1.1.29               h0037b19_6    defaults
llvmlite                  0.20.0                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
locket                    0.2.0                    py36_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
lxml                      3.8.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
lzo                       2.10                 h6df0209_2    defaults
m2w64-gcc-libgfortran     5.3.0                         6    defaults
m2w64-gcc-libs            5.3.0                         7    defaults
m2w64-gcc-libs-core       5.3.0                         7    defaults
m2w64-gmp                 6.1.0                         2    defaults
m2w64-libwinpthread-git   5.0.0.4634.697f757               2    defaults
markupsafe                1.0                      py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
matplotlib                2.0.2               np113py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
mccabe                    0.6.1                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
menuinst                  1.4.7                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
mistune                   0.7.4                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
mkl                       2019.0                      118    defaults
mkl-service               1.1.2                    py36_3    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
mkl_fft                   1.0.6            py36hdbbee80_0    defaults
mkl_random                1.0.1            py36h77b88f5_1    defaults
more-itertools            3.2.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
mpmath                    0.19                     py36_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
msgpack-python            0.4.8                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
msys2-conda-epoch         20160418                      1    defaults
multipledispatch          0.4.9                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
navigator-updater         0.1.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
nbconvert                 5.2.1                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
nbformat                  4.4.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
networkx                  1.11                     py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
nltk                      3.2.4                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
nose                      1.3.7                    py36_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
notebook                  5.0.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
numba                     0.35.0              np113py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
numexpr                   2.6.8            py36h9ef55f4_0    defaults
numpy                     1.13.3           py36h5c71026_4    defaults
numpy-base                1.15.4           py36h8128ebf_0    defaults
numpydoc                  0.7.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
odo                       0.5.1                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
olefile                   0.44                     py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
openpyxl                  2.4.8                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
openssl                   1.0.2l                   vc14_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
packaging                 16.8                     py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pandas                    0.20.3                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pandoc                    1.19.2.1                      1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pandocfilters             1.4.2                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
parso                     0.3.1                    py36_0    defaults
partd                     0.3.8                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
path.py                   10.3.1                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pathlib2                  2.3.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
patsy                     0.4.1                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pep8                      1.7.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pickleshare               0.7.4                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pillow                    4.2.1                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pip                       9.0.1                    py36_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pkginfo                   1.4.1                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pluggy                    0.8.0                    py36_0    defaults
ply                       3.10                     py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
prompt_toolkit            1.0.15                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
psutil                    5.2.2                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
py                        1.4.34                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pycodestyle               2.3.1                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pycosat                   0.6.2                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pycparser                 2.18                     py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pycrypto                  2.6.1                    py36_6    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pycurl                    7.43.0                   py36_2    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pyflakes                  1.6.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pygments                  2.2.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pylint                    1.7.2                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pyodbc                    4.0.17                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pyopenssl                 17.0.0                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pyparsing                 2.2.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pyqt                     5.6.0                    py36_2    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pysocks                   1.6.6                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pytables                  3.2.2               np113py36_4    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pytest                    3.2.1                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pytest-arraydiff          0.2              py36h39e3cac_0    defaults
pytest-astropy            0.4.0                    py36_0    defaults
pytest-doctestplus        0.2.0                    py36_0    defaults
pytest-openfiles          0.3.0                    py36_0    defaults
pytest-remotedata         0.3.1                    py36_0    defaults
python                    3.6.2                         0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
python-dateutil           2.6.1                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pytz                      2017.2                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pywavelets                0.5.2               np113py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pywin32                   220                      py36_2    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pywinpty                  0.5.4                    py36_0    defaults
pyyaml                    3.12                     py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pyzmq                     16.0.2                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
qt                        5.6.2                    vc14_6    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
qtawesome                 0.4.4                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
qtconsole                 4.3.1                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
qtpy                      1.3.1                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
requests                  2.14.2                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
rope                      0.9.4                    py36_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
ruamel_yaml               0.11.14                  py36_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
scikit-image              0.13.0              np113py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
scikit-learn              0.20.0           py36heebcf9a_1    defaults
scipy                     1.1.0            py36hc28095f_0    defaults
seaborn                   0.8                      py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
send2trash                1.5.0                    py36_0    defaults
setuptools                36.4.0                   py36_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
simplegeneric             0.8.1                    py36_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
singledispatch            3.4.0.3                  py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
sip                       4.18                     py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
six                       1.10.0                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
snappy                    1.1.6                    vc14_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
snowballstemmer           1.2.1                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
sortedcollections         0.5.3                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
sortedcontainers          1.5.7                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
sphinx                    1.6.3                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
sphinxcontrib             1.0                      py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
sphinxcontrib-websupport  1.0.1                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
spyder                    3.2.3                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
sqlalchemy                1.1.13                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
sqlite                    3.13.0                   vc14_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
statsmodels               0.8.0               np113py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
sympy                     1.1.1                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
tblib                     1.3.2                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
terminado                 0.8.1                    py36_1    defaults
testpath                  0.3.1                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
tk                        8.5.18                   vc14_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
toolz                     0.8.2                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
tornado                   4.5.2                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
traitlets                 4.3.2                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
typing                    3.6.2                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
unicodecsv                0.14.1                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
urllib3                   1.21.1                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
vc                        14                            0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
vs2015_runtime            14.0.25420                    0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
wcwidth                   0.1.7                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
webencodings              0.5.1                    py36_1    defaults
werkzeug                  0.12.2                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
wheel                     0.29.0                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
widgetsnbextension        3.0.2                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
win_inet_pton             1.0.1                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
win_unicode_console       0.5                      py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
wincertstore              0.2                      py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
winpty                    0.4.3                         4    defaults
wrapt                     1.10.11                  py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
xlrd                      1.1.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
xlsxwriter                0.9.8                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
xlwings                   0.11.4                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
xlwt                      1.3.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
yaml                      0.1.6                         0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
zeromq                    4.1.3                    vc14_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
zict                      0.1.2                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
zlib                      1.2.11                   vc14_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free

输入如下命令(-c指定安装源,它后面跟的是一个安装源url,这里的menpo指的是一个安装源),安装 mayavi:

conda install -c menpo mayavi=4.5.0

提示 UnsatisfiableError:


image.png

包冲突!mayavi 4.5.0 需要 python2.6,而当前化境下的 python 版本为 3.6

Fetching package metadata ...............

mayavi 4.3.0 np17py27_0
-----------------------
file name   : mayavi-4.3.0-np17py27_0.tar.bz2
name        : mayavi
version     : 4.3.0
build string: np17py27_0
build number: 0
channel     : defaults
size        : 9.6 MB
arch        : x86_64
date        : 2013-08-05
license     : BSD
md5         : f7623b3f0135ceb40d2efe212e1a2a55
noarch      : None
platform    : win32
url         : https://repo.continuum.io/pkgs/free/win-64/mayavi-4.3.0-np17py27_0.tar.bz2
dependencies:
    apptools 4.2.0
    envisage 4.3.0
    numpy 1.7*
    python 2.7*
    traitsui 4.3.0
    vtk 5.10.1

mayavi 4.3.0 np17py27_1
-----------------------
file name   : mayavi-4.3.0-np17py27_1.tar.bz2
name        : mayavi
version     : 4.3.0
build string: np17py27_1
build number: 1
channel     : defaults
size        : 10.1 MB
arch        : x86_64
date        : 2013-09-04
license     : BSD
md5         : 82a2310cf389d8176ff2f4a5e15634ec
noarch      : None
platform    : win32
url         : https://repo.continuum.io/pkgs/free/win-64/mayavi-4.3.0-np17py27_1.tar.bz2
dependencies:
    apptools 4.2.0
    envisage 4.3.0
    numpy 1.7*
    pyside 1.2.1
    python 2.7*
    traitsui 4.3.0
    vtk 5.10.1

mayavi 4.3.0 np17py27_2
-----------------------
file name   : mayavi-4.3.0-np17py27_2.tar.bz2
name        : mayavi
version     : 4.3.0
build string: np17py27_2
build number: 2
channel     : defaults
size        : 10.1 MB
arch        : x86_64
date        : 2013-11-03
license     : BSD
md5         : fd97db0b3b4fb1bd48639323d0af9b9c
noarch      : None
platform    : win32
url         : https://repo.continuum.io/pkgs/free/win-64/mayavi-4.3.0-np17py27_2.tar.bz2
dependencies:
    apptools 4.2.0
    envisage 4.3.0
    numpy 1.7*
    pyside 1.2.1
    python 2.7*
    traitsui 4.3.0
    vtk 5.10.1

mayavi 4.3.0 np17py27_3
-----------------------
file name   : mayavi-4.3.0-np17py27_3.tar.bz2
name        : mayavi
version     : 4.3.0
build string: np17py27_3
build number: 3
channel     : defaults
size        : 10.1 MB
arch        : x86_64
date        : 2014-01-01
license     : BSD
md5         : c97c637e27cf843297b912554ef6fb61
noarch      : None
platform    : win32
url         : https://repo.continuum.io/pkgs/free/win-64/mayavi-4.3.0-np17py27_3.tar.bz2
dependencies:
    apptools 4.2.0
    envisage 4.4.0
    numpy 1.7*
    pyside 1.2.1
    python 2.7*
    traitsui 4.4.0
    vtk 5.10.1

mayavi 4.3.0 np17py27_4
-----------------------
file name   : mayavi-4.3.0-np17py27_4.tar.bz2
name        : mayavi
version     : 4.3.0
build string: np17py27_4
build number: 4
channel     : defaults
size        : 10.1 MB
arch        : x86_64
date        : 2014-01-22
license     : BSD
md5         : e05eada9ddc9f33fccf275a0e3462b51
noarch      : None
platform    : win32
url         : https://repo.continuum.io/pkgs/free/win-64/mayavi-4.3.0-np17py27_4.tar.bz2
dependencies:
    apptools 4.2.0
    envisage 4.4.0
    numpy 1.7*
    pyside 1.2.1
    python 2.7*
    setuptools
    traitsui 4.4.0
    vtk 5.10.1

mayavi 4.3.1 np18py27_0
-----------------------
file name   : mayavi-4.3.1-np18py27_0.tar.bz2
name        : mayavi
version     : 4.3.1
build string: np18py27_0
build number: 0
channel     : defaults
size        : 10.1 MB
arch        : x86_64
date        : 2014-02-07
license     : BSD
md5         : eada20c1e92c7bac4950dca9ab94d10a
noarch      : None
platform    : win32
url         : https://repo.continuum.io/pkgs/free/win-64/mayavi-4.3.1-np18py27_0.tar.bz2
dependencies:
    apptools 4.2.1
    envisage 4.4.0
    numpy 1.8*
    pyside 1.2.1
    python 2.7*
    setuptools
    traitsui 4.4.0
    vtk 5.10.1

mayavi 4.3.1 np18py27_1
-----------------------
file name   : mayavi-4.3.1-np18py27_1.tar.bz2
name        : mayavi
version     : 4.3.1
build string: np18py27_1
build number: 1
channel     : defaults
size        : 10.1 MB
arch        : x86_64
date        : 2014-05-01
license     : BSD
md5         : 3742f9d363a199e982a6227e1cabe4c4
noarch      : None
platform    : win32
url         : https://repo.continuum.io/pkgs/free/win-64/mayavi-4.3.1-np18py27_1.tar.bz2
dependencies:
    apptools 4.2.1
    envisage 4.4.0
    numpy 1.8*
    pyqt 4.*
    python 2.7*
    setuptools
    traitsui 4.4.0
    vtk 5.10.1

mayavi 4.3.1 np19py27_1
-----------------------
file name   : mayavi-4.3.1-np19py27_1.tar.bz2
name        : mayavi
version     : 4.3.1
build string: np19py27_1
build number: 1
channel     : defaults
size        : 10.1 MB
arch        : x86_64
date        : 2014-09-09
license     : BSD
md5         : 13a8fa19a6803f5fc4a35158ccf2ed3a
noarch      : None
platform    : win32
url         : https://repo.continuum.io/pkgs/free/win-64/mayavi-4.3.1-np19py27_1.tar.bz2
dependencies:
    apptools 4.2.1
    envisage 4.4.0
    numpy 1.9*
    pyqt 4.*
    python 2.7*
    setuptools
    traitsui 4.4.0
    vtk 5.10.1

mayavi 4.4.0 np19py27_0
-----------------------
file name   : mayavi-4.4.0-np19py27_0.tar.bz2
name        : mayavi
version     : 4.4.0
build string: np19py27_0
build number: 0
channel     : defaults
size        : 10.4 MB
arch        : x86_64
date        : 2015-03-10
license     : BSD
md5         : d12ec25879787135e1b49350007c70d7
noarch      : None
platform    : win32
url         : https://repo.continuum.io/pkgs/free/win-64/mayavi-4.4.0-np19py27_0.tar.bz2
dependencies:
    apptools 4.2.1
    envisage 4.4.0
    numpy 1.9*
    pyqt 4.*
    python 2.7*
    setuptools
    traitsui 4.4.0
    vtk 5.10.1

mayavi 4.5.0 py27_0
-------------------
file name   : mayavi-4.5.0-py27_0.tar.bz2
name        : mayavi
version     : 4.5.0
build string: py27_0
build number: 0
channel     : defaults
size        : 12.1 MB
arch        : x86_64
date        : 2016-12-07
license     : BSD
md5         : 801b1a65266c149e3553b6a0c5316c9c
noarch      : None
platform    : win32
url         : https://repo.continuum.io/pkgs/free/win-64/mayavi-4.5.0-py27_0.tar.bz2
dependencies:
    apptools >=4.4
    envisage >=4.5
    numpy
    pyqt 4.*
    python 2.7*
    traitsui >=5.1
    vtk

mayavi 4.3.0 np17py27_0
-----------------------
file name   : mayavi-4.3.0-np17py27_0.tar.bz2
name        : mayavi
version     : 4.3.0
build string: np17py27_0
build number: 0
channel     : https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
size        : 9.6 MB
arch        : x86_64
date        : 2013-08-05
license     : BSD
md5         : f7623b3f0135ceb40d2efe212e1a2a55
noarch      : None
platform    : win32
url         : https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/win-64/mayavi-4.3.0-np17py27_0.tar.bz2
dependencies:
    apptools 4.2.0
    envisage 4.3.0
    numpy 1.7*
    python 2.7*
    traitsui 4.3.0
    vtk 5.10.1

mayavi 4.3.0 np17py27_1
-----------------------
file name   : mayavi-4.3.0-np17py27_1.tar.bz2
name        : mayavi
version     : 4.3.0
build string: np17py27_1
build number: 1
channel     : https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
size        : 10.1 MB
arch        : x86_64
date        : 2013-09-04
license     : BSD
md5         : 82a2310cf389d8176ff2f4a5e15634ec
noarch      : None
platform    : win32
url         : https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/win-64/mayavi-4.3.0-np17py27_1.tar.bz2
dependencies:
    apptools 4.2.0
    envisage 4.3.0
    numpy 1.7*
    pyside 1.2.1
    python 2.7*
    traitsui 4.3.0
    vtk 5.10.1

mayavi 4.3.0 np17py27_2
-----------------------
file name   : mayavi-4.3.0-np17py27_2.tar.bz2
name        : mayavi
version     : 4.3.0
build string: np17py27_2
build number: 2
channel     : https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
size        : 10.1 MB
arch        : x86_64
date        : 2013-11-03
license     : BSD
md5         : fd97db0b3b4fb1bd48639323d0af9b9c
noarch      : None
platform    : win32
url         : https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/win-64/mayavi-4.3.0-np17py27_2.tar.bz2
dependencies:
    apptools 4.2.0
    envisage 4.3.0
    numpy 1.7*
    pyside 1.2.1
    python 2.7*
    traitsui 4.3.0
    vtk 5.10.1

mayavi 4.3.0 np17py27_3
-----------------------
file name   : mayavi-4.3.0-np17py27_3.tar.bz2
name        : mayavi
version     : 4.3.0
build string: np17py27_3
build number: 3
channel     : https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
size        : 10.1 MB
arch        : x86_64
date        : 2014-01-01
license     : BSD
md5         : c97c637e27cf843297b912554ef6fb61
noarch      : None
platform    : win32
url         : https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/win-64/mayavi-4.3.0-np17py27_3.tar.bz2
dependencies:
    apptools 4.2.0
    envisage 4.4.0
    numpy 1.7*
    pyside 1.2.1
    python 2.7*
    traitsui 4.4.0
    vtk 5.10.1

mayavi 4.3.0 np17py27_4
-----------------------
file name   : mayavi-4.3.0-np17py27_4.tar.bz2
name        : mayavi
version     : 4.3.0
build string: np17py27_4
build number: 4
channel     : https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
size        : 10.1 MB
arch        : x86_64
date        : 2014-01-22
license     : BSD
md5         : e05eada9ddc9f33fccf275a0e3462b51
noarch      : None
platform    : win32
url         : https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/win-64/mayavi-4.3.0-np17py27_4.tar.bz2
dependencies:
    apptools 4.2.0
    envisage 4.4.0
    numpy 1.7*
    pyside 1.2.1
    python 2.7*
    setuptools
    traitsui 4.4.0
    vtk 5.10.1

mayavi 4.3.1 np18py27_0
-----------------------
file name   : mayavi-4.3.1-np18py27_0.tar.bz2
name        : mayavi
version     : 4.3.1
build string: np18py27_0
build number: 0
channel     : https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
size        : 10.1 MB
arch        : x86_64
date        : 2014-02-07
license     : BSD
md5         : eada20c1e92c7bac4950dca9ab94d10a
noarch      : None
platform    : win32
url         : https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/win-64/mayavi-4.3.1-np18py27_0.tar.bz2
dependencies:
    apptools 4.2.1
    envisage 4.4.0
    numpy 1.8*
    pyside 1.2.1
    python 2.7*
    setuptools
    traitsui 4.4.0
    vtk 5.10.1

mayavi 4.3.1 np18py27_1
-----------------------
file name   : mayavi-4.3.1-np18py27_1.tar.bz2
name        : mayavi
version     : 4.3.1
build string: np18py27_1
build number: 1
channel     : https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
size        : 10.1 MB
arch        : x86_64
date        : 2014-05-01
license     : BSD
md5         : 3742f9d363a199e982a6227e1cabe4c4
noarch      : None
platform    : win32
url         : https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/win-64/mayavi-4.3.1-np18py27_1.tar.bz2
dependencies:
    apptools 4.2.1
    envisage 4.4.0
    numpy 1.8*
    pyqt 4.*
    python 2.7*
    setuptools
    traitsui 4.4.0
    vtk 5.10.1

mayavi 4.3.1 np19py27_1
-----------------------
file name   : mayavi-4.3.1-np19py27_1.tar.bz2
name        : mayavi
version     : 4.3.1
build string: np19py27_1
build number: 1
channel     : https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
size        : 10.1 MB
arch        : x86_64
date        : 2014-09-09
license     : BSD
md5         : 13a8fa19a6803f5fc4a35158ccf2ed3a
noarch      : None
platform    : win32
url         : https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/win-64/mayavi-4.3.1-np19py27_1.tar.bz2
dependencies:
    apptools 4.2.1
    envisage 4.4.0
    numpy 1.9*
    pyqt 4.*
    python 2.7*
    setuptools
    traitsui 4.4.0
    vtk 5.10.1

mayavi 4.4.0 np19py27_0
-----------------------
file name   : mayavi-4.4.0-np19py27_0.tar.bz2
name        : mayavi
version     : 4.4.0
build string: np19py27_0
build number: 0
channel     : https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
size        : 10.4 MB
arch        : x86_64
date        : 2015-03-10
license     : BSD
md5         : d12ec25879787135e1b49350007c70d7
noarch      : None
platform    : win32
url         : https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/win-64/mayavi-4.4.0-np19py27_0.tar.bz2
dependencies:
    apptools 4.2.1
    envisage 4.4.0
    numpy 1.9*
    pyqt 4.*
    python 2.7*
    setuptools
    traitsui 4.4.0
    vtk 5.10.1

mayavi 4.5.0 py27_0
-------------------
file name   : mayavi-4.5.0-py27_0.tar.bz2
name        : mayavi
version     : 4.5.0
build string: py27_0
build number: 0
channel     : https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
size        : 12.1 MB
arch        : x86_64
date        : 2016-12-07
license     : BSD
md5         : 801b1a65266c149e3553b6a0c5316c9c
noarch      : None
platform    : win32
url         : https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/win-64/mayavi-4.5.0-py27_0.tar.bz2
dependencies:
    apptools >=4.4
    envisage >=4.5
    numpy
    pyqt 4.*
    python 2.7*
    traitsui >=5.1
    vtk
image.png
image.png

4. 安装方式三(whl,成功)

4.1. 准备

我使用conda创建了一个python3.6的环境,用于安装 mayavi4.6(##mayavi4.5 需安装在 python3.5 环境中##):

conda create -n py36 python=3.6
image.png

激活环境:


image.png

访问 https://www.lfd.uci.edu/~gohlke/pythonlibs/,下载以下四个whl(python3.6版本,win64位)文件:

mayavi-4.6.2+vtk81-cp36-cp36m-win_amd64
PyQt4-4.11.4-cp36-cp36m-win_amd64
traits-4.6.0-cp36-cp36m-win_amd64
VTK-8.1.2-cp36-cp36m-win_amd64

我顺便下了python3.7版本的,备用:


image.png

终端 cd 到 whl 存放目录,执行如下命令开始安装(安装顺序为 PyQt、traits、VTK、mayavi):

pip install xxx.whl

4.2. 安装 PyQt4

image.png

4.3. 安装 traits4.6.0

image.png

4.4. 安装 VTK8.1.2

image.png

4.5. 安装 mayavi4.6.2

安装mayavi4.6.2时,会自动安装其所需要的依赖包(也是通过下载whl文件来安装):pyments、pyface、apptools、vtk(4.4节已安装好)、traits(4.3节已安装好)、traisui、numpy、envisage、configobj、six。
安装过程如下:

image.png

下载 numpy-1.15.4-cp36-none-win_amd64.whl 的时候抛了异常:
exception1.png

exception2.png

原因是超时:socket.timeout: The read operation timed out、socket.timeout: The read operation timed out
在终端重新执行 mayavi 的安装命令:

pip install "mayavi-4.6.2+vtk81-cp36-cp36m-win_amd64.whl"
image.png

上图可以看出:

  • 重新执行 mayavi 的安装命令,会重新检查各个依赖项(requirements)
  • 前一次执行 mayavi 安装命令时,traisui、pyface、apptools、pyments已经下载好,所以本次直接使用了缓存(Using chache)
    -numpy在上次执行 mayavi 安装命令时下载失败了,所以本次重新下载
1.png

所有依赖下载完成后,开始为包构建轮子(Building wheels for collected packages...)、安装包(Installing collected packages...):


image.png

至此,成功安装 mayavi。

4.6. 测试

先安装 ipython,有如下两个原因:

  • ipython命令行可以输入多行代码
  • mayavi是安装在虚拟环境py36中的,该环境未安装ipython,如果在该环境强行打开ipython,打开的是系统的ipython,而这个ipython中是没有mayavi的
    [图片上传失败...(image-ee735c-1542630789079)]

在py36环境下执行命令:

conda intall ipython
image.png

image.png

4.6.1. 绘制3D曲面(surface)

打开 ipython,输入测试代码:

import numpy as np
from mayavi import mlab
x, y = np.ogrid[-2:2:20j, -2:2:20j]
z = x * np.exp( - x**2 - y**2)
pl = mlab.surf(x, y, z, warp_scale="auto")
mlab.axes(xlabel='x', ylabel='y', zlabel='z')
mlab.outline(pl)
mlab.show()
image.png

4.6.2. 绘制复杂3D曲面(mesh)

3D旋转体:

from numpy import *
from mayavi import mlab

dphi, dtheta = pi/250.0, pi/250.0
[phi,theta] = mgrid[0:pi+dphi*1.5:dphi,0:2*pi+dtheta*1.5:dtheta]
m0 = 4; m1 = 3; m2 = 2; m3 = 3; m4 = 6; m5 = 2; m6 = 6; m7 = 4;
r = sin(m0*phi)**m1 + cos(m2*phi)**m3 + sin(m4*theta)**m5 + cos(m6*theta)**m7
x = r*sin(phi)*cos(theta)
y = r*cos(phi)
z = r*sin(phi)*sin(theta)

s = mlab.mesh(x, y, z, representation="surface", line_width=1.0 )

mlab.show()
image.png

4.6.2. 绘制柱状图(barchart)

import numpy
from mayavi import mlab

s = np.random.rand(3, 3)
mlab.barchart(s)
mlab.vectorbar()
mlab.show()
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 159,716评论 4 364
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 67,558评论 1 294
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 109,431评论 0 244
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 44,127评论 0 209
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 52,511评论 3 287
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 40,692评论 1 222
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 31,915评论 2 313
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 30,664评论 0 202
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 34,412评论 1 246
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 30,616评论 2 245
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 32,105评论 1 260
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 28,424评论 2 254
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 33,098评论 3 238
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 26,096评论 0 8
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 26,869评论 0 197
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 35,748评论 2 276
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 35,641评论 2 271

推荐阅读更多精彩内容