Traceback (most recent call last):


 "faceswap.py", line 5, in <module>

import lib.cli as cli


 "/root/faceswap/lib/cli.py", line 11, in <module>

from lib.logger import crash_log, log_setup


 "/root/faceswap/lib/logger.py", line 5, in <module>

from logging.handlers import QueueHandler, QueueListener, Rotating
Handler
ImportError: cannot import name QueueHandler

Traceback (most recent call last):


 "/Users/user/PycharmProjects/PJ1/package_loading.py", line 9, in <module>

from scipy import optimize


 "/Users/user/.conda/envs/PJ1/lib/python3.8/site-packages/scipy/optimize/__init__.py", line 388, in <module>

from ._minimize import *


 "/Users/user/.conda/envs/PJ1/lib/python3.8/site-packages/scipy/optimize/_minimize.py", line 19, in <module>

from .optimize import (_minimize_neldermead, _minimize_powell, _minimize_cg,
ImportError: cannot import name '_minimize_neldermead' from 'scipy.optimize.optimize' (/Users/user/.conda/envs/PJ1/lib/python3.8/site-packages/scipy/optimize/optimize.py)
