theislab / scvelo

RNA Velocity generalized through dynamical modeling
https://scvelo.org
BSD 3-Clause "New" or "Revised" License
400 stars 103 forks source link

cannot use module of scvelo after import in Spyder #1227

Closed yulchen810 closed 4 months ago

yulchen810 commented 4 months ago

I installed scvelo (version 0.3.2) in conda scVelo environment, I can import scvelo in Spyder but cannot use module of it.

import scvelo as scv

scv.set_figure_params()
Traceback (most recent call last):

  Cell In[18], line 1
    scv.set_figure_params()

AttributeError: module 'scvelo' has no attribute 'set_figure_params'

scv.settings.verbosity = 3
Traceback (most recent call last):

  Cell In[19], line 1
    scv.settings.verbosity = 3

AttributeError: module 'scvelo' has no attribute 'settings'

Does anyone know what's the problem?

Thank you!

WeilerP commented 4 months ago

@yulchen810, looks like something is wrong with your conda environment or something went wrong when you installed scvelo. I just checked pip installing scvelo in a clean environment and everything works.