I have installed colorlog as:
pipenv install colorlog --dev
Pipfile lists the following:
[dev-packages]
flake8 = "*"
mypy = "*"
colorlog = "*"
Then I import the package in the .py script
import colorlog
But when I run the script I get the error
ModuleNotFoundError: No module named 'colorlog'
I'm running python 3.8.1 on macOS 10.15.7
How can I troubleshoot the reason for this problem?
I have installed colorlog as:
pipenv install colorlog --devPipfile lists the following:
Then I import the package in the .py script
import colorlogBut when I run the script I get the error
ModuleNotFoundError: No module named 'colorlog'I'm running python 3.8.1 on macOS 10.15.7
How can I troubleshoot the reason for this problem?