Open DocMinus opened 3 days ago
Hello @DocMinus, it looks like your issues are related to the installation of torch_scatter. This package seems to always cause problems (I've had it fail before myself). I just tried a fresh re-install with python 3.10 and the install of torch scatter failed for me.
I'm not sure there is an easy solution to this. However, torch scatter is only required by a small subset of the single-step models (retro-knn
, maybe some other indirectly). Unless you want to use that specific model you don't actually need to install torch scatter. For example, I ran
pip install "syntheseus[chemformer,graph2edits,local-retro,megan,mhn-react]"
on a linux system (not WSL though) and all the tests passed for me (admittedly, the CLI tests are skipped if not all the single-step models are installed). Could that help get things working for you?
Separate to above, @kmaziarz does "pip install syntheseus[all]" work for you on WSL (I no longer have a windows computer to test it on). If torch-scatter is causing problems, should we change the dependencies in any way to make most tests run without it?
thanks. I will try some of the above suggestions. I am guessing I don't have to bother testing this on Mac Silicone?
When running the pytest I get a number of Fs. Most likely due to the install? Had to do some manual hands-on, the out-of-box pip install didn't work. I am running on WSL2 Unbuntu 22 (with Nvidia GPU). What I did differently after the first pip install due to errors after bailing out due to torch_scatter:
mamba install -c pyg -c conda-forge torch-scatter pip install "syntheseus[all]" pip install typing-extensions==4.6.0 (since 4.5.0 not combatible)
the first run of tests conked out due to graphviz? Thus I manually installed that via sudo apt install graphviz and rerun pip install "syntheseus[all]" which reinstalled typing_extenstions 4.5.0. Running pytests then led to this
and way too much text to copy/paste here. many, not all, seem to refere to torch_scatter where errors like are shown:
another recurring error:
any ideas?