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

ERROR: Cannot uninstall 'llvmlite'. #841

Closed
ethem-kinginthenorth opened this issue Jul 10, 2020 · 6 comments
Closed

ERROR: Cannot uninstall 'llvmlite'. #841

ethem-kinginthenorth opened this issue Jul 10, 2020 · 6 comments

Comments

@ethem-kinginthenorth
Copy link

I have the following line in my docker file:
RUN pip install nemo_toolkit[all]
When I build the docker file, it errors out while trying to uninstall llvmlight with the following message
Attempting uninstall: llvmlite Found existing installation: llvmlite 0.32.0 ERROR: Cannot uninstall 'llvmlite'. 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.

I also have a question about why it is uninstalling a number of python packages and then re-install it?

@ethem-kinginthenorth
Copy link
Author

I figured it out and sharing it out for reference:
I needed to add
RUN pip install llvmlite --ignore installed before
RUN pip install nemo_toolkit[all]

and seems like it is some sort of dependency to nemo that would be why it is uninstalling / installing

@SCRIER-org
Copy link

seems to require --ignore-installed with a hyphen. Same problem w/ NeMo.

@vk4arm
Copy link

vk4arm commented Jan 13, 2022

hmm...
for numba v0.54 you need to have:

pip install llvmlite==0.37.0rc2 --ignore-installed

at least it works for me

@titu1994
Copy link
Collaborator

I would really suggest using conda for Numba. conda install -c conda-forge numba==0.54.0

@vk4arm
Copy link

vk4arm commented Jan 14, 2022

Is it works with newer version of llvmlite...? Honestly, it looks ilttle buggy )

@prviin
Copy link

prviin commented Jul 12, 2022

pip install llvmlite --ignore-installed

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

6 participants