Python pip force update

Needed this today…

We were trying to get the Lego NXT package working in Python. Students had downloaded and installed the package, but had installed the package for Python 3 in a Python 2 installation.

pip install nxt-python wasn’t working since there already was a package there.

What did work was forcing a reinstall with pip install --upgrade --force-reinstall nxt-python

Leave a Reply

Your email address will not be published. Required fields are marked *