I've just started studying python and I really liked blessed looked like and wanted to give it a try.
I installed it using pip install blessed
on the console and then I copied the following code from their site:
import os
import sys
print('Test run')
try:
from blessed import Terminal
except ModuleNotFoundError:
print('Could find the import :(')
After running the code, I receive the 'ModuleNotFoundError' exception.
How do I proper install blessed to avoid this error?
-- Edit
After some research turns out that py -m pip install blessed
solved my problem.
Even though it is working now, what is the difference between using py -m pip install blessed
and pip install blessed
, which is what I used before?