Linux用户目录下安装单细胞分析工具scanpy

2019-07-03  本文已影响0人  Sean和Max

基于系统为$ uname -a

Linux bionc02 4.4.0-128-generic #154-Ubuntu SMP Fri May 25 14:15:18 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

1. 按照scanpy官网要求在用户目录下载安装对应的Python及pip

请参考详细教程:https://www.jianshu.com/p/980f3140f751 (转 自JouyPub

目前安装要求为:Python3.5 或Python3.6;本人安装测试了Python3.6.0

2. 安装scanpy

运行命令:

 /home/username/.python3.6/bin/pip install --user scanpy

*注意要给出pip的全路径,如"/home/username/.python3.6/bin/",不然会安装失败

测试安装如下:

username@bionc02:~$ python

Python 3.6.0 (default, Jul  3 2019, 15:30:24)

[GCC 5.4.0 20160609] on linux

Type "help", "copyright", "credits" or "license" for more information.

>>> import numpy as np

>>> import pandas as pd

>>> import scanpy as sc

>>>

上一篇下一篇

猜你喜欢

热点阅读