R
R
Rudy99662020-05-06 21:56:30
Python
Rudy9966, 2020-05-06 21:56:30

What to do with such a Python error?

Traceback (most recent call last):
  File "H:\python\test.py", line 3, in <module>
    from mss import MSS as mss
ModuleNotFoundError: No module named 'mss'


As far as I understand, I do not have mss installed there. How can I install mss there via command line?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Miit, 2020-05-06
@Miit

Global:
pip install mss
Local (to a folder):

cd folder
python -m venv env
env/Scripts/activate
pip install mss

S
Sergey Karbivnichy, 2020-05-07
@hottabxp

Maybe try like this:
from mss import mss

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question