Debugging logs

Several debugging logs at Windows, Ubuntu.


Python import error

  • Crashed with windows app

I was suffering from python import error, and found i have another unknown python.

Type app exe at window search, and find manage app execution aliases.

Then, disable Windows python

Voila !



No module named pip

This error literally means pip module not installed in your PC. You maybe faced with below cases.

  • pip upgrade fail
  • very beginning of python setup

To solve issue, Try install pip module refer to below :

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py


Ubuntu password setup/change

sudo passwd root
"type current password"
"type new password"
"type new password again"



Python Virtual environment

Install virtualenv

python3.7 -m pip install virtualenv

Make virtual env.

python3.7 -m virtualenv `venv-folder-name`

Activate Virtualenv

change directory into venv-folder-name and type activate.

# change directory
cd githubio
# Ubuntu
$ source bin/activate
# Windows
call scripts\activate

If activated successfully, (venv-folder-name) is shown at front of command.
In below img example, githubio is venv-folder-name. venv

It’s better to double check python version typing like

python -V

python-version

To deactivate, just type deactivate


Also, you could specify python version like belows.
(mind you should install wanted-python-version in advance.)

# python3.6
python3 -m virtualenv venv 
virtualenv venv --python=python3.6

© 2020. All rights reserved.