Giter Club home page Giter Club logo

Comments (3)

Merinorus avatar Merinorus commented on July 21, 2024

Hi,
Same with selenium==4.4.3 or just selenium here.

Traceback (most recent call last):
  File "C:\Python310\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Python310\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Users\merinorus\.cache\pre-commit\repoc2e43htu\py_env-python3.10\Scripts\liccheck.EXE\__main__.py", line 7, in <module>
  File "C:\Users\merinorus\.cache\pre-commit\repoc2e43htu\py_env-python3.10\lib\site-packages\liccheck\command_line.py", line 399, in main
    sys.exit(run(args))
  File "C:\Users\merinorus\.cache\pre-commit\repoc2e43htu\py_env-python3.10\lib\site-packages\liccheck\command_line.py", line 388, in run
    return process(args['requirement_txt_file'], strategy, args['level'], args['reporting_txt_file'],
  File "C:\Users\merinorus\.cache\pre-commit\repoc2e43htu\py_env-python3.10\lib\site-packages\liccheck\command_line.py", line 250, in process
    pkg_info = get_packages_info(requirement_file, no_deps)
  File "C:\Users\merinorus\.cache\pre-commit\repoc2e43htu\py_env-python3.10\lib\site-packages\liccheck\command_line.py", line 166, in get_packages_info
    packages = [transform(dist) for dist in resolve_func(requirements)]
  File "C:\Users\merinorus\.cache\pre-commit\repoc2e43htu\py_env-python3.10\lib\site-packages\liccheck\command_line.py", line 166, in <listcomp>
    packages = [transform(dist) for dist in resolve_func(requirements)]
  File "C:\Users\merinorus\.cache\pre-commit\repoc2e43htu\py_env-python3.10\lib\site-packages\liccheck\requirements.py", line 51, in resolve
    for dist in pkg_resources.working_set.resolve(requirements):
  File "C:\Users\merinorus\.cache\pre-commit\repoc2e43htu\py_env-python3.10\lib\site-packages\pkg_resources\__init__.py", line 795, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'selenium==4.4.3' distribution was not found and is required by the application
gathering licenses...

from python-license-check.

Sahith-8055 avatar Sahith-8055 commented on July 21, 2024

Hi,
Same here with wrapt==1.15.0.

gathering licenses... Traceback (most recent call last): File "/usr/local/bin/liccheck", line 8, in <module> sys.exit(main()) ^^^^^^ File "/usr/local/lib/python3.11/site-packages/liccheck/command_line.py", line 517, in main sys.exit(run(args)) ^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/liccheck/command_line.py", line 497, in run return process( ^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/liccheck/command_line.py", line 313, in process pkg_info = get_packages_info(requirement_file, no_deps) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/liccheck/command_line.py", line 198, in get_packages_info packages = [transform(dist) for dist in resolve_func(requirements)] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/liccheck/command_line.py", line 198, in <listcomp> packages = [transform(dist) for dist in resolve_func(requirements)] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/liccheck/requirements.py", line 51, in resolve for dist in pkg_resources.working_set.resolve(requirements): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/pkg_resources/__init__.py", line 795, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'wrapt==1.15.0' distribution was not found and is required by the application

from python-license-check.

omercnet avatar omercnet commented on July 21, 2024

this happens when liccheck does not run in the same venv as the installed packages

from python-license-check.

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.