diff --git a/portrait/install.py b/portrait/install.py index cc6d90e..059c705 100644 --- a/portrait/install.py +++ b/portrait/install.py @@ -97,7 +97,8 @@ try: subpack_req = os.path.join(root_path, "requirements.txt") check_and_install_requirements(subpack_req) - + if platform.system() != "Windows" : + process_wrap(pip_install + ['mmcv_full'], cwd=root_path) if sys.argv[0] == 'install.py': sys.path.append('.') # for portable version diff --git a/requirements.txt b/requirements.txt index 6eb9b26..b4f7bee 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,5 +9,4 @@ scikit-image matplotlib insightface diffusers==0.18.2 -sentencepiece -mmcv_full +sentencepiece \ No newline at end of file