datactive / bigbang

Scientific analysis of collaborative communities
http://datactive.github.io/bigbang/
MIT License
152 stars 52 forks source link

mistune dependency conflict upon install #609

Closed mzargham closed 9 months ago

mzargham commented 9 months ago

Followed install instructions here: https://github.com/datactive/bigbang?tab=readme-ov-file#installation

generated this error

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
m2r2 0.3.3.post2 requires mistune==0.8.4, but you have mistune 3.0.2 which is incompatible.

full terminal output: bigbang_install_bug.txt

mzargham commented 9 months ago

I solved the issue by completely uninstalling anaconda and reinstalling it. I am not sure what the origin of the fault -- but if anyone else encounters it, i recommend a clean python install.

In addition to a fresh python install i needed to downgrade mistune

 pip install mistune==0.8.4

and then i had to do some minor bug chasing, at which point i found another missing dependency

pip install sphinx_rtd_theme

at this point the documentation compiled.

When i went to try out the Tutorial i hit new snags, again with Mistune. I then uninstalled and reinstalled Mistune to go back to the current version; that allowed some but not all of the notebook functionality to run; the source of the issues appears to be something else so i am closing this one.