Intel® Distribution for Python*
Support and discussions for achieving faster Python* applications and core computational packages.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
389 Discussions

Conda Error: An error occurred while uninstalling package

pal__Ashwini1
Beginner
2,409 Views

I'm facing below error while running any command like install, update, uninstall

ERROR conda.core.link:_execute(700): An error occurred while uninstalling package '<unknown>::zeromq-4.2.3-2'.
Rolling back transaction: done

ValueError('Attempted to make prefix record for unknown package type: zeromq-4.2.3-2',)
()

Details about the environment:

OS: ubuntu 18.04

python version: intelpython3

It will be really helpful if someone can guide me on this.

0 Kudos
5 Replies
JEYANTHKRI_N_Intel
2,409 Views

Hi ,

Thanks for reaching out to us.

Could you please provide the steps that you have performed for installing zeromg.

We are able to install zeromg without any errors using the below steps,

conda create -n env-name 

conda install -c anaconda zeromq

pal__Ashwini1
Beginner
2,409 Views

Do I have to specifically create a new environment for installing zeromq or any other package?

The problem arises if I try to run commands like "conda update --all" or "conda install any_package". I don't remember installing zeromq, conda must have installed it as a dependency to some other package.

JEYANTHKRI_N_Intel
2,409 Views

Hi,

We are unable to create your issue from our end. To install packages, creating a new conda environment is recommended.

Could you please try reinstalling the conda environment and try the commands again.

Are you able to create a new conda environment without any errors?

Also are you getting the above mentioned error for the two commands only?

 

 

pal__Ashwini1
Beginner
2,409 Views

I used pip to install some packages. After going through this article[https://www.anaconda.com/using-pip-in-a-conda-environment/]I've reinstalled the anaconda whole package. I would like to close this issue. Thanks for the help.

 

Athira_C_Intel
Employee
2,409 Views

Hi,

Thank you for your confirmation. We are closing this case.

Reply