I've installed prodigy in ubuntu and installed prodigy using pip
. When I tried to run prodigy stats
or python -m prodigy stats
it throws an error like /usr/bin/python: No module named prodigy
.
Can anyone help me out this?
Thanks
I've installed prodigy in ubuntu and installed prodigy using pip
. When I tried to run prodigy stats
or python -m prodigy stats
it throws an error like /usr/bin/python: No module named prodigy
.
Can anyone help me out this?
Thanks
Hi! Based on the path in the error message, it looks like python -m
is looking in your system Python installation, wheres pip
might have installed it into a different Python. You can check this by running which pip
and which python
and comparing the paths. On some systems, you might have to run python3
instead of python
.
In general, I'd always recommend installing Python packagages into a virtual environment: 12. Virtual Environments and Packages — Python 3.10.1 documentation This makes it a lot easier to manage packages and start over if something goes wrong, and you're less likely to end up with conflicts from installing all packages into your system installation.
Thanks, Ines. It has been resolved.