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

ImportError: cannot import name 'PathLike' #53

Open
zhao-xinlu opened this issue Oct 30, 2022 · 1 comment
Open

ImportError: cannot import name 'PathLike' #53

zhao-xinlu opened this issue Oct 30, 2022 · 1 comment

Comments

@zhao-xinlu
Copy link

I am installed conga in 29. Oct 2022 following conga readme.md.

conda create -n conga_new_env ipython python=3.6
conda activate conga_new_env # or: "source activate conga_new_env" depending on your conda setup
conda install seaborn scikit-learn statsmodels numba pytables
conda install -c conda-forge python-igraph leidenalg louvain notebook
conda install -c intel tbb # optional
pip install scanpy
pip install fastcluster # optional
conda install pyyaml #optional for using yaml-formatted configuration files for scripts

I activated the conga_new_env, and run code from "Seurat_to_Conga.ipynb". It report an errer :
"Seurat_to_Conga.ipynb"
when i run the first line
"import scanpy as sc"

My python version info is:
Python 3.6.15 | packaged by conda-forge | (default, Dec 3 2021, 18:49:41)
IPython 7.16.1 -- An enhanced Interactive Python.

Mybe the python version is too old?

Thanks.

@sschattgen
Copy link
Collaborator

PathLike was implemented in 3.6 so I'm not sure if that's the issue. https://docs.python.org/3/library/os.html#os.PathLike
Nonetheless, you can certainly try moving up in version and see if that helps. I use 3.8 currently, myself.

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