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

Cannot uninstall TBB #120

Closed
RUANRui-ECON opened this issue May 12, 2024 · 7 comments
Closed

Cannot uninstall TBB #120

RUANRui-ECON opened this issue May 12, 2024 · 7 comments

Comments

@RUANRui-ECON
Copy link

I am using win11 and trying to install marker-pdf.
I run "pip install marker-pdf", but get "cannot uninstall tbb " error.

@arunpatro
Copy link

I am installing on mac and failing:

INFO: pip is still looking at multiple versions of marker-pdf to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install marker-pdf==0.1.0, marker-pdf==0.1.1, marker-pdf==0.1.2, marker-pdf==0.1.3, marker-pdf==0.2.1, marker-pdf==0.2.2, marker-pdf==0.2.4 and marker-pdf==0.2.5 because these package versions have conflicting dependencies.

The conflict is caused by:
    marker-pdf 0.2.5 depends on ray<3.0.0 and >=2.20.0
    marker-pdf 0.2.4 depends on ray<3.0.0 and >=2.20.0
    marker-pdf 0.2.2 depends on ray<3.0.0 and >=2.20.0
    marker-pdf 0.2.1 depends on ray<3.0.0 and >=2.20.0
    marker-pdf 0.1.3 depends on ray<3.0.0 and >=2.7.1
    marker-pdf 0.1.2 depends on ray<3.0.0 and >=2.7.1
    marker-pdf 0.1.1 depends on ray<3.0.0 and >=2.7.1
    marker-pdf 0.1.0 depends on ray<3.0.0 and >=2.7.1

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

@RUANRui-ECON
Copy link
Author

the details of "cannot uninstall TBB' is following:
Cannot uninstall 'TBB'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

@RUANRui-ECON
Copy link
Author

I am installing on mac and failing:

INFO: pip is still looking at multiple versions of marker-pdf to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install marker-pdf==0.1.0, marker-pdf==0.1.1, marker-pdf==0.1.2, marker-pdf==0.1.3, marker-pdf==0.2.1, marker-pdf==0.2.2, marker-pdf==0.2.4 and marker-pdf==0.2.5 because these package versions have conflicting dependencies.

The conflict is caused by:
    marker-pdf 0.2.5 depends on ray<3.0.0 and >=2.20.0
    marker-pdf 0.2.4 depends on ray<3.0.0 and >=2.20.0
    marker-pdf 0.2.2 depends on ray<3.0.0 and >=2.20.0
    marker-pdf 0.2.1 depends on ray<3.0.0 and >=2.20.0
    marker-pdf 0.1.3 depends on ray<3.0.0 and >=2.7.1
    marker-pdf 0.1.2 depends on ray<3.0.0 and >=2.7.1
    marker-pdf 0.1.1 depends on ray<3.0.0 and >=2.7.1
    marker-pdf 0.1.0 depends on ray<3.0.0 and >=2.7.1

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

many thx!
But the details of "cannot uninstall TBB' is following:
Cannot uninstall 'TBB'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

@VikParuchuri
Copy link
Owner

I am installing on mac and failing:

INFO: pip is still looking at multiple versions of marker-pdf to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install marker-pdf==0.1.0, marker-pdf==0.1.1, marker-pdf==0.1.2, marker-pdf==0.1.3, marker-pdf==0.2.1, marker-pdf==0.2.2, marker-pdf==0.2.4 and marker-pdf==0.2.5 because these package versions have conflicting dependencies.

The conflict is caused by:
    marker-pdf 0.2.5 depends on ray<3.0.0 and >=2.20.0
    marker-pdf 0.2.4 depends on ray<3.0.0 and >=2.20.0
    marker-pdf 0.2.2 depends on ray<3.0.0 and >=2.20.0
    marker-pdf 0.2.1 depends on ray<3.0.0 and >=2.20.0
    marker-pdf 0.1.3 depends on ray<3.0.0 and >=2.7.1
    marker-pdf 0.1.2 depends on ray<3.0.0 and >=2.7.1
    marker-pdf 0.1.1 depends on ray<3.0.0 and >=2.7.1
    marker-pdf 0.1.0 depends on ray<3.0.0 and >=2.7.1

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

The issue here is python 3.12 . Ray doesn't support it yet, but will in a few weeks. You need 3.11.

@VikParuchuri
Copy link
Owner

I am using win11 and trying to install marker-pdf. I run "pip install marker-pdf", but get "cannot uninstall tbb " error.

I haven't seen this error. Maybe make a virtualenv and try installing marker in it?

@gmotta
Copy link

gmotta commented Jun 12, 2024

FYI, I had the same issue in MacOS and I fixed it by manually installing Ray.

@VikParuchuri
Copy link
Owner

This should be fixed now - marker no longer needs ray.

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