Closed riederd closed 10 months ago
I could work around the issue by manually downloading the project.toml
[1] file from pypath
to the pypath
package dir in my conda env [2]
Shouldn't this file by included in the pypath
package?
[1] https://github.com/saezlab/pypath/blob/master/pyproject.toml
[2] ~/.conda/envs/scirpy/lib/python3.10/site-packages/pypath
Hi @riederd, thanks for reporting! This is a very recent issue that I introduced just a few days ago, and will be gone hopefully very soon. A fast solution might be to downgrade pypath. Or wait until today/tomorrow when I will be ready fixing this. Very interesting that moving pyproject.toml
into the directory of the installed Python package does anything: that file definitely shouldn't be there, and is supposed to have no function in that directory.
Thanks for the suggestions, as it works for now, I'll just wait until fixed.
Hi @riederd, Over the last few days pypath
had an issue which made it fail on import in many situations. Now this is supposed to be resolved, and I would expect Progeny mouse to work in decoupler
, if you update pypath-omnipath
to its latest version:
pip install --upgrade git+https://github.com/saezlab/pypath.git
If you still experience issues, please also share the pypath log or any error that happens at importing pypath:
import pypath
pypath.log()
# or path to the log:
pypath.session.log.fname
Hi, many thanks for your effort. The issue seems to be fixed now.
Describe the bug When trying to get the progeny net using
dc.get_progeny(organism = 'mouse')
I get an import error saying:ImportError: pypath-omnipath is not installed. Please install it with: pip install git+https://github.com/saezlab/pypath.git
However, I installed all (?) relevant packages, as follows:
To Reproduce
The above code results in the following output:
Expected behavior
dc.get_progeny(organism = 'mouse')
should return the progeny net for mouse.System