conda 安装tensorly

http://tensorly.org/stable/installation.html

Installing with Conda

You can also directly install tensorly using conda, from the tensorly channel:

conda install -c tensorly tensorly

And that is you done!

Cloning the github repository

Clone the repository and cd there:

git clone https://github.com/tensorly/tensorly
cd tensorly

Then install the package (here in editable mode with -e or equivalently –editable:

pip install -e .

Running the tests

Uni-testing is an vital part of this package. You can run all the tests using pytest:

pytest tensorly

Compiling the documentation

You will need to install slimit and minify:

pip install slimit rcssmin

You are now ready to build the doc (here in html):

make html

The results will be in _build/html

posted @ 2021-10-27 20:55  StarZhai  阅读(235)  评论(0编辑  收藏  举报