I want to make python 3 as default in raspberry pi 3b and install scikit-learn and scikit-plot for the python 3 version. What are exact steps to be followed. Appreciate your input. Thank you
If you run linux command
ls -l python* within the directory, you will see that
python is just a symlink to python2.7, if you know linux commands well enough, you can easily make a change to link
python -> python3.
One more thing you need to aware is that in order to install packages for python3, you need to run
pip3. This is probably the reason that you run into the case where "No module name 'script'" error. Again, run
ls -l pip* to find out more.
You can also run
pip3 list to check what packages are installed for python3.