Closed taopeng1100 closed 3 years ago
Regarding the conda installation, I suspect that you are installing scirpy into an environment that already contains some packages which cause a version conflict.
Try to install scirpy into a new conda environment:
conda create -n scirpy python=3.8
conda activate scirpy
conda install -c conda-forge -c bioconda scirpy ipykernel
You can use different conda envs from jupyter. Check out this answer on stackoverflow.
Regarding the pip installation, it's already in the error message:
Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
Apparently, on Windows, one of the dependency packages needs to be compiled from scratch, which requires the Build Tool dependency.
Hope that helps!
Feel free to reopen if the problem persists.
H Gregor, as you have suggested, I tried the code like this: conda install -c conda-forge -c bioconda scirpy ipykernel
I go this error message:
Building graph of deps: 0%| | 0/3 [00:00<?, ?it/s] Examining scirpy: 0%| | 0/3 [00:00<?, ?it/s] Examining python=3.7: 33%|###3 | 1/3 [00:00<00:01, 1.74it/s] Examining python=3.7: 67%|######6 | 2/3 [00:00<00:00, 3.49it/s] Examining ipykernel: 67%|######6 | 2/3 [00:00<00:00, 3.49it/s] Examining ipykernel: 100%|##########| 3/3 [00:00<00:00, 3.26it/s]
Determining conflicts: 0%| | 0/3 [00:00<?, ?it/s] Examining conflict for scirpy ipykernel: 0%| | 0/3 [00:00<?, ?it/s] Examining conflict for scirpy python ipykernel: 33%|###3 | 1/3 [00:00<00:01, 1.41it/s] Examining conflict for scirpy python ipykernel: 67%|######6 | 2/3 [00:00<00:00, 2.81it/s] Examining conflict for scirpy python: 67%|######6 | 2/3 [00:00<00:00, 2.81it/s] Examining conflict for python ipykernel: 100%|##########| 3/3 [00:00<00:00, 2.81it/s] Examining conflict for python ipykernel: : 4it [00:00, 3.51it/s]
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versions
Package python_abi conflicts for: ipykernel -> python_abi[version='3.6.|3.7.|3.9.|3.8.',build='_cp36m|_cp39|_cp37m|_cp38'] ipykernel -> traitlets[version='>=4.1'] -> python_abi=2.7[build=_cp27m] scirpy -> anndata[version='>=0.7.3'] -> python_abi[version='3.6.|3.7.|3.8.|3.9.',build='_cp39|_cp36m|_cp37m|*_cp38']
Package packaging conflicts for: python=3.7 -> pip -> packaging scirpy -> anndata[version='>=0.7.3'] -> packaging
Package ca-certificates conflicts for: python=3.7 -> openssl[version='>=1.1.1g,<1.1.2a'] -> ca-certificates ipykernel -> python[version='>=2.7,<2.8.0a0'] -> ca-certificates
From: Gregor Sturm notifications@github.com Sent: Friday, October 2, 2020 5:00 AM To: icbi-lab/scirpy scirpy@noreply.github.com Cc: Peng, Tao tpeng@fredhutch.org; Author author@noreply.github.com Subject: Re: [icbi-lab/scirpy] Issues with installing SCIRPY (#182)
Feel free to reopen if the problem persists.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_icbi-2Dlab_scirpy_issues_182-23issuecomment-2D702694096&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=Hnq9LlnIRA68H5yeQAyRU7dQgYVT0ct1XfiA79BqwL8&s=8SsUN_DGaIl6wxB30HMyThwDwTbGFo9Rw1dEsnLYSvg&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ALCZ3COJLTWV4BRAE5RR2CDSIW6DFANCNFSM4RPKR27Q&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=Hnq9LlnIRA68H5yeQAyRU7dQgYVT0ct1XfiA79BqwL8&s=m-SYGVY6xDYQTGaF56M_ID6_QC3vkh5fBpajvzXU_hc&e=.
are you sure you are in an empty environment with no other packages (except Python) installed?
You can check with conda env export
.
I did : conda env export and got a long list below?
name: base channels:
vtraag
defaults
conda-forge dependencies:
_anaconda_depends=2020.07=py37_0 Note: you may need to restart the kernel to use updated packages.
_ipyw_jlab_nb_ext_conf=0.1.0=py37_0
alabaster=0.7.12=py37_0
anaconda=custom=py37_1
anaconda-client=1.7.2=py37_0
anaconda-navigator=1.9.12=py37_0
anaconda-project=0.8.4=py_0
argh=0.26.2=py37_0
asn1crypto=1.3.0=py37_1
astroid=2.4.2=py37_0
astropy=4.0.1.post1=py37he774522_1
atomicwrites=1.4.0=py_0
attrs=19.3.0=py_0
automat=0.8.0=py_0
autopep8=1.5.3=py_0
babel=2.8.0=py_0
backcall=0.2.0=py_0
backports=1.0=py_2
backports.shutil_get_terminal_size=1.0.0=py37_2
bcrypt=3.1.7=py37he774522_1
beautifulsoup4=4.9.1=py37_0
bitarray=1.4.0=py37he774522_0
bkcharts=0.2=py37_0
blas=1.0=mkl
bleach=3.1.5=py_0
blosc=1.19.0=h7bd577a_0
bokeh=2.1.1=py37_0
boto=2.49.0=py37_0
bottleneck=1.3.2=py37h2a96729_1
brotlipy=0.7.0=py37he774522_1000
bzip2=1.0.8=he774522_0
ca-certificates=2020.7.22=0
certifi=2020.6.20=py37_0
cffi=1.14.0=py37h7a1dbc1_0
chardet=3.0.4=py37_1003
click=7.1.2=py_0
cloudpickle=1.5.0=py_0
clyent=1.2.2=py37_1
colorama=0.4.3=py_0
comtypes=1.1.7=py37_1001
conda=4.8.4=py37_0
conda-build=3.17.8=py37_0
conda-env=2.6.0=1
conda-package-handling=1.6.1=py37h62dcd97_0
conda-verify=3.1.1=py37_0
console_shortcut=0.1.1=3
constantly=15.1.0=py37h28b3542_0
contextlib2=0.6.0.post1=py_0
cryptography=2.9.2=py37h7a1dbc1_0
cssselect=1.1.0=py_0
curl=7.71.1=h2a8f88b_1
cycler=0.10.0=py37_0
cython=0.29.21=py37ha925a31_0
cytoolz=0.10.1=py37he774522_0
dask=2.20.0=py_0
dask-core=2.20.0=py_0
decorator=4.4.2=py_0
defusedxml=0.6.0=py_0
descartes=1.1.0=py_4
diff-match-patch=20200713=py_0
distributed=2.20.0=py37_0
docutils=0.16=py37_1
entrypoints=0.3=py37_0
et_xmlfile=1.0.1=py_1001
fastcache=1.1.0=py37he774522_0
filelock=3.0.12=py_0
flake8=3.8.3=py_0
flask=1.1.2=py_0
freetype=2.10.2=hd328e21_0
fsspec=0.7.4=py_0
future=0.18.2=py37_1
get_terminal_size=1.0.0=h38e98db_0
gevent=20.6.2=py37he774522_0
git=2.23.0=h6bb4b03_0
glob2=0.7=py_0
gmpy2=2.0.8=py37h0964b28_3
greenlet=0.4.16=py37he774522_0
h5py=2.10.0=py37h5e291fa_0
hdf5=1.10.4=h7ebc959_0
heapdict=1.0.1=py_0
html5lib=1.1=py_0
hyperlink=19.0.0=py_0
icc_rt=2019.0.0=h0cc432a_1
icu=58.2=ha925a31_3
idna=2.10=py_0
imageio=2.9.0=py_0
imagesize=1.2.0=py_0
importlib_metadata=1.7.0=0
incremental=17.5.0=py37_0
intel-openmp=2020.1=216
intervaltree=3.0.2=py_1
ipykernel=5.3.3=py37h5ca1d4c_0
ipython=7.16.1=py37h5ca1d4c_0
ipython_genutils=0.2.0=py37_0
ipywidgets=7.5.1=py_0
isort=4.3.21=py37_0
itemadapter=0.1.0=py_0
itsdangerous=1.1.0=py37_0
jdcal=1.4.1=py_0
jedi=0.17.1=py37_0
jinja2=2.11.2=py_0
joblib=0.16.0=py_0
jpeg=9b=hb83a4c4_2
json5=0.9.5=py_0
jsonschema=3.2.0=py37_1
jupyter=1.0.0=py37_7
jupyter_client=6.1.6=py_0
jupyter_console=6.1.0=py_0
jupyter_core=4.6.3=py37_0
jupyterlab=2.1.5=py_0
jupyterlab_server=1.2.0=py_0
keyring=21.2.1=py37_0
kiwisolver=1.2.0=py37h74a9793_0
krb5=1.18.2=hc04afaa_0
lazy-object-proxy=1.4.3=py37he774522_0
leidenalg=0.7.0=py37_0
libarchive=3.4.2=h5e25573_0
libcurl=7.71.1=h2a8f88b_1
libiconv=1.15=h1df5818_7
liblief=0.10.1=ha925a31_0
libllvm9=9.0.1=h21ff451_0
libpng=1.6.37=h2a8f88b_0
libsodium=1.0.18=h62dcd97_0
libspatialindex=1.9.3=h33f27b4_0
libssh2=1.9.0=h7a1dbc1_1
libtiff=4.1.0=h56a325e_1
libxml2=2.9.10=h464c3ec_1
libxslt=1.1.34=he774522_0
llvmlite=0.33.0=py37ha925a31_0
locket=0.2.0=py37_1
lxml=4.5.2=py37h1350720_0
lz4-c=1.9.2=h62dcd97_0
lzo=2.10=he774522_2
m2w64-gcc-libgfortran=5.3.0=6
m2w64-gcc-libs=5.3.0=7
m2w64-gcc-libs-core=5.3.0=7
m2w64-gmp=6.1.0=2
m2w64-libwinpthread-git=5.0.0.4634.697f757=2
markupsafe=1.1.1=py37hfa6e2cd_1
matplotlib-venn=0.11.5=py_2
mccabe=0.6.1=py37_1
menuinst=1.4.16=py37he774522_1
mistune=0.8.4=py37hfa6e2cd_1001
mizani=0.7.1=py_0
mkl=2020.1=216
mkl-service=2.3.0=py37hb782905_0
mkl_fft=1.1.0=py37h45dec08_0
mkl_random=1.1.1=py37h47e9c7a_0
more-itertools=8.4.0=py_0
mpc=1.1.0=h7edee0f_1
mpfr=4.0.2=h62dcd97_1
mpir=3.0.0=hec2e145_1
mpmath=1.1.0=py37_0
msgpack-python=1.0.0=py37h74a9793_1
msys2-conda-epoch=20160418=1
multipledispatch=0.6.0=py37_0
navigator-updater=0.2.1=py37_0
nbconvert=5.6.1=py37_1
nbformat=5.0.7=py_0
networkx=2.4=py_1
nltk=3.5=py_0
nose=1.3.7=py37_1004
notebook=6.0.3=py37_0
numba=0.50.1=py37h47e9c7a_0
numexpr=2.7.1=py37h25d0782_0
numpy=1.18.5=py37h6530119_0
numpy-base=1.18.5=py37hc3f5095_0
numpydoc=1.1.0=py_0
olefile=0.46=py37_0
openpyxl=3.0.4=py_0
openssl=1.1.1g=he774522_1
packaging=20.4=py_0
palettable=3.3.0=py_0
pandas=1.0.5=py37h47e9c7a_0
pandoc=2.10=0
pandocfilters=1.4.2=py37_1
paramiko=2.7.1=py_0
parsel=1.5.2=py37_0
parso=0.7.0=py_0
partd=1.1.0=py_0
path=14.0.1=py37_0
path.py=12.0.2=py_0
pathlib2=2.3.5=py37_1
pathtools=0.1.2=py_1
patsy=0.5.1=py37_0
pep8=1.7.1=py37_0
pexpect=4.8.0=py37_1
pickleshare=0.7.5=py37_1001
pillow=7.2.0=py37hcc1f983_0
pip=20.1.1=py37_1
pkginfo=1.5.0.1=py37_0
plotnine=0.5.1=py_0
pluggy=0.13.1=py37_0
ply=3.11=py37_0
powershell_shortcut=0.0.1=2
prometheus_client=0.8.0=py_0
prompt-toolkit=3.0.5=py_0
prompt_toolkit=3.0.5=0
protego=0.1.16=py_0
psutil=5.7.0=py37he774522_0
py=1.9.0=py_0
py-lief=0.10.1=py37ha925a31_0
pyasn1=0.4.8=py_0
pyasn1-modules=0.2.7=py_0
pycodestyle=2.6.0=py_0
pycosat=0.6.3=py37he774522_0
pycparser=2.20=py_2
pycrypto=2.6.1=py37he774522_10
pycurl=7.43.0.5=py37h7a1dbc1_0
pydispatcher=2.0.5=py37_1
pydocstyle=5.0.2=py_0
pyflakes=2.2.0=py_0
pygments=2.6.1=py_0
pyhamcrest=2.0.2=py_0
pylint=2.5.3=py37_0
pynacl=1.4.0=py37h62dcd97_1
pyodbc=4.0.30=py37ha925a31_0
pyopenssl=19.1.0=py_1
pyparsing=2.4.7=py_0
pyqt=5.9.2=py37h6538335_2
pyreadline=2.1=py37_1
pyrsistent=0.16.0=py37he774522_0
pysocks=1.7.1=py37_1
pytables=3.5.1=py37h1da0976_0
pytest=5.4.3=py37_0
pytest-runner=5.2=py_0
python=3.7.3=h8c8aaf0_0
python-annoy=1.16.3=py37h1834ac0_3
python-dateutil=2.8.1=py_0
python-igraph=0.7.1.post7=py37_0
python-jsonrpc-server=0.3.4=py_1
python-language-server=0.34.1=py37_0
python-libarchive-c=2.9=py_0
python-louvain=0.13=py_0
python_abi=3.7=1_cp37m
pytz=2020.1=py_0
pywavelets=1.1.1=py37he774522_0
pywin32=227=py37he774522_1
pywin32-ctypes=0.2.0=py37_1001
pywinpty=0.5.7=py37_0
pyyaml=5.3.1=py37he774522_1
pyzmq=19.0.1=py37ha925a31_1
qdarkstyle=2.8.1=py_0
qt=5.9.7=vc14h73c81de_0
qtawesome=0.7.2=py_0
qtconsole=4.7.5=py_0
qtpy=1.9.0=py_0
queuelib=1.5.0=py37_0
regex=2020.6.8=py37he774522_0
requests=2.24.0=py_0
rope=0.17.0=py_0
rtree=0.9.4=py37h21ff451_1
ruamel_yaml=0.15.87=py37he774522_1
scikit-image=0.16.2=py37h47e9c7a_0
scrapy=2.2.0=py37hc8dfbb8_0
seaborn=0.10.1=py_0
send2trash=1.5.0=py37_0
service_identity=18.1.0=py37h28b3542_0
setuptools=49.2.0=py37_0
simplegeneric=0.8.1=py37_2
singledispatch=3.4.0.3=py37_0
sip=4.19.8=py37h6538335_0
six=1.15.0=py_0
snappy=1.1.8=h33f27b4_0
snowballstemmer=2.0.0=py_0
sortedcollections=1.2.1=py_0
sortedcontainers=2.2.2=py_0
soupsieve=2.0.1=py_0
sphinx=3.1.2=py_0
sphinxcontrib=1.0=py37_1
sphinxcontrib-applehelp=1.0.2=py_0
sphinxcontrib-devhelp=1.0.2=py_0
sphinxcontrib-htmlhelp=1.0.3=py_0
sphinxcontrib-jsmath=1.0.1=py_0
sphinxcontrib-qthelp=1.0.3=py_0
sphinxcontrib-serializinghtml=1.1.4=py_0
sphinxcontrib-websupport=1.2.3=py_0
spyder=4.1.4=py37_0
spyder-kernels=1.9.2=py37_0
sqlalchemy=1.3.18=py37he774522_0
sqlite=3.32.3=h2a8f88b_0
sympy=1.6.1=py37_0
tblib=1.6.0=py_0
terminado=0.8.3=py37_0
testpath=0.4.4=py_0
threadpoolctl=2.1.0=pyh5ca1d4c_0
tk=8.6.10=he774522_0
toml=0.10.1=py_0
toolz=0.10.0=py_0
tornado=6.0.4=py37he774522_1
tqdm=4.47.0=py_0
traitlets=4.3.3=py37_0
twisted=20.3.0=py37he774522_0
typed-ast=1.4.1=py37he774522_0
typing_extensions=3.7.4.2=py_0
ujson=1.35=py37hfa6e2cd_0
unicodecsv=0.14.1=py37_0
upsetplot=0.3.0.post3=py_0
urllib3=1.25.9=py_0
vc=14.1=h0510ff6_4
vs2015_runtime=14.16.27012=hf0eaf9b_3
w3lib=1.21.0=py_0
watchdog=0.10.3=py37_0
wcwidth=0.2.5=py_0
webencodings=0.5.1=py37_1
werkzeug=1.0.1=py_0
wheel=0.34.2=py37_0
widgetsnbextension=3.5.1=py37_0
win_inet_pton=1.1.0=py37_0
win_unicode_console=0.5=py37_0
wincertstore=0.2=py37_0
winpty=0.4.3=4
wrapt=1.11.2=py37he774522_0
xlrd=1.2.0=py37_0
xlsxwriter=1.2.9=py_0
xlwings=0.19.5=py37_0
xlwt=1.3.0=py37_0
xmltodict=0.12.0=py_0
xz=5.2.5=h62dcd97_0
yaml=0.2.5=he774522_0
yapf=0.30.0=py_0
zeromq=4.3.2=ha925a31_2
zict=2.0.0=py_0
zlib=1.2.11=h62dcd97_4
zope=1.0=py37_1
zope.event=4.4=py37_0
zope.interface=4.7.1=py37he774522_0
zstd=1.4.5=ha9fde0e_0
pip:
From: Gregor Sturm notifications@github.com Sent: Saturday, October 17, 2020 1:06 AM To: icbi-lab/scirpy scirpy@noreply.github.com Cc: Peng, Tao tpeng@fredhutch.org; Author author@noreply.github.com Subject: Re: [icbi-lab/scirpy] Issues with installing SCIRPY (#182)
are you sure you are in an empty environment with no other packages (except Python) installed?
You can check with conda env export.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_icbi-2Dlab_scirpy_issues_182-23issuecomment-2D710770205&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=2OW4smKxCkEqsdFZNMZBY6D_eStJeIX3RH7a1lkUAFI&s=rPAi1jirRX5Ssi6gdL-fAbtgQjiWFXWNorQBf9nWPyM&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ALCZ3CIHC22AAP4GRDIZJNTSLFF5DANCNFSM4RPKR27Q&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=2OW4smKxCkEqsdFZNMZBY6D_eStJeIX3RH7a1lkUAFI&s=qEQkZf_Om8yZtHSRFRjho8taY90bg-tAihLuS_FTx60&e=.
that means you are not in an empty conda env and there's some package that's conflicting.
Make a new one with conda create
and install scirpy there.
Ok that is what I thought!
I try to execute the three lines of codes below together and it don’t’ run so I am executing one line at a time and it seems to take a long time?
conda create -n scirpy python=3.8
conda activate scirpy
conda install -c conda-forge -c bioconda scirpy ipykernel
From: Gregor Sturm notifications@github.com Sent: Saturday, October 17, 2020 9:23 AM To: icbi-lab/scirpy scirpy@noreply.github.com Cc: Peng, Tao tpeng@fredhutch.org; Author author@noreply.github.com Subject: Re: [icbi-lab/scirpy] Issues with installing SCIRPY (#182)
that means you are not in an empty conda env and there's some package that's conflicting. Make a new one with conda create and install scirpy there.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_icbi-2Dlab_scirpy_issues_182-23issuecomment-2D711039021&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=uvMyl2aTPZwVmD1cVpfXVJ4OcAA19CiWb0wwz0HxB8M&s=Y0YUy674aAsJU-XW5zb0BOtk-kP19-fXJ5Bx-AX8A8w&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ALCZ3CMZVPO3XARFP7SXX5LSLHAG7ANCNFSM4RPKR27Q&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=uvMyl2aTPZwVmD1cVpfXVJ4OcAA19CiWb0wwz0HxB8M&s=ZVtgeewxN-jwQqHGU0ZGPSOLmJlI90cQPAmiDnJo9bQ&e=.
It can take minutes, but shouldn't take longer.
Another common source of conda problems is a wrong channel configuration. Setting up conda channels is described here: https://bioconda.github.io/user/install.html#set-up-channels
To reset existing conda configuration, you can use conda config --remove-key channels
.
I run each line in individual cell. It has been 40 mins and still running?
conda create -n scirpy python=3.7 ## my labtop PC has anaconda with python 3.7.3
conda activate scirpy
conda install -c conda-forge -c bioconda scirpy ipykernel
From: Gregor Sturm notifications@github.com Sent: Saturday, October 17, 2020 9:44 AM To: icbi-lab/scirpy scirpy@noreply.github.com Cc: Peng, Tao tpeng@fredhutch.org; Author author@noreply.github.com Subject: Re: [icbi-lab/scirpy] Issues with installing SCIRPY (#182)
It can take minutes, but shouldn't take longer.
Another common source of conda problems is a wrong channel configuration. Setting up conda channels is described here: https://bioconda.github.io/user/install.html#set-up-channelshttps://urldefense.proofpoint.com/v2/url?u=https-3A__bioconda.github.io_user_install.html-23set-2Dup-2Dchannels&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=zJUizOYrzWCoHtQrMGxKEI95fYqYSDnyzrI7xfRqHuU&s=rjpce6gcvN_PXhoD_7Wd7XeWRv4MDg_q6MfPOqgy8lE&e=
To reset existing conda configuration, you can use conda config --remove-key channels.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_icbi-2Dlab_scirpy_issues_182-23issuecomment-2D711043308&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=zJUizOYrzWCoHtQrMGxKEI95fYqYSDnyzrI7xfRqHuU&s=AUcKe_CqwpJDJ7IqSH1GUfrwIP1XkSU9B1RtTbXIBP4&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ALCZ3CPKH6C25JASUQIH7MTSLHCVFANCNFSM4RPKR27Q&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=zJUizOYrzWCoHtQrMGxKEI95fYqYSDnyzrI7xfRqHuU&s=1K4ooq1s7Cc6BeSbJeuhNdzsq3omXqZmB2ytZb54W5I&e=.
Then sth is wrong. Did you check the channels as described above?
When I run: conda env export
I see: ame: base Note: you may need to restart the kernel to use updated packages. channels:
vtraag
conda-forge
bioconda
defaults
From: Gregor Sturm notifications@github.com Sent: Saturday, October 17, 2020 11:26 AM To: icbi-lab/scirpy scirpy@noreply.github.com Cc: Peng, Tao tpeng@fredhutch.org; Author author@noreply.github.com Subject: Re: [icbi-lab/scirpy] Issues with installing SCIRPY (#182)
Then sth is wrong. Did you check the channels as described above?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_icbi-2Dlab_scirpy_issues_182-23issuecomment-2D711061165&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=S_YHBSHsqCHEcOQXI0ZqOT4dvDDlQ1MC1Wp59eiwOR8&s=CpZ0UyKE8IigzkNbRR5ur68Tq88Lpde2mVNNKQFFiQQ&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ALCZ3CJ6RSZKX6SXUAMNP5TSLHOSLANCNFSM4RPKR27Q&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=S_YHBSHsqCHEcOQXI0ZqOT4dvDDlQ1MC1Wp59eiwOR8&s=5-r46YWXwK2LC4DRkYUfzSQlnVKF-htfrF3Rz_dts7Q&e=.
Try this to add the channels in the right order. Also you're not need the vtraag channels any more, the leiden/louvain packages are now on conda-forge.
conda config --remove-key channels
conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge
Herr is what I did:
conda config --remove-key channels Note: you may need to restart the kernel to use updated packages. In [2]: conda config --add channels defaults Note: you may need to restart the kernel to use updated packages. Warning: 'defaults' already in 'channels' list, moving to the top In [3]: conda config --add channels bioconda Note: you may need to restart the kernel to use updated packages. In [4]: conda config --add channels conda-forge Note: you may need to restart the kernel to use updated packages. In [5]: import sys In [6]: sys.version Out[6]: '3.8.3 (default, Jul 2 2020, 17:30:36) [MSC v.1916 64 bit (AMD64)]' In [ ]: conda create -n scirpy python=3.8 In [ ]: conda activate scirpy In [ ]: conda install -c conda-forge -c bioconda scirpy ipykernel In [ ]: It has been running for 20 mins?
Tao
From: Gregor Sturm notifications@github.com Sent: Monday, October 19, 2020 3:40 AM To: icbi-lab/scirpy scirpy@noreply.github.com Cc: Peng, Tao tpeng@fredhutch.org; Author author@noreply.github.com Subject: Re: [icbi-lab/scirpy] Issues with installing SCIRPY (#182)
Try this to add the channels in the right order. Also you're not need the vtraag channels any more, the leiden/louvain packages are now on conda-forge.
conda config --remove-key channels
conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_icbi-2Dlab_scirpy_issues_182-23issuecomment-2D712021339&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=WuUl_jeQpwlSdNc5tpWH8OCLubjxOE9GbOLndxDbI3k&s=98vaLOfIqZNEm8ZQ22mNn28mlFOLxmPrpjT5qRWb6MI&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ALCZ3CNLOPMK2ZUR6UGSOZTSLQJPNANCNFSM4RPKR27Q&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=WuUl_jeQpwlSdNc5tpWH8OCLubjxOE9GbOLndxDbI3k&s=j8o6EEMfqavI_9Hk1d5caNxaAna1PjgPknXXGEtE1L0&e=.
ah, you are trying to do all this within jupyter... The conda activate
has no effect there.
You'll need to run that in the terminal.
You can then choose the notebook to run in the scirpy environment. This should help: https://stackoverflow.com/questions/39604271/conda-environments-not-showing-up-in-jupyter-notebook
If you feel that's too compilcated, you can go for the nuclear option and delete and reinstall Miniconda. However, I would recommend to familiarize yourself with environments - it saves a lot of pain in the long run.
Should I run the following three lines of codes in terminal?
conda create -n scirpy python=3.8 conda activate scirpy conda install -c conda-forge -c bioconda scirpy ipykernel
Tao From: Gregor Sturm notifications@github.com Sent: Monday, October 19, 2020 10:56 AM To: icbi-lab/scirpy scirpy@noreply.github.com Cc: Peng, Tao tpeng@fredhutch.org; Author author@noreply.github.com Subject: Re: [icbi-lab/scirpy] Issues with installing SCIRPY (#182)
ah, you are trying to do all this within jupyter... The conda activate has no effect there. You'll need to run that in the terminal.
You can then choose the notebook to run in the scirpy environment. This should help: https://stackoverflow.com/questions/39604271/conda-environments-not-showing-up-in-jupyter-notebookhttps://urldefense.proofpoint.com/v2/url?u=https-3A__stackoverflow.com_questions_39604271_conda-2Denvironments-2Dnot-2Dshowing-2Dup-2Din-2Djupyter-2Dnotebook&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=30cFYXasZ4o4dOqRpfIu1VXwS4japAae3m0Cto2uH2E&s=SjPZ5kbaTWEn4iq_XtB19bEVGJgHMc0lNwJ6p5R9pT0&e=
If you feel that's too compilcated, you can go for the nuclear option and delete and reinstall Miniconda. However, I would recommend to familiarize yourself with environments - it saves a lot of pain in the long run.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_icbi-2Dlab_scirpy_issues_182-23issuecomment-2D712338611&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=30cFYXasZ4o4dOqRpfIu1VXwS4japAae3m0Cto2uH2E&s=_Hi8KVyOKZV73LwAclYW4sWV3l6F9iuYpGOPPOz7IFU&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ALCZ3CL5UWFXJ2AWOEETUM3SLR4R3ANCNFSM4RPKR27Q&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=30cFYXasZ4o4dOqRpfIu1VXwS4japAae3m0Cto2uH2E&s=TF21Ep_qXmGWuHAdCKJzvGMTEo9uzHmo_ZjVYN6zhfc&e=.
yes.
But then you need to make sure to use the scirpy env in jupyter (see the stackoverflow link for that)
On Mon, 19 Oct 2020 at 20:10, taopeng1100 notifications@github.com wrote:
Should I run the following three lines of codes in terminal?
conda create -n scirpy python=3.8 conda activate scirpy conda install -c conda-forge -c bioconda scirpy ipykernel
Tao From: Gregor Sturm notifications@github.com Sent: Monday, October 19, 2020 10:56 AM To: icbi-lab/scirpy scirpy@noreply.github.com Cc: Peng, Tao tpeng@fredhutch.org; Author author@noreply.github.com Subject: Re: [icbi-lab/scirpy] Issues with installing SCIRPY (#182)
ah, you are trying to do all this within jupyter... The conda activate has no effect there. You'll need to run that in the terminal.
You can then choose the notebook to run in the scirpy environment. This should help:
https://stackoverflow.com/questions/39604271/conda-environments-not-showing-up-in-jupyter-notebook < https://urldefense.proofpoint.com/v2/url?u=https-3A__stackoverflow.com_questions_39604271_conda-2Denvironments-2Dnot-2Dshowing-2Dup-2Din-2Djupyter-2Dnotebook&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=30cFYXasZ4o4dOqRpfIu1VXwS4japAae3m0Cto2uH2E&s=SjPZ5kbaTWEn4iq_XtB19bEVGJgHMc0lNwJ6p5R9pT0&e=>
If you feel that's too compilcated, you can go for the nuclear option and delete and reinstall Miniconda. However, I would recommend to familiarize yourself with environments - it saves a lot of pain in the long run.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub< https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_icbi-2Dlab_scirpy_issues_182-23issuecomment-2D712338611&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=30cFYXasZ4o4dOqRpfIu1VXwS4japAae3m0Cto2uH2E&s=_Hi8KVyOKZV73LwAclYW4sWV3l6F9iuYpGOPPOz7IFU&e=>, or unsubscribe< https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ALCZ3CL5UWFXJ2AWOEETUM3SLR4R3ANCNFSM4RPKR27Q&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=30cFYXasZ4o4dOqRpfIu1VXwS4japAae3m0Cto2uH2E&s=TF21Ep_qXmGWuHAdCKJzvGMTEo9uzHmo_ZjVYN6zhfc&e=>.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/icbi-lab/scirpy/issues/182#issuecomment-712351773, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVZRV2ST5A6NW5L67LGNSDSLR6H7ANCNFSM4RPKR27Q .
OK I will try to figure this out. One question:
After I install Scirpy, will I be able to use it in jupyter with Scanpy together?
Tao
From: Gregor Sturm notifications@github.com Sent: Monday, October 19, 2020 11:13 AM To: icbi-lab/scirpy scirpy@noreply.github.com Cc: Peng, Tao tpeng@fredhutch.org; Author author@noreply.github.com Subject: Re: [icbi-lab/scirpy] Issues with installing SCIRPY (#182)
yes.
But then you need to make sure to use the scirpy env in jupyter (see the stackoverflow link for that)
On Mon, 19 Oct 2020 at 20:10, taopeng1100 notifications@github.com<mailto:notifications@github.com> wrote:
Should I run the following three lines of codes in terminal?
conda create -n scirpy python=3.8 conda activate scirpy conda install -c conda-forge -c bioconda scirpy ipykernel
Tao From: Gregor Sturm notifications@github.com<mailto:notifications@github.com> Sent: Monday, October 19, 2020 10:56 AM To: icbi-lab/scirpy scirpy@noreply.github.com<mailto:scirpy@noreply.github.com> Cc: Peng, Tao tpeng@fredhutch.org<mailto:tpeng@fredhutch.org>; Author author@noreply.github.com<mailto:author@noreply.github.com> Subject: Re: [icbi-lab/scirpy] Issues with installing SCIRPY (#182)
ah, you are trying to do all this within jupyter... The conda activate has no effect there. You'll need to run that in the terminal.
You can then choose the notebook to run in the scirpy environment. This should help:
https://stackoverflow.com/questions/39604271/conda-environments-not-showing-up-in-jupyter-notebookhttps://urldefense.proofpoint.com/v2/url?u=https-3A__stackoverflow.com_questions_39604271_conda-2Denvironments-2Dnot-2Dshowing-2Dup-2Din-2Djupyter-2Dnotebook&d=DwQFaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=yGM_z0D2bSqV16LrKlyMiObAUF6tFsEzwvGLhdXx3Fo&s=5gAIyXIzUlzjNc_vL8cIgH1G4wniEmdcO58CgM7zMBw&e= < https://urldefense.proofpoint.com/v2/url?u=https-3A__stackoverflow.com_questions_39604271_conda-2Denvironments-2Dnot-2Dshowing-2Dup-2Din-2Djupyter-2Dnotebook&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=30cFYXasZ4o4dOqRpfIu1VXwS4japAae3m0Cto2uH2E&s=SjPZ5kbaTWEn4iq_XtB19bEVGJgHMc0lNwJ6p5R9pT0&e=%3E
If you feel that's too compilcated, you can go for the nuclear option and delete and reinstall Miniconda. However, I would recommend to familiarize yourself with environments - it saves a lot of pain in the long run.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub< https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_icbi-2Dlab_scirpy_issues_182-23issuecomment-2D712338611&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=30cFYXasZ4o4dOqRpfIu1VXwS4japAae3m0Cto2uH2E&s=_Hi8KVyOKZV73LwAclYW4sWV3l6F9iuYpGOPPOz7IFU&e=%3E, or unsubscribe< https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ALCZ3CL5UWFXJ2AWOEETUM3SLR4R3ANCNFSM4RPKR27Q&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=30cFYXasZ4o4dOqRpfIu1VXwS4japAae3m0Cto2uH2E&s=TF21Ep_qXmGWuHAdCKJzvGMTEo9uzHmo_ZjVYN6zhfc&e=%3E.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/icbi-lab/scirpy/issues/182#issuecomment-712351773https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_icbi-2Dlab_scirpy_issues_182-23issuecomment-2D712351773-253E&d=DwQFaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=yGM_z0D2bSqV16LrKlyMiObAUF6tFsEzwvGLhdXx3Fo&s=8msv00tIWhttCocNXDp1drYUDkBq2PZZnW6FMnn-MKQ&e=, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVZRV2ST5A6NW5L67LGNSDSLR6H7ANCNFSM4RPKR27Qhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ABVZRV2ST5A6NW5L67LGNSDSLR6H7ANCNFSM4RPKR27Q-253E&d=DwQFaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=yGM_z0D2bSqV16LrKlyMiObAUF6tFsEzwvGLhdXx3Fo&s=xP2zWlSl3if8OQ2M2BDMXU0TO4Lq3BAdGwRRPG_GjZs&e= .
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_icbi-2Dlab_scirpy_issues_182-23issuecomment-2D712353371&d=DwMFaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=yGM_z0D2bSqV16LrKlyMiObAUF6tFsEzwvGLhdXx3Fo&s=arAu5Hhr5oJPcMKVS6ij5ZMffDtL_FvALTRGn0BWU5w&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ALCZ3COVWXFPMWLA2UN4QS3SLR6THANCNFSM4RPKR27Q&d=DwMFaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=yGM_z0D2bSqV16LrKlyMiObAUF6tFsEzwvGLhdXx3Fo&s=oQ7SMJL_b-lVv78-FpWqGDQnZyELKMVBnlxn_aEleSs&e=.
I try to execute the three lines of codes in anaconda Prompt:
conda create -n scirpy python=3.8 ## I have pyton 3.8.3 on my laptop PC. conda activate scirpy conda install -c conda-forge -c bioconda scirpy ipykernel
I got the error message:
(base) PS C:\Users\tpeng> conda activate scirpy (scirpy) PS C:\Users\tpeng> conda install -c conda-forge -c bioconda scirpy ipykernel Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: / Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abort. Examining scirpy: 67%|████████████████████████████████████████████ | 2/3 [00:11<00:05, 5.43s/it]/failed -
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versions
Package colorama conflicts for: python=3.8 -> pip -> colorama ipykernel -> ipython[version='>=5.0'] -> colorama
Package packaging conflicts for: scirpy -> anndata[version='>=0.7.3'] -> packaging python=3.8 -> pip -> packaging
Package tzdata conflicts for: ipykernel -> python[version='>=3.9,<3.10.0a0'] -> tzdata scirpy -> python[version='>=3.6'] -> tzdata
Package python_abi conflicts for: ipykernel -> traitlets[version='>=4.1'] -> python_abi=2.7[build=_cp27m] ipykernel -> python_abi[version='3.6.|3.7.|3.9.|3.8.',build='_cp36m|_cp37m|_cp39|*_cp38']
Tao From: Gregor Sturm notifications@github.com Sent: Monday, October 19, 2020 11:13 AM To: icbi-lab/scirpy scirpy@noreply.github.com Cc: Peng, Tao tpeng@fredhutch.org; Author author@noreply.github.com Subject: Re: [icbi-lab/scirpy] Issues with installing SCIRPY (#182)
yes.
But then you need to make sure to use the scirpy env in jupyter (see the stackoverflow link for that)
On Mon, 19 Oct 2020 at 20:10, taopeng1100 notifications@github.com<mailto:notifications@github.com> wrote:
Should I run the following three lines of codes in terminal?
conda create -n scirpy python=3.8 conda activate scirpy conda install -c conda-forge -c bioconda scirpy ipykernel
Tao From: Gregor Sturm notifications@github.com<mailto:notifications@github.com> Sent: Monday, October 19, 2020 10:56 AM To: icbi-lab/scirpy scirpy@noreply.github.com<mailto:scirpy@noreply.github.com> Cc: Peng, Tao tpeng@fredhutch.org<mailto:tpeng@fredhutch.org>; Author author@noreply.github.com<mailto:author@noreply.github.com> Subject: Re: [icbi-lab/scirpy] Issues with installing SCIRPY (#182)
ah, you are trying to do all this within jupyter... The conda activate has no effect there. You'll need to run that in the terminal.
You can then choose the notebook to run in the scirpy environment. This should help:
https://stackoverflow.com/questions/39604271/conda-environments-not-showing-up-in-jupyter-notebookhttps://urldefense.proofpoint.com/v2/url?u=https-3A__stackoverflow.com_questions_39604271_conda-2Denvironments-2Dnot-2Dshowing-2Dup-2Din-2Djupyter-2Dnotebook&d=DwQFaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=yGM_z0D2bSqV16LrKlyMiObAUF6tFsEzwvGLhdXx3Fo&s=5gAIyXIzUlzjNc_vL8cIgH1G4wniEmdcO58CgM7zMBw&e= < https://urldefense.proofpoint.com/v2/url?u=https-3A__stackoverflow.com_questions_39604271_conda-2Denvironments-2Dnot-2Dshowing-2Dup-2Din-2Djupyter-2Dnotebook&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=30cFYXasZ4o4dOqRpfIu1VXwS4japAae3m0Cto2uH2E&s=SjPZ5kbaTWEn4iq_XtB19bEVGJgHMc0lNwJ6p5R9pT0&e=%3E
If you feel that's too compilcated, you can go for the nuclear option and delete and reinstall Miniconda. However, I would recommend to familiarize yourself with environments - it saves a lot of pain in the long run.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub< https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_icbi-2Dlab_scirpy_issues_182-23issuecomment-2D712338611&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=30cFYXasZ4o4dOqRpfIu1VXwS4japAae3m0Cto2uH2E&s=_Hi8KVyOKZV73LwAclYW4sWV3l6F9iuYpGOPPOz7IFU&e=%3E, or unsubscribe< https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ALCZ3CL5UWFXJ2AWOEETUM3SLR4R3ANCNFSM4RPKR27Q&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=30cFYXasZ4o4dOqRpfIu1VXwS4japAae3m0Cto2uH2E&s=TF21Ep_qXmGWuHAdCKJzvGMTEo9uzHmo_ZjVYN6zhfc&e=%3E.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/icbi-lab/scirpy/issues/182#issuecomment-712351773https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_icbi-2Dlab_scirpy_issues_182-23issuecomment-2D712351773-253E&d=DwQFaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=yGM_z0D2bSqV16LrKlyMiObAUF6tFsEzwvGLhdXx3Fo&s=8msv00tIWhttCocNXDp1drYUDkBq2PZZnW6FMnn-MKQ&e=, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVZRV2ST5A6NW5L67LGNSDSLR6H7ANCNFSM4RPKR27Qhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ABVZRV2ST5A6NW5L67LGNSDSLR6H7ANCNFSM4RPKR27Q-253E&d=DwQFaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=yGM_z0D2bSqV16LrKlyMiObAUF6tFsEzwvGLhdXx3Fo&s=xP2zWlSl3if8OQ2M2BDMXU0TO4Lq3BAdGwRRPG_GjZs&e= .
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_icbi-2Dlab_scirpy_issues_182-23issuecomment-2D712353371&d=DwMFaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=yGM_z0D2bSqV16LrKlyMiObAUF6tFsEzwvGLhdXx3Fo&s=arAu5Hhr5oJPcMKVS6ij5ZMffDtL_FvALTRGn0BWU5w&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ALCZ3COVWXFPMWLA2UN4QS3SLR6THANCNFSM4RPKR27Q&d=DwMFaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=yGM_z0D2bSqV16LrKlyMiObAUF6tFsEzwvGLhdXx3Fo&s=oQ7SMJL_b-lVv78-FpWqGDQnZyELKMVBnlxn_aEleSs&e=.
I am somehow able to download visual studio and pip install Scirpy.
Many thx!
Tao
From: Gregor Sturm notifications@github.com Sent: Monday, October 19, 2020 11:13 AM To: icbi-lab/scirpy scirpy@noreply.github.com Cc: Peng, Tao tpeng@fredhutch.org; Author author@noreply.github.com Subject: Re: [icbi-lab/scirpy] Issues with installing SCIRPY (#182)
yes.
But then you need to make sure to use the scirpy env in jupyter (see the stackoverflow link for that)
On Mon, 19 Oct 2020 at 20:10, taopeng1100 notifications@github.com<mailto:notifications@github.com> wrote:
Should I run the following three lines of codes in terminal?
conda create -n scirpy python=3.8 conda activate scirpy conda install -c conda-forge -c bioconda scirpy ipykernel
Tao From: Gregor Sturm notifications@github.com<mailto:notifications@github.com> Sent: Monday, October 19, 2020 10:56 AM To: icbi-lab/scirpy scirpy@noreply.github.com<mailto:scirpy@noreply.github.com> Cc: Peng, Tao tpeng@fredhutch.org<mailto:tpeng@fredhutch.org>; Author author@noreply.github.com<mailto:author@noreply.github.com> Subject: Re: [icbi-lab/scirpy] Issues with installing SCIRPY (#182)
ah, you are trying to do all this within jupyter... The conda activate has no effect there. You'll need to run that in the terminal.
You can then choose the notebook to run in the scirpy environment. This should help:
https://stackoverflow.com/questions/39604271/conda-environments-not-showing-up-in-jupyter-notebookhttps://urldefense.proofpoint.com/v2/url?u=https-3A__stackoverflow.com_questions_39604271_conda-2Denvironments-2Dnot-2Dshowing-2Dup-2Din-2Djupyter-2Dnotebook&d=DwQFaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=yGM_z0D2bSqV16LrKlyMiObAUF6tFsEzwvGLhdXx3Fo&s=5gAIyXIzUlzjNc_vL8cIgH1G4wniEmdcO58CgM7zMBw&e= < https://urldefense.proofpoint.com/v2/url?u=https-3A__stackoverflow.com_questions_39604271_conda-2Denvironments-2Dnot-2Dshowing-2Dup-2Din-2Djupyter-2Dnotebook&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=30cFYXasZ4o4dOqRpfIu1VXwS4japAae3m0Cto2uH2E&s=SjPZ5kbaTWEn4iq_XtB19bEVGJgHMc0lNwJ6p5R9pT0&e=%3E
If you feel that's too compilcated, you can go for the nuclear option and delete and reinstall Miniconda. However, I would recommend to familiarize yourself with environments - it saves a lot of pain in the long run.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub< https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_icbi-2Dlab_scirpy_issues_182-23issuecomment-2D712338611&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=30cFYXasZ4o4dOqRpfIu1VXwS4japAae3m0Cto2uH2E&s=_Hi8KVyOKZV73LwAclYW4sWV3l6F9iuYpGOPPOz7IFU&e=%3E, or unsubscribe< https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ALCZ3CL5UWFXJ2AWOEETUM3SLR4R3ANCNFSM4RPKR27Q&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=30cFYXasZ4o4dOqRpfIu1VXwS4japAae3m0Cto2uH2E&s=TF21Ep_qXmGWuHAdCKJzvGMTEo9uzHmo_ZjVYN6zhfc&e=%3E.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/icbi-lab/scirpy/issues/182#issuecomment-712351773https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_icbi-2Dlab_scirpy_issues_182-23issuecomment-2D712351773-253E&d=DwQFaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=yGM_z0D2bSqV16LrKlyMiObAUF6tFsEzwvGLhdXx3Fo&s=8msv00tIWhttCocNXDp1drYUDkBq2PZZnW6FMnn-MKQ&e=, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVZRV2ST5A6NW5L67LGNSDSLR6H7ANCNFSM4RPKR27Qhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ABVZRV2ST5A6NW5L67LGNSDSLR6H7ANCNFSM4RPKR27Q-253E&d=DwQFaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=yGM_z0D2bSqV16LrKlyMiObAUF6tFsEzwvGLhdXx3Fo&s=xP2zWlSl3if8OQ2M2BDMXU0TO4Lq3BAdGwRRPG_GjZs&e= .
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_icbi-2Dlab_scirpy_issues_182-23issuecomment-2D712353371&d=DwMFaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=yGM_z0D2bSqV16LrKlyMiObAUF6tFsEzwvGLhdXx3Fo&s=arAu5Hhr5oJPcMKVS6ij5ZMffDtL_FvALTRGn0BWU5w&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ALCZ3COVWXFPMWLA2UN4QS3SLR6THANCNFSM4RPKR27Q&d=DwMFaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=yGM_z0D2bSqV16LrKlyMiObAUF6tFsEzwvGLhdXx3Fo&s=oQ7SMJL_b-lVv78-FpWqGDQnZyELKMVBnlxn_aEleSs&e=.
Hi I am trying to go through the tutorial using ir.datasets.wu2020_3k()
At the step: ir.tl.clonotype_network(adata, min_size=2) ir.pl.clonotype_network(adata, color="clonotype", legend_loc="none")
I go this error message:
ValueError Traceback (most recent call last)
This is the version of packages:
scanpy==1.6.0 anndata==0.7.4 umap==0.4.6 numpy==1.18.5 scipy==1.5.0 pandas==1.0.5 scikit-learn==0.23.1 statsmodels==0.11.1 python-igraph==0.7.1+5.3b99dbf6 leidenalg==0.7.0
From: Peng, Tao Sent: Thursday, October 22, 2020 10:18 AM To: icbi-lab/scirpy reply@reply.github.com Subject: Error at "ir.tl.clonotype_network(adata, min_size=2)"
Hi I am trying to go through the tutorial using ir.datasets.wu2020_3k()
At the step: ir.tl.clonotype_network(adata, min_size=2) ir.pl.clonotype_network(adata, color="clonotype", legend_loc="none")
I go this error message:
ValueError Traceback (most recent call last)
I think I've seen this error before in this issue: https://github.com/icbi-lab/scirpy/issues/137 In that case it was sth with the environment.
To rule out that you have an old version of the wu2020
dataset, can you try to delete the wu2020_3k.h5ad
file from the data
directory and download it again?
Can you guide on how to remove the old wu dataset and download the new one?
From: Gregor Sturm notifications@github.com Sent: Thursday, October 22, 2020 10:33 AM To: icbi-lab/scirpy scirpy@noreply.github.com Cc: Peng, Tao tpeng@fredhutch.org; Author author@noreply.github.com Subject: Re: [icbi-lab/scirpy] Issues with installing SCIRPY (#182)
I think I've seen this error before in this issue: #137https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_icbi-2Dlab_scirpy_issues_137&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=3xq1Y22FyfL1JH7avyldVmK9SFrruln0s8Vocyf7PT4&s=fyy7rwd17LrtcxHNFnRYkDYzYqjLSQEHDnlprgXQ-G0&e= In that case it was sth with the environment.
To rule out that you have an old version of the wu2020 dataset, can you try to delete the wu2020_3k.h5ad file from the data directory and download it again?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_icbi-2Dlab_scirpy_issues_182-23issuecomment-2D714647436&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=3xq1Y22FyfL1JH7avyldVmK9SFrruln0s8Vocyf7PT4&s=gbQncnWUlgKVCyXx5QdPMURwhV_r3aGrIBth7SUk3Jk&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ALCZ3CL47D7YUXPXIIRSEGTSMBUE3ANCNFSM4RPKR27Q&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=3xq1Y22FyfL1JH7avyldVmK9SFrruln0s8Vocyf7PT4&s=Ir2XzM0AdOGaFDI14nGbRucr0vLsdhfdaPmvpbp5ZYs&e=.
there should be a data
directory in the same folder as your notebook. just delete that.
The dataset is downloaded again automatically when you run ir.datasets.wu2020_3k()
.
I did as you suggested here and the same error !
From: Gregor Sturm notifications@github.com Sent: Thursday, October 22, 2020 10:39 AM To: icbi-lab/scirpy scirpy@noreply.github.com Cc: Peng, Tao tpeng@fredhutch.org; Author author@noreply.github.com Subject: Re: [icbi-lab/scirpy] Issues with installing SCIRPY (#182)
there should be a data directory in the same folder as your notebook. just delete that.
The dataset is downloaded again automatically when you run ir.datasets.wu2020_3k().
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_icbi-2Dlab_scirpy_issues_182-23issuecomment-2D714650902&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=gKIXsVIMabGOoSB6FXHAzSgjvaUG4C7kMMbrkf4e1Wc&s=vAz3IBQ03x_8ut8N_Qmmnp-SSuICbf1nLNYZbLFH1X4&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ALCZ3CIUOQHCHY2VTTIO22TSMBU5BANCNFSM4RPKR27Q&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=gKIXsVIMabGOoSB6FXHAzSgjvaUG4C7kMMbrkf4e1Wc&s=sBzDOBSTwkMAz7sxRglsqwMcfuJvupC2vGMC5cnFdT8&e=.
Hmm, tricky.
Do you exactely run the commands from the tutorial, in the same order, or do you do something (even slightly) different? If so, could you please provide the exact commands you run from the point you start python until the error occurs?
And can you provide the result of pip freeze
?
Attached is HTML file for the steps I have taken to follow the tutorial.
I will look into pip freeze?
From: Gregor Sturm notifications@github.com Sent: Thursday, October 22, 2020 11:25 AM To: icbi-lab/scirpy scirpy@noreply.github.com Cc: Peng, Tao tpeng@fredhutch.org; Author author@noreply.github.com Subject: Re: [icbi-lab/scirpy] Issues with installing SCIRPY (#182)
Hmm, tricky.
Do you exactely run the commands from the tutorial, in the same order, or do you do something (even slightly) different? If so, could you please provide the exact commands you run from the point you start python until the error occurs?
And can you provide the result of pip freeze?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_icbi-2Dlab_scirpy_issues_182-23issuecomment-2D714676180&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=Tus90NFhQQ54QpSZzK1RoAnFB9wvby1fCDECwaWdM78&s=VxUy_wP6AbXC5HDA51Zmzcoq7UwqEJrWO-x2IFD6uFY&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ALCZ3CO2BPCJ6QATWJ6AEZTSMB2H3ANCNFSM4RPKR27Q&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=Tus90NFhQQ54QpSZzK1RoAnFB9wvby1fCDECwaWdM78&s=vrZrogE8IoAU4fqEFF4h8ip6VL2qPwAc0oN1yNSCU78&e=.
Here is the output of pip freeze:
airr==1.3.0 alabaster==0.7.12 anaconda-client==1.7.2 anaconda-navigator==1.9.12 anaconda-project==0.8.3 anndata==0.7.4 annoy @ file:///D:/bld/python-annoy_1589264717844/work argh==0.26.2 asn1crypto @ file:///C:/ci/asn1crypto_1594339244757/work astroid @ file:///C:/ci/astroid_1592481955828/work astropy==4.0.1.post1 atomicwrites==1.4.0 attrs==19.3.0 Automat==0.8.0 autopep8 @ file:///tmp/build/80754af9/autopep8_1592412889138/work Babel==2.8.0 backcall==0.2.0 backports.shutil-get-terminal-size==1.0.0 bbknn==1.3.12 bcrypt==3.1.7 beautifulsoup4==4.9.1 biopython==1.78 bitarray @ file:///C:/ci/bitarray_1594753961793/work bkcharts==0.2 bleach==3.1.5 bokeh @ file:///C:/ci/bokeh_1593179283802/work boto==2.49.0 Bottleneck==1.3.2 brotlipy==0.7.0 certifi==2020.6.20 cffi==1.14.0 changeo==1.0.0 chardet==3.0.4 click==7.1.2 cloudpickle @ file:///tmp/build/80754af9/cloudpickle_1594141588948/work clyent==1.2.2 colorama==0.4.3 comtypes==1.1.7 conda==4.8.4 conda-build==3.17.8 conda-package-handling==1.7.0 Note: you may need to restart the kernel to use updated packages.conda-verify==3.1.1 constantly==15.1.0 contextlib2==0.6.0.post1 cryptography==2.9.2
cssselect==1.1.0 cycler==0.10.0 Cython @ file:///C:/ci/cython_1594834055134/work cytoolz==0.10.1 dask @ file:///tmp/build/80754af9/dask-core_1594156306305/work decorator==4.4.2 defusedxml==0.6.0 descartes==1.1.0 diff-match-patch @ file:///tmp/build/80754af9/diff-match-patch_1594828741838/work distributed @ file:///C:/ci/distributed_1594319358820/work docutils==0.16 entrypoints==0.3 et-xmlfile==1.0.1 fastcache==1.1.0 filelock==3.0.12 flake8==3.8.3 Flask==1.1.2 fsspec==0.7.4 future==0.18.2 get-version==2.1 gevent @ file:///C:/ci/gevent_1593010757573/work glob2==0.7 gmpy2==2.0.8 greenlet==0.4.16 h5py==2.10.0 HeapDict==1.0.1 html5lib @ file:///tmp/build/80754af9/html5lib_1593446221756/work hyperlink==19.0.0 idna @ file:///tmp/build/80754af9/idna_1593446292537/work imageio @ file:///tmp/build/80754af9/imageio_1594161405741/work imagesize==1.2.0 importlib-metadata @ file:///C:/ci/importlib-metadata_1593446525189/work incremental==17.5.0 intervaltree @ file:///tmp/build/80754af9/intervaltree_1594361675072/work ipykernel @ file:///C:/ci/ipykernel_1595342053367/work/dist/ipykernel-5.3.3-py3-none-any.whl ipython @ file:///C:/ci/ipython_1593433781269/work ipython-genutils==0.2.0 ipywidgets==7.5.1 isort==4.3.21 itemadapter @ file:///home/conda/feedstock_root/build_artifacts/itemadapter_1593694453559/work itsdangerous==1.1.0 jdcal==1.4.1 jedi @ file:///C:/ci/jedi_1592833832328/work Jinja2==2.11.2 joblib @ file:///tmp/build/80754af9/joblib_1594236160679/work json5==0.9.5 jsonschema @ file:///C:/ci/jsonschema_1594363671836/work jupyter==1.0.0 jupyter-client @ file:///tmp/build/80754af9/jupyter_client_1594826976318/work jupyter-console==6.1.0 jupyter-core==4.6.3 jupyterlab==2.1.5 jupyterlab-server @ file:///tmp/build/80754af9/jupyterlab_server_1594164409481/work keyring @ file:///C:/ci/keyring_1593109817825/work kiwisolver==1.2.0 lazy-object-proxy==1.4.3 legacy-api-wrap==1.2 leidenalg==0.7.0 libarchive-c==2.9 llvmlite==0.33.0+1.g022ab0f locket==0.2.0 lxml @ file:///C:/ci/lxml_1594826938446/work MarkupSafe @ file:///C:/ci/markupsafe_1594405949945/work matplotlib==3.3.0 matplotlib-venn==0.11.5 mccabe==0.6.1 menuinst==1.4.16 mistune @ file:///C:/ci/mistune_1594373272338/work mizani==0.7.1 mkl-fft==1.1.0 mkl-random==1.1.1 mkl-service==2.3.0 mock==4.0.2 more-itertools==8.4.0 mpmath==1.1.0 msgpack==1.0.0 multipledispatch==0.6.0 natsort==6.2.0 navigator-updater==0.2.1 nbconvert @ file:///C:/ci/nbconvert_1594372737468/work nbformat==5.0.7 networkx @ file:///tmp/build/80754af9/networkx_1594377231366/work nltk @ file:///tmp/build/80754af9/nltk_1592496090529/work nose @ file:///C:/ci/nose_1594377973236/work notebook==6.0.3 numba==0.50.1 numexpr==2.7.1 numpy==1.18.5 numpydoc @ file:///tmp/build/80754af9/numpydoc_1594166760263/work olefile==0.46 openpyxl @ file:///tmp/build/80754af9/openpyxl_1594167385094/work packaging==20.4 palettable==3.3.0 pandas @ file:///C:/ci/pandas_1592841747005/work pandocfilters==1.4.2 paramiko==2.7.1 parasail==1.2 parsel==1.5.2 parso==0.7.0 partd==1.1.0 path==14.0.1 path.py==12.0.2 pathlib2 @ file:///C:/ci/pathlib2_1594381094851/work pathtools==0.1.2 patsy==0.5.1 pep8==1.7.1 pexpect @ file:///C:/ci/pexpect_1594383465186/work pickleshare @ file:///C:/ci/pickleshare_1594374056827/work Pillow @ file:///C:/ci/pillow_1594298234712/work pkginfo==1.5.0.1 plotnine==0.5.1 pluggy==0.13.1 ply==3.11 presto==0.6.1 prometheus-client==0.8.0 prompt-toolkit==3.0.5 Protego==0.1.16 psutil==5.7.0 py @ file:///tmp/build/80754af9/py_1593446248552/work pyasn1==0.4.8 pyasn1-modules==0.2.7 pycairo==1.20.0 pycodestyle==2.6.0 pycosat==0.6.3 pycparser @ file:///tmp/build/80754af9/pycparser_1594388511720/work pycrypto==2.6.1 pycurl==7.43.0.5 PyDispatcher==2.0.5 pydocstyle @ file:///tmp/build/80754af9/pydocstyle_1592848020240/work pyflakes==2.2.0 Pygments==2.6.1 PyHamcrest @ file:///tmp/build/80754af9/pyhamcrest_1594390921726/work pylint @ file:///C:/ci/pylint_1592487534522/work PyNaCl @ file:///C:/ci/pynacl_1595009241355/work pyodbc===4.0.0-unsupported pyOpenSSL @ file:///tmp/build/80754af9/pyopenssl_1594392929924/work pyparsing==2.4.7 pyreadline==2.1 pyrsistent==0.16.0 PySocks @ file:///C:/ci/pysocks_1594394709107/work pytest==5.4.3 pytest-runner==5.2 python-dateutil==2.8.1 python-igraph==0.7.1.post7 python-jsonrpc-server @ file:///tmp/build/80754af9/python-jsonrpc-server_1594397536060/work python-language-server @ file:///C:/ci/python-language-server_1594152769556/work python-Levenshtein==0.12.0 python-louvain==0.13 pytoml==0.1.21 pytz==2020.1 pyvdj @ git+https://github.com/veghp/pyVDJ.git@31cec7d6123853fb9307458a205677101983d845 PyWavelets==1.1.1 pywin32==227 pywin32-ctypes @ file:///C:/ci/pywin32-ctypes_1594392691209/work pywinpty==0.5.7 PyYAML==5.3.1 pyzmq==19.0.1 QDarkStyle==2.8.1 QtAwesome==0.7.2 qtconsole @ file:///tmp/build/80754af9/qtconsole_1592848611704/work QtPy==1.9.0 queuelib==1.5.0 regex @ file:///C:/ci/regex_1593435644645/work requests @ file:///tmp/build/80754af9/requests_1592841827918/work rope==0.17.0 Rtree==0.9.4 ruamel-yaml==0.15.87 scanpy==1.6.0 scikit-image==0.16.2 scikit-learn==0.23.1 scipy @ file:///C:/ci/scipy_1592916958183/work scirpy==0.5.0 Scrapy @ file:///D:/bld/scrapy_1593704860927/work seaborn==0.10.1 Send2Trash==1.5.0 service-identity==18.1.0 setuptools-scm==4.1.2 simplegeneric==0.8.1 sinfo==0.3.1 singledispatch==3.4.0.3 six==1.15.0 snowballstemmer==2.0.0 sortedcollections==1.2.1 sortedcontainers==2.2.2 soupsieve==2.0.1 Sphinx @ file:///tmp/build/80754af9/sphinx_1594223420021/work sphinxcontrib-applehelp==1.0.2 sphinxcontrib-devhelp==1.0.2 sphinxcontrib-htmlhelp==1.0.3 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.4 sphinxcontrib-websupport @ file:///tmp/build/80754af9/sphinxcontrib-websupport_1593446360927/work spyder @ file:///C:/ci/spyder_1594826266791/work spyder-kernels @ file:///C:/ci/spyder-kernels_1594751701920/work SQLAlchemy @ file:///C:/ci/sqlalchemy_1593445585180/work squarify==0.4.3 statsmodels==0.11.1 stdlib-list==0.7.0 sympy @ file:///C:/ci/sympy_1594234541241/work tables==3.5.1 tbb==2019.0 tblib==1.6.0 terminado==0.8.3 testpath==0.4.4 threadpoolctl @ file:///tmp/tmp9twdgx9k/threadpoolctl-2.1.0-py3-none-any.whl toml @ file:///tmp/build/80754af9/toml_1592853716807/work toolz==0.10.0 tornado==6.0.4 tqdm @ file:///tmp/build/80754af9/tqdm_1593446365756/work traitlets==4.3.3 Twisted==20.3.0 typed-ast==1.4.1 typing-extensions @ file:///tmp/build/80754af9/typing_extensions_1592847887441/work ujson==1.35 umap-learn @ file:///D:/bld/umap-learn_1593739921313/work unicodecsv==0.14.1 UpSetPlot==0.3.0.post3 urllib3==1.25.9 w3lib==1.21.0 watchdog @ file:///C:/ci/watchdog_1593446515400/work wcwidth @ file:///tmp/build/80754af9/wcwidth_1593447189090/work webencodings==0.5.1 Werkzeug==1.0.1 widgetsnbextension==3.5.1 win-inet-pton==1.1.0 win-unicode-console==0.5 wincertstore==0.2 wrapt==1.11.2 xlrd==1.2.0 XlsxWriter==1.2.9 xlwings==0.19.5 xlwt==1.3.0 xmltodict==0.12.0 yamlordereddictloader==0.4.0 yapf @ file:///tmp/build/80754af9/yapf_1593528177422/work zict==2.0.0 zipp==3.1.0 zope.event==4.4 zope.interface==4.7.1
From: Gregor Sturm notifications@github.com Sent: Thursday, October 22, 2020 11:25 AM To: icbi-lab/scirpy scirpy@noreply.github.com Cc: Peng, Tao tpeng@fredhutch.org; Author author@noreply.github.com Subject: Re: [icbi-lab/scirpy] Issues with installing SCIRPY (#182)
Hmm, tricky.
Do you exactely run the commands from the tutorial, in the same order, or do you do something (even slightly) different? If so, could you please provide the exact commands you run from the point you start python until the error occurs?
And can you provide the result of pip freeze?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_icbi-2Dlab_scirpy_issues_182-23issuecomment-2D714676180&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=Tus90NFhQQ54QpSZzK1RoAnFB9wvby1fCDECwaWdM78&s=VxUy_wP6AbXC5HDA51Zmzcoq7UwqEJrWO-x2IFD6uFY&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ALCZ3CO2BPCJ6QATWJ6AEZTSMB2H3ANCNFSM4RPKR27Q&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=Tus90NFhQQ54QpSZzK1RoAnFB9wvby1fCDECwaWdM78&s=vrZrogE8IoAU4fqEFF4h8ip6VL2qPwAc0oN1yNSCU78&e=.
I think github doesn't forward attachments.. But you can drag&drop it in when you answer on the github website directly.
Jus loaded a PDF file for all the steps in repeating tutorial.
From: Gregor Sturm notifications@github.com Sent: Thursday, October 22, 2020 11:33 AM To: icbi-lab/scirpy scirpy@noreply.github.com Cc: Peng, Tao tpeng@fredhutch.org; Author author@noreply.github.com Subject: Re: [icbi-lab/scirpy] Issues with installing SCIRPY (#182)
I think github doesn't forward attachments.. But you can drag&drop it in when you answer on the github website directly.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_icbi-2Dlab_scirpy_issues_182-23issuecomment-2D714680838&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=952L1V2F3ZOtwUGSgNwrnCaxAahLvY5jUTP9zfXHyYo&s=02932xhlyH3kLe32ILUpfkHmt37diQYRg2MDb5409ZM&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ALCZ3CNC7ZOQV4GKVT7F6L3SMB3GNANCNFSM4RPKR27Q&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=952L1V2F3ZOtwUGSgNwrnCaxAahLvY5jUTP9zfXHyYo&s=KVVDUmg8IWvY0MLj34rcNspM_QToRzGdQMzi0W9LMFU&e=.
I cannot reproduce the issue. In fact, I cannot even reproduce the environment. There are a lot of packages that are not available on PyPI (any more?).
Also your environment is cluttered with such a vast number of packages. The best advice I have is to start fresh and use a clean conda env (conda create
) or just delete your entire Anaconda installation and install a fresh copy of Miniconda.
Thx for sticking with me. I removed my old anaconda and reinstalled it and pip installed scanpy ands scirpy.
The demo data (wu) is working now.
How can I save the output figures in a high resolution?
Thx again!
Tao
From: Gregor Sturm notifications@github.com Sent: Friday, October 23, 2020 2:45 AM To: icbi-lab/scirpy scirpy@noreply.github.com Cc: Peng, Tao tpeng@fredhutch.org; Author author@noreply.github.com Subject: Re: [icbi-lab/scirpy] Issues with installing SCIRPY (#182)
I cannot reproduce the issue. In fact, I cannot even reproduce the environment. There are a lot of packages that are not available on PyPI (any more?).
Also your environment is cluttered with such a vast number of packages. The best advice I have is to start fresh and use a clean conda env (conda create) or just delete your entire Anaconda installation and install a fresh copy of Minicondahttps://urldefense.proofpoint.com/v2/url?u=https-3A__docs.conda.io_en_latest_miniconda.html&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=-LPMjszTHNFmbfA4xEWD0ENWLYxmi4H4fQ9g3dyFzoM&s=HQSuUANS-pUai9Iv8B429E0hU_8v_kkqlHxWT2MwthU&e=.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_icbi-2Dlab_scirpy_issues_182-23issuecomment-2D715230852&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=-LPMjszTHNFmbfA4xEWD0ENWLYxmi4H4fQ9g3dyFzoM&s=xgOKhB6oquZ8lle_5XkkeDB4HltbJVbrmu5t1IpwNAs&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ALCZ3CLDEQOS4PVIFOBHNQLSMFGCTANCNFSM4RPKR27Q&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=-LPMjszTHNFmbfA4xEWD0ENWLYxmi4H4fQ9g3dyFzoM&s=arc0gJEAXOjZ0AautEh-UsUfuMPxbANsGGEVZzWdQLU&e=.
You can use savefig to save as pdf or other high res graphic.
ax = ir.pl.plot_something()
ax.get_figure().savefig("figure.pdf")
I have enjoyed learning Scirpy so far. Many thx!
From: Gregor Sturm notifications@github.com Sent: Saturday, October 24, 2020 2:50 AM To: icbi-lab/scirpy scirpy@noreply.github.com Cc: Peng, Tao tpeng@fredhutch.org; Author author@noreply.github.com Subject: Re: [icbi-lab/scirpy] Issues with installing SCIRPY (#182)
You can use savefighttps://urldefense.proofpoint.com/v2/url?u=https-3A__matplotlib.org_3.1.1_api_-5Fas-5Fgen_matplotlib.pyplot.savefig.html&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=w0RsfuqS4Kl680osE5j7WbE2Z_zT2gYcl8lgchHv-LY&s=ltQAomkz2KXc6-WxpCOgoo8TpxlZ4bDNwED7BryTFXI&e= to save as pdf or other high res graphic.
ax = ir.pl.plot_something()
ax.get_figure().savefig("figure.pdf")
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_icbi-2Dlab_scirpy_issues_182-23issuecomment-2D715889985&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=w0RsfuqS4Kl680osE5j7WbE2Z_zT2gYcl8lgchHv-LY&s=OhTdzhOJkhRNhZsJdICjHI6ut3dUgbdmp266QdbjfNo&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ALCZ3COJG77ULVRJT6VZHN3SMKPK5ANCNFSM4RPKR27Q&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=w0RsfuqS4Kl680osE5j7WbE2Z_zT2gYcl8lgchHv-LY&s=3qGqmmwOmVTF795Feq7aj_Lgbf9ylVNwHk-Efg2yyFE&e=.
I got the nice graph with this code:
ir.pl.repertoire_overlap( adata, "leiden", pair_to_plot=["2", "4"], fig_kws={"dpi": 200} )
I wonder how I can see the individual clonotypes in leiden cluster “2” and “4”? How can I get the VDJ genes and CDR AA seq for the clonotypes in these two clusters?
I appreciate you made such a grant tool for scRNA+TCR!
Tao
From: Gregor Sturm notifications@github.com Sent: Saturday, October 24, 2020 2:50 AM To: icbi-lab/scirpy scirpy@noreply.github.com Cc: Peng, Tao tpeng@fredhutch.org; Author author@noreply.github.com Subject: Re: [icbi-lab/scirpy] Issues with installing SCIRPY (#182)
You can use savefighttps://urldefense.proofpoint.com/v2/url?u=https-3A__matplotlib.org_3.1.1_api_-5Fas-5Fgen_matplotlib.pyplot.savefig.html&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=w0RsfuqS4Kl680osE5j7WbE2Z_zT2gYcl8lgchHv-LY&s=ltQAomkz2KXc6-WxpCOgoo8TpxlZ4bDNwED7BryTFXI&e= to save as pdf or other high res graphic.
ax = ir.pl.plot_something()
ax.get_figure().savefig("figure.pdf")
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_icbi-2Dlab_scirpy_issues_182-23issuecomment-2D715889985&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=w0RsfuqS4Kl680osE5j7WbE2Z_zT2gYcl8lgchHv-LY&s=OhTdzhOJkhRNhZsJdICjHI6ut3dUgbdmp266QdbjfNo&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ALCZ3COJG77ULVRJT6VZHN3SMKPK5ANCNFSM4RPKR27Q&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=w0RsfuqS4Kl680osE5j7WbE2Z_zT2gYcl8lgchHv-LY&s=3qGqmmwOmVTF795Feq7aj_Lgbf9ylVNwHk-Efg2yyFE&e=.
I am trying to change the scale on both X- & Y-axis of plots using the code below:
ir.pl.repertoire_overlap( adata, "leiden", pair_to_plot=["3", "4"], fig_kws={"dpi": 200}, ax.yaxis.set_major_locator(FixedLocator(np.arange(0, 20, 5))) )
It did not work! I know I need to learn matplotlib better. Is it an easy way to set the scale for axis in scirpy plots?
Thx,
Tao From: Peng, Tao Sent: Tuesday, October 27, 2020 12:14 PM To: icbi-lab/scirpy reply@reply.github.com Subject: RE: [icbi-lab/scirpy] Issues with installing SCIRPY (#182)
I got the nice graph with this code:
ir.pl.repertoire_overlap( adata, "leiden", pair_to_plot=["2", "4"], fig_kws={"dpi": 200} )
I wonder how I can see the individual clonotypes in leiden cluster “2” and “4”? How can I get the VDJ genes and CDR AA seq for the clonotypes in these two clusters?
I appreciate you made such a grant tool for scRNA+TCR!
Tao
From: Gregor Sturm notifications@github.com<mailto:notifications@github.com> Sent: Saturday, October 24, 2020 2:50 AM To: icbi-lab/scirpy scirpy@noreply.github.com<mailto:scirpy@noreply.github.com> Cc: Peng, Tao tpeng@fredhutch.org<mailto:tpeng@fredhutch.org>; Author author@noreply.github.com<mailto:author@noreply.github.com> Subject: Re: [icbi-lab/scirpy] Issues with installing SCIRPY (#182)
You can use savefighttps://urldefense.proofpoint.com/v2/url?u=https-3A__matplotlib.org_3.1.1_api_-5Fas-5Fgen_matplotlib.pyplot.savefig.html&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=w0RsfuqS4Kl680osE5j7WbE2Z_zT2gYcl8lgchHv-LY&s=ltQAomkz2KXc6-WxpCOgoo8TpxlZ4bDNwED7BryTFXI&e= to save as pdf or other high res graphic.
ax = ir.pl.plot_something()
ax.get_figure().savefig("figure.pdf")
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_icbi-2Dlab_scirpy_issues_182-23issuecomment-2D715889985&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=w0RsfuqS4Kl680osE5j7WbE2Z_zT2gYcl8lgchHv-LY&s=OhTdzhOJkhRNhZsJdICjHI6ut3dUgbdmp266QdbjfNo&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ALCZ3COJG77ULVRJT6VZHN3SMKPK5ANCNFSM4RPKR27Q&d=DwMCaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=w0RsfuqS4Kl680osE5j7WbE2Z_zT2gYcl8lgchHv-LY&s=3qGqmmwOmVTF795Feq7aj_Lgbf9ylVNwHk-Efg2yyFE&e=.
I wonder how I can see the individual clonotypes in leiden cluster “2” and “4”? How can I get the VDJ genes and CDR AA seq for the clonotypes in these two clusters?
You can filter adata.obs
(it's just a pandas data frame):
adata.obs.loc[adata.obs["leiden"].isin(["2", "4"]), :]
I am trying to change the scale on both X- & Y-axis of plots using the code below: ir.pl.repertoire_overlap( adata, "leiden", pair_to_plot=["3", "4"], fig_kws={"dpi": 200}, ax.yaxis.set_major_locator(FixedLocator(np.arange(0, 20, 5))) )
close ;)
ax = ir.pl.repertoire_overlap(...)
ax.yaxis.set_major_locator(FixedLocator(np.arange(0, 20, 5)))
I really appreciate your help!
From: Gregor Sturm notifications@github.com Sent: Wednesday, October 28, 2020 12:03 AM To: icbi-lab/scirpy scirpy@noreply.github.com Cc: Peng, Tao tpeng@fredhutch.org; Author author@noreply.github.com Subject: Re: [icbi-lab/scirpy] Issues with installing SCIRPY (#182)
I wonder how I can see the individual clonotypes in leiden cluster “2” and “4”? How can I get the VDJ genes and CDR AA seq for the clonotypes in these two clusters?
You can filter adata.obs (it's just a pandas data frame):
adata.obs.loc[adata.obs["leiden"].isin(["2", "4"]), :]
I am trying to change the scale on both X- & Y-axis of plots using the code below: ir.pl.repertoire_overlap( adata, "leiden", pair_to_plot=["3", "4"], fig_kws={"dpi": 200}, ax.yaxis.set_major_locator(FixedLocator(np.arange(0, 20, 5))) )
close ;)
ax = ir.pl.repertoire_overlap(...)
ax.yaxis.set_major_locator(FixedLocator(np.arange(0, 20, 5)))
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_icbi-2Dlab_scirpy_issues_182-23issuecomment-2D717743240&d=DwMFaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=pDcungVXVhUiQioUj5u_KnnvRMMkQxkMjbEhoGU77BU&s=6QewdBKU_j97dzDERvJJ9K9AowOk6ua_i24CrtDjG6w&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ALCZ3COKSBMZHJG5DZ2X6UTSM663BANCNFSM4RPKR27Q&d=DwMFaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=j6EgtEBZ-6pbDONgnwVzuTHJ6L-gWcikckOhZCwVjPc&m=pDcungVXVhUiQioUj5u_KnnvRMMkQxkMjbEhoGU77BU&s=RM51HuGd06IrDrarD7MN7YqzxsnSxJ38pdiRcNktWgg&e=.
Hi @taopeng1100,
I'm closing this issue now. Feel free to reopen or create a new one if you encounter any other problems.
I am trying to install Scirpy using anaconda/Jupyter on my desktop window.
**when I try this: conda install -c conda-forge -c bioconda scirpy
I go the error message:**
THEN I tried this: pip install scirpy, I got another error message: