i3visio / osrframework

OSRFramework, the Open Sources Research Framework is a AGPLv3+ project by i3visio focused on providing API and tools to perform more accurate online researches.
GNU Affero General Public License v3.0
928 stars 245 forks source link

Traceback issue #381

Open HumanInjection opened 2 years ago

HumanInjection commented 2 years ago

I Have this issue, I dont know whats that mean, please help me

└─$ osrf --help Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/osrframework/utils/updates.py", line 22, in from pip._internal.utils.misc import get_installed_distributions ImportError: cannot import name 'get_installed_distributions' from 'pip._internal.utils.misc' (/usr/lib/python3/dist-packages/pip/_internal/utils/misc.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/bin/osrf", line 5, in from osrframework.launcher import main File "/usr/local/lib/python3.10/dist-packages/osrframework/launcher.py", line 33, in import osrframework.upgrade as upgrade File "/usr/local/lib/python3.10/dist-packages/osrframework/upgrade.py", line 30, in from osrframework.utils.updates import UpgradablePackage File "/usr/local/lib/python3.10/dist-packages/osrframework/utils/updates.py", line 24, in from pip import get_installed_distributions ImportError: cannot import name 'get_installed_distributions' from 'pip' (/usr/lib/python3/dist-packages/pip/init.py)

atanu2679 commented 2 years ago

└─# osrf --help
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/osrframework/utils/updates.py", line 22, in from pip._internal.utils.misc import get_installed_distributions ImportError: cannot import name 'get_installed_distributions' from 'pip._internal.utils.misc' (/usr/local/lib/python3.10/dist-packages/pip/_internal/utils/misc.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/bin/osrf", line 33, in sys.exit(load_entry_point('osrframework==0.20.5', 'console_scripts', 'osrf')()) File "/usr/local/bin/osrf", line 25, in importlib_load_entry_point return next(matches).load() File "/usr/lib/python3.10/importlib/metadata/init.py", line 171, in load module = import_module(match.group('module')) 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 "/usr/local/lib/python3.10/dist-packages/osrframework/launcher.py", line 33, in import osrframework.upgrade as upgrade File "/usr/local/lib/python3.10/dist-packages/osrframework/upgrade.py", line 30, in from osrframework.utils.updates import UpgradablePackage File "/usr/local/lib/python3.10/dist-packages/osrframework/utils/updates.py", line 24, in from pip import get_installed_distributions ImportError: cannot import name 'get_installed_distributions' from 'pip' (/usr/local/lib/python3.10/dist-packages/pip/init.py)

same error.....................

ridoutdev commented 2 years ago

Open terminal in folder osrframework-master/osrframework and use --> $ usufy.py -h

Korede01 commented 2 years ago

Really dont know what to do here:

Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/osrframework/utils/updates.py", line 22, in from pip._internal.utils.misc import get_installed_distributions ImportError: cannot import name 'get_installed_distributions' from 'pip._internal.utils.misc' (/usr/lib/python3/dist-packages/pip/_internal/utils/misc.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/bin/osrf", line 5, in from osrframework.launcher import main File "/usr/local/lib/python3.10/dist-packages/osrframework/launcher.py", line 33, in import osrframework.upgrade as upgrade File "/usr/local/lib/python3.10/dist-packages/osrframework/upgrade.py", line 30, in from osrframework.utils.updates import UpgradablePackage File "/usr/local/lib/python3.10/dist-packages/osrframework/utils/updates.py", line 24, in from pip import get_installed_distributions ImportError: cannot import name 'get_installed_distributions' from 'pip' (/usr/lib/python3/dist-packages/pip/init.py)

How do i access folder: osrframework-master/osrframework