1. If you want to have some example projects to try in your new CATMAID instance, you can create a couple with the
following command:
./manage.py catmaid_insert_example_projects --user=1
结果运行失败了, 虽然没说是错误, 但是确实是运行失败
(catmaid) bibao@ubuntu:~/catmaid/django/projects$ ./manage.py catmaid_insert_example_projects --user=1
INFO 2018-06-29 10:38:25,581 CATMAID was unable to load the h5py library, which is an optional dependency. HDF5 tiles are therefore disabled. To enable, install h5py.
WARNING 2018-06-29 10:38:25,836 NeuroML module could not be loaded.
2. 这里出现了两个错误一个是不能假再h5py 一个是不能加载NeuroML.
其实这两个都是python的一个第三方库.直接安装就好
pip install h5py
可以直接安装这个库, 当然如果pip镜像没修改的话,可以直接改为国内地址,否则容易超时或者耗时长.
mkdir ~/.pip
vim ~/.pip/pip.conf
写入下面信息即可
[global]
index-url=http://mirrors.aliyun.com/pypi/simple
[install]
trusted-host=mirrors.aliyun.com
disable-pip-version-check = true
timeout = 6000
3. 安装完后需要安装NeuroML,这个库的名字不是这个, 需要修改一下.
通过看官方
可以指导命令如下:
pip install pyneuroml
运行后<