I was installing coursera-dl (https://github.com/coursera-dl/coursera-
dl) and this had a specific crypto dependency and i starting installing
the same with pip. But the crypto dependency had python3 as a
requirement


Then i did the below 
1) Moved  /usr/bin/python to /usr/bin/python2 
2) Linked /usr/bin/python to /usr/bin/python3.7 
3) Executed the below commands

       coursera-dl virtualenv my-coursera
  180  virtualenv my-coursera
  181  sudo apt-get install python-virtualenv
  182  sudo apt-get install python3-virtualenv
  183  sudo apt-get install python-virtualenv
  184  coursera-dl 
  185  pip3 install cffi
  186  sudo pip3 install cffi
......


   Was able to use coursera-dl 

Then on the apt-get update started failing please i have attached the
complete command line history in the attachment "aptcommandhistory.txt"




** Attachment added: "apt command history"
   
https://bugs.launchpad.net/ubuntu/+source/requests/+bug/1734661/+attachment/5015648/+files/aptcommandhistory.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1734661

Title:
  package python-requests 2.2.1-1ubuntu0.3 failed to install/upgrade:
  package is in a very bad inconsistent state; you should  reinstall it
  before attempting configuration

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/requests/+bug/1734661/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to