Page 1 of 1
No module named facewap.plugins faceswap is not a package
Posted: Sat Dec 05, 2020 2:15 am
by oneduality
Code: Select all
Setting Faceswap backend to NVIDIA
Traceback (most recent call last):
File "x:\faceswap/faceswap.py", line 48, in <module>
_main()
File "x:\faceswap/faceswap.py", line 33, in _main
generate_configs()
File "x:\faceswap\lib\config.py", line 364, in generate_configs
mod.Config(None)
File "x:\faceswap\lib\config.py", line 27, in __init__
self.set_defaults()
File "x:\faceswap\plugins\convert\_config.py", line 31, in set_defaults
self.load_module(filename, import_path, plugin_type)
File "x:\faceswap\plugins\convert\_config.py", line 40, in load_module
mod = import_module("{}.{}".format(module_path, module))
File "C:\Users\lonnie\MiniConda3\envs\faceswap\lib\importlib\__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 970, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'faceswap.plugins'; 'faceswap' is not a package
I just installed it ( Windows 10 64 bit ) I already had miniconda installed and it did create the environment, but I followed the windows install guide. And yes I do have an NVIDIA .. RTX2080 Ti
I've already tried updating deps with python update_deps.py
Any thoughts?
I've tried googling this error but haven't seen any result for this specifically.
Re: No module named facewap.plugins faceswap is not a package
Posted: Sat Dec 05, 2020 11:57 am
by torzdf
Ideally, could you try to follow these steps first to try to resolve any conflicts/improperly configured packages first:
app.php/faqpage#f1r1
If the problem persists we can look to go from there.
Help,Cant open GUI.
Posted: Tue Dec 29, 2020 10:49 am
by facepaws
Code: Select all
C:\Users\sand>"C:\Users\sand\Miniconda3\scripts\activate.bat" && conda activate "faceswap" && python "d:\faceswap/faceswap.py" gui
Setting Faceswap backend to NVIDIA
Traceback (most recent call last):
File "d:\faceswap/faceswap.py", line 48, in <module>
_main()
File "d:\faceswap/faceswap.py", line 33, in _main
generate_configs()
File "d:\faceswap\lib\config.py", line 365, in generate_configs
mod.Config(None)
File "d:\faceswap\lib\config.py", line 27, in __init__
self.set_defaults()
File "d:\faceswap\plugins\convert\_config.py", line 31, in set_defaults
self.load_module(filename, import_path, plugin_type)
File "d:\faceswap\plugins\convert\_config.py", line 40, in load_module
mod = import_module("{}.{}".format(module_path, module))
File "C:\Users\GodsLife\MiniConda3\envs\faceswap\lib\importlib\__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 970, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'faceswap.plugins'; 'faceswap' is not a package
code d:\faceswap>python update_deps.py
INFO Updating dependencies...
Setting Faceswap backend to NVIDIA
INFO Setup in Windows 10
INFO Installed Python: 3.8.5 64bit
INFO Running in Conda
INFO Running in a Virtual Environment
INFO Encoding: cp936
INFO Installed pip: 20.3.3
INFO All Dependencies are up to date
INFO Dependencies updated[/code]
Re: No module named facewap.plugins faceswap is not a package
Posted: Tue Dec 29, 2020 3:50 pm
by torzdf
Re: No module named facewap.plugins faceswap is not a package
Posted: Tue Feb 16, 2021 11:07 pm
by AtlasRedux
Have the same issue.
Have tried reinstalling everything, completely nuked everything before reinstalling, clean reinstall, still the same.
Tried manually installing different Python versions, still the same (currently on 3.8.0).
Running update_deps.py shows all dependencies are up to date.
Still pukes out ---> ModuleNotFoundError: No module named 'faceswap.plugins'; 'faceswap' is not a package
Re: No module named facewap.plugins faceswap is not a package
Posted: Tue Feb 16, 2021 11:18 pm
by torzdf
Ultimately this is system related rather than faceswap related. The best I can suggest is googling around it to see if you can find a solution
Re: No module named facewap.plugins faceswap is not a package
Posted: Wed Feb 17, 2021 12:07 am
by AtlasRedux
Did a manual install. Works just fine then. Installer simply won't work, and manual install isn't that hard anyways, so all good here now.
Re: No module named facewap.plugins faceswap is not a package
Posted: Wed Feb 17, 2021 12:25 am
by torzdf
I'm glad it's working. That is pretty strange.
Re: No module named facewap.plugins faceswap is not a package
Posted: Wed Feb 17, 2021 6:37 pm
by torzdf
Ok. There was a bug which happens on some windows installs. I have pushed an update which should address this.