Reputation: 191
I am trying to install a library (https://github.com/yuanming-hu/taichi/) . I am running a script for installation(install.py). I am using python version 3.6+
I tried pip install distro
. Still it's not working
part of code(install.py) :
import distro
dist = distro.id()
Error message:
File "install.py", line 184, in run
import distro
ModuleNotFoundError: No module named 'distro'
Upvotes: 4
Views: 27400
Reputation: 3027
For Debian/Ubuntu users, when you have the error:
command not found: pip3
you have to use apt
:
apt install python3-distro
Upvotes: 4
Reputation: 191
pip3 install distro
This worked well for me. Solution by : @Ugo T.
Upvotes: 7