error cannot uninstall simplejson not able to install on Ubuntu 18 04

+1 vote

Hi Guys,

I am trying to install OpenStack in my Ubuntu machine, but I am getting error while installing. I tried to remove "simplejson" but not able to do so.

$ sudo apt-get remove simplejson

Can anyone help me regarding this?

Thank You

Mar 20, 2020 in OpenStack by akhtar
• 38,230 points
7,442 views

1 answer to this question.

0 votes

Hi@akhtar,

This error occurs because of pip install command. Follow the below given steps.

  1. Go to the devstack folder.
  2. Edit the inc/python file
  3. Change line 198.
  4. from: $cmd_pip $upgrade $install_test_reqs \
  5. to: $cmd_pip $upgrade $install_test_reqs --ignore-installed \
Thank You
answered Mar 20, 2020 by MD
• 95,440 points

I ran into same issue, tried from both Ubuntu 18 and Ubuntu 20

Attempting uninstall: simplejson
Found existing installation: simplejson 3.16.0
ERROR: Cannot uninstall 'simplejson'. 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.

line 198 in inc/python is not the same as answered by MD. Here are lines 198-200 from the said file.

198         SETUPTOOLS_SYS_PATH_TECHNIQUE=rewrite \
199         $cmd_pip $upgrade \
200         $@

This issue got resolved with:

sudo apt purge python3-simplejson. However it got error on exit 139
same problem I had another error this time with " pysan1-modules"
did you fix it ?

You can use the below command to download this module.

$ pip install pyasn1-modules
Thank you very much. This solution worked for me.

Related Questions In OpenStack

0 votes
1 answer

error: server error. Is Neutron not working properly?

Hi@akhtar, We can't say Neutron is the one ...READ MORE

answered Mar 17, 2020 in OpenStack by MD
• 95,440 points
933 views
0 votes
1 answer

Failed to attach volume, systool is not installed in OpenStack.

Hi@akhtar, This warning and error occurs if you ...READ MORE

answered Mar 24, 2020 in OpenStack by MD
• 95,440 points
478 views
0 votes
1 answer

Error: neutron-server failed to start and no log was written – neutron dead but pid file exists.

Hi@akhtar, Generally, after installing keystone, glance, nova services, ...READ MORE

answered Mar 24, 2020 in OpenStack by MD
• 95,440 points
1,933 views
0 votes
1 answer

What is the meaning of term “Glance” in OpenStack service?

Hi@akhtar, Glance is image service in OpenStack. The ...READ MORE

answered Mar 16, 2020 in OpenStack by MD
• 95,440 points
1,163 views
0 votes
1 answer

What are the three different components of the modular OpenStack architecture model?

Hi@akhtar, There are three different types of modular OpenStack ...READ MORE

answered Mar 16, 2020 in OpenStack by MD
• 95,440 points
1,712 views
0 votes
1 answer

Can anyone explain me the Architecture of Glance service in OpenStack?

Hi, OpenStack Glance has a client-server architecture that ...READ MORE

answered Mar 16, 2020 in OpenStack by akhtar
• 38,230 points
1,243 views
0 votes
1 answer

What is basic OpenStack Architecture?

Hi@akhtar, Basic Architecture of OpenStack is given below. OpenStack ...READ MORE

answered Mar 16, 2020 in OpenStack by MD
• 95,440 points
1,677 views
0 votes
1 answer

Not able to launch an instance in OpenStack?

Hi@akhtar, You might get this error because you ...READ MORE

answered Mar 20, 2020 in OpenStack by MD
• 95,440 points
1,450 views
0 votes
1 answer

How to reset error state of a instance into active in OpenStack env?

Hi@akhtar, There are some scenarios where some instances ...READ MORE

answered Mar 17, 2020 in OpenStack by MD
• 95,440 points
8,652 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP