Can't run on Mac M1.

#60
by etayb - opened

Please help me run it on my Mac.

I tried to download RVC-beta0717.7z version, then to run: "sh ./run.sh"

It failed, and after searching how to solve it, a lot of people recommended to downgrade lxml version to 4.9.4 which I did (and verified it worked). but still I get this error:

Traceback (most recent call last):
File "infer-web.py", line 26, in
from fairseq import checkpoint_utils
File "/opt/homebrew/lib/python3.8/site-packages/fairseq/init.py", line 40, in
import fairseq.scoring # noqa
File "/opt/homebrew/lib/python3.8/site-packages/fairseq/scoring/init.py", line 55, in
importlib.import_module("fairseq.scoring." + module)
File "/opt/homebrew/Cellar/[email protected]/3.8.18_2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/opt/homebrew/lib/python3.8/site-packages/fairseq/scoring/bleu.py", line 14, in
from fairseq.scoring.tokenizer import EvaluationTokenizer
File "/opt/homebrew/lib/python3.8/site-packages/fairseq/scoring/tokenizer.py", line 8, in
import sacrebleu as sb
File "/opt/homebrew/lib/python3.8/site-packages/sacrebleu/init.py", line 21, in
from .utils import smart_open, SACREBLEU_DIR, download_test_set # noqa: F401
File "/opt/homebrew/lib/python3.8/site-packages/sacrebleu/utils.py", line 597, in
from .dataset import DATASETS, SUBSETS, DOMAINS, COUNTRIES
File "/opt/homebrew/lib/python3.8/site-packages/sacrebleu/dataset/init.py", line 73, in
from .wmt_xml import WMTXMLDataset
File "/opt/homebrew/lib/python3.8/site-packages/sacrebleu/dataset/wmt_xml.py", line 3, in
import lxml.etree as ET
ImportError: dlopen(/opt/homebrew/lib/python3.8/site-packages/lxml/etree.cpython-38-darwin.so, 0x0002): symbol not found in flat namespace '_exsltDateXpathCtxtRegister'

Did you ever find a fix? …I was gonna install this but did the preemptive pre install search for problems on M2 Mac search and found your post.

Your need to confirm your account before you can post a new comment.

Sign up or log in to comment