You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(equibind) akshat@Akshat:/mnt/d/program/condaenv/equibind$ python inference.py --config=configs_clean/inference.yml
Traceback (most recent call last):
File "inference.py", line 21, in
from train import load_model
File "/mnt/d/program/condaenv/equibind/train.py", line 13, in
from trainer.binding_trainer import BindingTrainer
File "/mnt/d/program/condaenv/equibind/trainer/binding_trainer.py", line 4, in
from trainer.trainer import Trainer
File "/mnt/d/program/condaenv/equibind/trainer/trainer.py", line 7, in
import pyaml
File "/home/akshat/miniconda3/envs/equibind/lib/python3.7/site-packages/pyaml/init.py", line 14
if (sort_keys := kws.pop('sort_dicts', None)) is not None:
^
SyntaxError: invalid syntax
this is the error I am getting again and again
The text was updated successfully, but these errors were encountered:
I found a solution by modifying slightly the requirements inside the environment.yml file. I changed the version of pyaml to pyaml=17.12.1 which is compatible with python 3.7:
(equibind) akshat@Akshat:/mnt/d/program/condaenv/equibind$ python inference.py --config=configs_clean/inference.yml
Traceback (most recent call last):
File "inference.py", line 21, in
from train import load_model
File "/mnt/d/program/condaenv/equibind/train.py", line 13, in
from trainer.binding_trainer import BindingTrainer
File "/mnt/d/program/condaenv/equibind/trainer/binding_trainer.py", line 4, in
from trainer.trainer import Trainer
File "/mnt/d/program/condaenv/equibind/trainer/trainer.py", line 7, in
import pyaml
File "/home/akshat/miniconda3/envs/equibind/lib/python3.7/site-packages/pyaml/init.py", line 14
if (sort_keys := kws.pop('sort_dicts', None)) is not None:
^
SyntaxError: invalid syntax
this is the error I am getting again and again
The text was updated successfully, but these errors were encountered: