Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAC M3安装问题,PrepareEnv()配置,Rstudio就崩溃 #257

Open
huaxueyangyun opened this issue Sep 9, 2024 · 1 comment
Open

MAC M3安装问题,PrepareEnv()配置,Rstudio就崩溃 #257

huaxueyangyun opened this issue Sep 9, 2024 · 1 comment

Comments

@huaxueyangyun
Copy link

huaxueyangyun commented Sep 9, 2024

张老师,
您好!非常感谢您提供如此优秀的R包。
我在安装的时候,按照如下代码:
renv::init(project = "/Users/ellen/Library/R/arm64/SCP_env", bare = TRUE, restart = TRUE)
renv::activate(project = "/Users/ellen/Library/R/arm64/SCP_env")
renv::install("BiocManager")
renv::install("zhanghao-njmu/SCP", repos = BiocManager::repositories())
SCP::PrepareEnv()
library(reticulate)。
安装SCP都是顺利的,但是在PrepareEnv()就开始有问题,
**首先是出现这样的问题1:**Error in check_Python(packages = packages, envname = envname, conda = conda, :
Failed to install the package(s): leidenalg==0.10.1,matplotlib==3.6.3,numba==0.55.2,numpy==1.21.6,palantir==1.0.1,pandas==1.3.5,python-igraph==0.10.2,scanpy==1.9.5,scikit-learn==1.3.2,scipy==1.10.1,scvelo==0.2.5,wot==1.0.8.post2,trimap==1.1.4,pacmap==0.7.0,phate==1.0.11,bbknn==1.6.0,scanorama==1.7.4,scvi-tools==0.20.3 into the environment "SCP_env". Please install manually。
解决办法:通过手动安装顺利解决问题1。
**顺利进行后,又出现了问题2:**ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
fcsparser 0.2.8 requires pandas>=1.5.3, but you have pandas 1.3.5 which is incompatible.
解决办法:试着把fcsparser降为0.2.7。但不确定是否影响。因为后续没有提示过错误。
**最后出现了怎么都没办法解决的问题3:**如图,只要运行PrepareEnv(),就会直接崩溃。
image
麻烦张老师帮忙看看,具体问题出在哪里。谢谢!
以下是python安装的包版本:
Package Version


absl-py 2.1.0
aiohappyeyeballs 2.4.0
aiohttp 3.10.5
aiosignal 1.3.1
anndata 0.9.2
annoy 1.17.3
async-timeout 4.0.3
attrs 24.2.0
backports.zoneinfo 0.2.1
bbknn 1.6.0
cached-property 1.5.2
chex 0.1.7
click 8.1.7
cmake 3.30.3
contextlib2 21.6.0
contourpy 1.1.1
cycler 0.12.1
Cython 3.0.11
decorator 5.1.1
Deprecated 1.2.14
dm-tree 0.1.8
docrep 0.3.2
et-xmlfile 1.1.0
etils 1.3.0
fbpca 1.0
fcsparser 0.2.7
filelock 3.16.0
flax 0.7.2
fonttools 4.53.1
frozenlist 1.4.1
fsspec 2024.9.0
future 1.0.0
geosketch 1.2
graphtools 1.5.3
h5py 3.11.0
idna 3.8
igraph 0.10.2
importlib_metadata 8.4.0
importlib_resources 6.4.5
intervaltree 3.1.0
jax 0.4.13
jaxlib 0.4.13
Jinja2 3.1.4
joblib 1.4.2
kiwisolver 1.4.7
leidenalg 0.10.1
lightning-utilities 0.11.7
llvmlite 0.38.1
loompy 3.0.7
markdown-it-py 3.0.0
MarkupSafe 2.1.5
matplotlib 3.6.3
mdurl 0.1.2
ml_collections 0.1.1
ml-dtypes 0.2.0
mpmath 1.3.0
msgpack 1.0.8
mudata 0.2.3
multidict 6.0.5
multipledispatch 1.0.0
natsort 8.4.0
nest-asyncio 1.6.0
networkx 3.1
numba 0.55.2
numexpr 2.8.4
numpy 1.21.6
numpy_groupies 0.9.22
numpyro 0.12.1
openpyxl 3.1.5
opt-einsum 3.3.0
optax 0.1.8
orbax-checkpoint 0.2.3
packaging 24.1
pacmap 0.7.0
palantir 1.0.1
pandas 1.3.5
patsy 0.5.6
phate 1.0.11
PhenoGraph 1.5.7
pillow 10.4.0
pip 24.2
POT 0.9.4
psutil 6.0.0
py-cpuinfo 9.0.0
Pygments 2.18.0
PyGSP 0.5.1
pynndescent 0.5.13
pyparsing 3.1.4
pyro-api 0.1.2
pyro-ppl 1.9.1
python-dateutil 2.9.0.post0
python-igraph 0.10.2
pytorch-lightning 1.9.5
pytz 2024.1
PyYAML 6.0.2
rich 13.8.0
s_gd2 1.8.1
scanorama 1.7.4
scanpy 1.9.5
scikit-learn 1.3.2
scipy 1.10.1
scprep 1.2.3
scvelo 0.2.5
scvi-tools 0.20.3
seaborn 0.13.2
session_info 1.0.0
setuptools 73.0.1
six 1.16.0
sortedcontainers 2.4.0
statsmodels 0.14.1
stdlib-list 0.10.0
sympy 1.13.2
tables 3.8.0
tasklogger 1.2.0
tensorstore 0.1.45
texttable 1.7.0
threadpoolctl 3.5.0
toolz 0.12.1
torch 2.4.1
torchmetrics 1.4.1
tqdm 4.66.5
trimap 1.1.4
typing_extensions 4.12.2
tzdata 2024.1
tzlocal 5.2
umap-learn 0.5.6
wheel 0.44.0
wot 1.0.8.post2
wrapt 1.16.0
yarl 1.11.0
zipp 3.20.1

@AcetylCoALab
Copy link

我也有一样的问题,mac一旦调用python就会崩溃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants