I have some spreadsheet reading code (using openpyxl) that works correctly on my Windows installation. On my Ubuntu Rackspace server, however, it fails with a named range error.
I notice that the openpyxl package on Ubuntu (which I installed last week using apt-get) is several years old (1.5.6). I'd like to install the newest version (1.6.2).
What tool can I use to install the newer version, or is it something I need to do manually?
You can check if you have the openpyxl package installed by running the pip show openpyxl command. Copied! The pip show openpyxl command will either state that the package is not installed or show a bunch of information about the package, including the location where the package is installed.
The Python packages available in the Ubuntu repositories generally don't get updated within an Ubuntu version, only when you upgrade to a newer Ubuntu release.
When you need newer versions of a Python package, you can use pip
to get the newest version from the Python Package Index:
sudo pip install openpyxl
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With