There is one path I need to remove that is the site.package
. I'm unsure is it safe to remove the site.package
for certain installed software, Django,
Virtualenv
with out breaking the system. Is Synaptic Package Manager
needed?
There is one path I need to remove that is the site.package
. I'm unsure is it safe to remove the site.package
for certain installed software, Django,
Virtualenv
with out breaking the system. Is Synaptic Package Manager
needed?
It appears that the main reason for the corrupted paths is that the motherboard on the laptop that is being used is damaged which is causing many different types of errors.
The way to fix this problem on good hardware does not require reinstalling Ubuntu. Open the terminal and type:
The results of ls
/usr/lib/python3.7
may show a directory named site.packages. The site.packages directory may contain several directories in it which have Python packages that you may have installed with pip3 to use in your Django project in Ubuntu 19.04 for which python3.7 is the base interpreter. Let's look at an example. Let's suppose that there is a directory in the site.packages directory named Django. If such a directory exists, then it was installed by pip3. To uninstall this instance of Django that was installed by pip3 run:Please note that you must use sudo in the above command because the
/usr/lib/python3.7/site.packages
directory is owned by root. If the site.packages directory is located in your home folder, then it is not owned by root and you don't need to use sudo to uninstall a Python package from this directory. You could uninstall a Python package from this directory with a command of the formpip3 uninstall package-name