Skip to content

nhs-on-pc/install-python-ubuntu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

#History of fix errors when using Ubuntu, Pycharm and coding Python ...

##1. Install Ubuntu beside Windows:

  • Use GPT to create usb flash boot
  • No need efi partition

##2. No modules name: distutils.core while create virtual environments or install packages

  • sudo apt-get install python3-distutils
  • sudo apt install python3-pip

##3. UserWarning: Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure.

https://www.pyimagesearch.com/2015/08/24/resolved-matplotlib-figures-not-showing-up-or-displaying/

  • in venv:
  • python setup.py install

##4. Ubuntu 19.04 did not remember volume levels after reboot

https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/410446

  1. Remove all pulseaudio related files from your home directory, so .pulse_cookie and .pulse/* leave the .pulse directory in tact for the next step.
  2. Create /home/your-username/.pulse/client.conf and add the following line to it:
    • autospawn = no
    • This is so that when we kill pulseaudio, it won't start right back up again when we don't want it to.
  3. Kill pulseaudio with "pulseaudio -k"
  4. Reset your alsa volume settings with the following command: "sudo /etc/init.d/alsa-utils reset". You will be asked for your password due to using the sudo command.
  5. Start pulseaudio again with "start-pulseaudio-x11".

##5. Reset mực máy in Brother HL-2240D:

##6. Usb cannot eject although completed copy files on Ubuntu:

##7. Increase mouse scroll:

About

fix error while install python, pycharm and packages on ubuntu

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published