Fix broken Python / PIP installation on Ubuntu 16.04

My Python / PIP3 environment is broken on a Ubuntu 16.04 machine.

I just want to install a software using:

pip3 install --user ocrmypdf

But it doesn't work. When running

pip3 --version

I get this error:

Traceback (most recent call last):

File "/usr/local/bin/pip3", line 7, in <module>

from pip import main

File "/usr/lib/python3/dist-packages/pip/[url removed, login to view]", line 59, in <module>

from [url removed, login to view] import logger

File "/usr/lib/python3/dist-packages/pip/[url removed, login to view]", line 9, in <module>

import colorama, pkg_resources

File "<frozen importlib._bootstrap>", line 971, in _find_and_load

File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked

File "<frozen importlib._bootstrap>", line 656, in _load_unlocked

File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible

File "/usr/share/python-wheels/[url removed, login to view]", line 1479, in <module>

register_loader_type([url removed, login to view], DefaultProvider)

AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'

Python itself seems to work:

root@host /usr/lib # python -V

Python 3.6.3

To fix the problem I provide a Teamviewer session where you have access to the Ubuntu server where the problem exists.

You should start trying the project immediately!

Skills: Linux, Python, Ubuntu

See more: ubuntu 16.04, freelancer on ubuntu 16.04, openerp installation ubuntu, fix broken html php, fix broken calculators, fix broken calculator, fix broken indesign files, subclipse svn installation ubuntu, tomcat installation ubuntu server, tomcat installation ubuntu, fix broken wordpress, fix broken mysql database, fix broken internal links, adempiere installation ubuntu, fix broken links website

About the Employer:
( 1 review ) Wildschönau, Austria

Project ID: #16516882

Awarded to:


Hello, I have been using pip and pip3 on Linux since 4+ years. I am sure that I can fix the issue of package installation using pip on your machine either using ssh or via teamviewer. Best regards. AWM.

€34 EUR in 1 day
(10 Reviews)

8 freelancers are bidding on average €99 for this job


if you want send me teamviewer now ************************* ******************************** ****************************************

€34 EUR in 0 days
(22 Reviews)

Hi, I can start work on your project immediately once you confirm me and i am also open for further discussion if you want. I have 7+ years in web designing & development with good experience in following skills More

€230 EUR in 3 days
(3 Reviews)

Hi, sir. I have read your project very carefully. I have rich experience with linux, python. I am sure I can do your work. Plz contact me. Thanks.

€155 EUR in 3 days
(2 Reviews)
€30 EUR in 1 day
(3 Reviews)
€155 EUR in 3 days
(0 Reviews)

Hi, I am an expert Red hat certified Linux admin an after having look over this mention error I'm very confident to fix this issue. I have great working expertise with Ubuntu server to fix this error. please contact More

€50 EUR in 3 days
(0 Reviews)
€100 EUR in 1 day
(0 Reviews)