Open EricR86 opened 5 years ago
Original comment by Eric Roberts (Bitbucket: ericr86, GitHub: ericr86).
This is because of the package 'forked-path' being installed on systems. Newer versions of Genomedata use the "correct" package path.py (not an old "forked" version). Both python packages are named "path" and can conflict with each other. It's important to move away from "forked-path" but the fact that this package will remain on systems unless a clean environment is used or a forced uninstall happens is a problem I'm not sure how to work around.
There's unfortunately no good upgrade solution that I know of and all suggestions would be welcome. When upgrading, removing "forked-path" from your python packages should alleviate your issues.
Original comment by Michael Hoffman (Bitbucket: hoffman, GitHub: michaelmhoffman).
You should be able to use the pkg_resources
module to force specific versions of dependencies at runtime. https://setuptools.readthedocs.io/en/latest/pkg_resources.html
Original report (archived issue) by Coby Viner (Bitbucket: cviner2, GitHub: cviner).
On Graham, I had version 1.3.6 installed via
pip install --user genomedata
.Upon upgrading, via
pip install --user --upgrade genomedata
, to version 1.4.4, I was no longer able to use genomedata, obtaining:This occurred with
path.py
11.5.0, which was automatically installed. Downgrading to version 8.2.1 restored functionality, at least with respect to this single command. Uninstalling and reinstallingpath.py
manually, to the latest version (11.5.0) also appeared to resolve this, but other modules may have been upgraded in between doing so (unfortunately I cannot reproduce this part).Relatedly, something similar appears to be a common issue with
path.py
, though not directly involving these versions or workflow. It might be a good idea to (somehow) force a reinstall ofpath.py
or perhaps just to document this as a potential issue with the above possible solution?