Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Traceback issue #381

Open
HumanInjection opened this issue Jul 15, 2022 · 3 comments
Open

Traceback issue #381

HumanInjection opened this issue Jul 15, 2022 · 3 comments

Comments

@HumanInjection
Copy link

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
Copy link

└─# 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
Copy link

ridoutdev commented Sep 8, 2022

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

@Korede01
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants