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

extract-mg Dependency Conflict #18

Closed
Zamanry opened this issue Mar 10, 2022 · 3 comments
Closed

extract-mg Dependency Conflict #18

Zamanry opened this issue Mar 10, 2022 · 3 comments

Comments

@Zamanry
Copy link

Zamanry commented Mar 10, 2022

Running Kali Linux 2022.01 running. Python 3.9.10. APT is fully up-to-date. Proxychains works just fine. I am not using pipx. I activated a venv, git cloned the repo, and then ran the following:

sudo proxychains python3 -m pip install -r requirements
... # everything installed correctly until...
Collecting argcomplete==1.10.3
  Using cached argcomplete-1.10.3-py2.py3-none-any.whl (36 kB)
ERROR: Cannot install -r requirements.txt (line 417) and extract-msg==0.29.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested extract-msg==0.29.0
    textract 1.6.4 depends on extract-msg<=0.29.*

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

If you need more information, let me know.

@QU35T-code
Copy link

Hello,

I have the same issue when I try to install with pipx.

  • Python 3.9.2
root@06e75cdfbbd5:/# python3 -m pipx install git+https://github.com/blacklanternsecurity/MANSPIDER

Traceback (most recent call last):
  File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/usr/local/lib/python3.9/dist-packages/pipx/__main__.py", line 14, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.9/dist-packages/pipx/main.py", line 819, in cli
    return run_pipx_command(parsed_pipx_args)
  File "/usr/local/lib/python3.9/dist-packages/pipx/main.py", line 202, in run_pipx_command
    return commands.install(
  File "/usr/local/lib/python3.9/dist-packages/pipx/commands/install.py", line 60, in install
    venv.install_package(
  File "/usr/local/lib/python3.9/dist-packages/pipx/venv.py", line 244, in install_package
    self._update_package_metadata(
  File "/usr/local/lib/python3.9/dist-packages/pipx/venv.py", line 318, in _update_package_metadata
    venv_package_metadata = self.get_venv_metadata_for_package(
  File "/usr/local/lib/python3.9/dist-packages/pipx/venv.py", line 300, in get_venv_metadata_for_package
    venv_metadata = inspect_venv(
  File "/usr/local/lib/python3.9/dist-packages/pipx/venv_inspect.py", line 251, in inspect_venv
    app_paths_of_dependencies = _dfs_package_apps(
  File "/usr/local/lib/python3.9/dist-packages/pipx/venv_inspect.py", line 142, in _dfs_package_apps
    app_paths_of_dependencies = _dfs_package_apps(
  File "/usr/local/lib/python3.9/dist-packages/pipx/venv_inspect.py", line 121, in _dfs_package_apps
    dependencies = get_package_dependencies(
  File "/usr/local/lib/python3.9/dist-packages/pipx/venv_inspect.py", line 54, in get_package_dependencies
    for req in map(Requirement, dist.requires or []):
  File "/usr/local/lib/python3.9/dist-packages/packaging/requirements.py", line 37, in __init__
    raise InvalidRequirement(str(e)) from e
packaging.requirements.InvalidRequirement: Expected closing RIGHT_PARENTHESIS
    extract-msg (<=0.29.*)

@TheTechromancer
Copy link
Collaborator

This is due to an issue in our upstream dependency textract, which has fallen into disrepair. I am working on fixing it.

A pull request to fix the issue has been open for nearly a year now, without any activity: deanmalmgren/textract#433.

@TheTechromancer
Copy link
Collaborator

This is fixed in 0dc16db.

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

3 participants