Giter Site home page Giter Site logo

Traceback issue about osrframework HOT 3 OPEN

HumanInjection avatar HumanInjection commented on June 18, 2024
Traceback issue

from osrframework.

Comments (3)

atanu2679 avatar atanu2679 commented on June 18, 2024

└─# 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.....................

from osrframework.

ridoutdev avatar ridoutdev commented on June 18, 2024

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

from osrframework.

Korede01 avatar Korede01 commented on June 18, 2024

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

from osrframework.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.