Open yuanmuqing2000 opened 1 year ago
I had a similar issue - I think its caused by pygments being installed twice. Restarting the runtime (Runtime -> Restart runtime) after you've installed the packages from pip, but before importing, may solve the issue.
I'm having some success skipping the installation of scvi-collab, and installing using only this command: !pip install cell2location[tutorials]
I can now successfully import cell2location and continue with the tutorial, but will report back if I find any other errors
Note: Please read this guide detailing how to provide the necessary information for us to reproduce your bug.
Minimal code sample (that we can run without your data, using public data)
I run the colab tutorial and the first part has error below. Then there is bug ‘Pygments2.6.1 (/usr/local/lib/python3.8/dist-packages), Requirement.parse('pygments<3.0.0,>=2.14.0'), {'rich'}' in "import cell2location". I tried 'pip install jedi==0.10' and it remains the same. It is the first time I put issue on github and it will be very nice if you provide help for me.