I am trying to install this marvin python package (Installation - Marvin) and am successful doing so with pip install marvin, per the instructions. However, when I do import marvin in my python script, even if I do something like, from marvin import ai_fn, the script imports this marvin (sdss-marvin · PyPI), which though it has a different installation (pip install sdss-marvin), it also uses import marvin.
I have tried everything I could think of, but can’t figure out how to prevent this other marvin (sdss-marvin) from being imported and it breaks my repl environment every time. Any suggestions?
To note, I was also using the Marvin package just fine the last few days and it still works from an old repl I have. I just can no longer create a new repl and install it. It might be related to the switch to the beta version of the Python template using Replit’s new Nix module system. I just started getting that message today when I create a new Python repl.
Thanks for the help Firepup. I ended up disabling the Explorer role and that fixed the issue. To note, your suggestion to set guessImports = false works perfectly if the Explorer role is disabled and Replit’s new Nix module system isn’t active. When Explorer was on and the Nix module system is active the guessImports = false wasn’t being respected.