Unable to install erpnext on new site

Facing error—>

ubuntu@638e4724dc84:~/frappe-bench/apps/erpnext$ bench --site new_luckybee install-app erpnext --force

Installing erpnext…
Updating DocTypes for erpnext : [============ ] 30%An error occurred while installing erpnext: Module import failed for Twitter Settings, the DocType you’re trying to open might be deleted.
Error: No module named ‘tweepy.error’
Traceback (most recent call last):
File “apps/frappe/frappe/modules/utils.py”, line 255, in load_doctype_module
doctype_python_modules[key] = frappe.get_module(module_name)
File “apps/frappe/frappe/init.py”, line 1343, in get_module
return importlib.import_module(modulename)
File “/usr/lib/python3.10/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1050, in _gcd_import
File “”, line 1027, in _find_and_load
File “”, line 1006, in _find_and_load_unlocked
File “”, line 688, in _load_unlocked
File “”, line 883, in exec_module
File “”, line 241, in _call_with_frames_removed
File “apps/erpnext/erpnext/crm/doctype/twitter_settings/twitter_settings.py”, line 13, in
from tweepy.error import TweepError
ModuleNotFoundError: No module named ‘tweepy.error’

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

image

Either install Tweepy properly or remove it completely.

I removed it from packages but still facing error

If I could name it, that means it’s traces are still there.

How you installed it and then how you removed it?

I installed a tweepy package using pip install and the same way I removed pip uninstall