updated README for installing openpyxl

pull/64/MERGE
13621160019@163.com 2021-09-07 17:33:10 +08:00
parent 111b3b9259
commit 0018459f0e
3 changed files with 44 additions and 39 deletions

View File

@ -68,15 +68,15 @@ Installation
* Install openpyxl, refer to `https://foss.heptapod.net/openpyxl/openpyxl <https://foss.heptapod.net/openpyxl/openpyxl>`_
| Get the latest version of et_xmlfile from `https://bitbucket.org/openpyxl/et_xmlfile/downloads/ <https://bitbucket.org/openpyxl/et_xmlfile/downloads/>`_
| Get the latest version of et_xmlfile from `https://foss.heptapod.net/openpyxl/et_xmlfile/ <https://foss.heptapod.net/openpyxl/et_xmlfile/>`_
| Get the latest version of jdcal from `https://github.com/phn/jdcal <https://github.com/phn/jdcal>`_
| Get the latest version of openpyxl from `https://bitbucket.org/openpyxl/openpyxl/downloads/ <https://bitbucket.org/openpyxl/openpyxl/downloads/>`_
| Get the latest version of openpyxl from `https://foss.heptapod.net/openpyxl/openpyxl <https://foss.heptapod.net/openpyxl/openpyxl>`_
::
$ cd ~/tools
$ wget https://foss.heptapod.net/openpyxl/et_xmlfile/-/archive/branch/default/et_xmlfile-branch-default.tar.gz
$ tar xzf et_xmlfile-branch-default.tar.gz
$ cd ~/tools/et_xmlfile-branch-default
$ wget https://foss.heptapod.net/openpyxl/et_xmlfile/-/archive/1.1/et_xmlfile-1.1.tar.gz
$ tar xzf et_xmlfile-1.1.tar.gz
$ cd ~/tools/et_xmlfile-1.1
$ sudo python3 setup.py install
$ cd ~/tools
$ git clone https://github.com/phn/jdcal.git
@ -86,9 +86,9 @@ Installation
$ pip3 download Pillow
$ sudo pip3 install --no-index --find-links ~/tools/pillow Pillow
$ cd ~/tools
$ wget https://foss.heptapod.net/openpyxl/openpyxl/-/archive/branch/3.0/openpyxl-branch-3.0.tar.gz
$ tar xzf openpyxl-branch-3.0.tar.gz
$ cd openpyxl-branch-3.0
$ wget https://foss.heptapod.net/openpyxl/openpyxl/-/archive/3.0.7/openpyxl-3.0.7.tar.gz
$ tar xzf openpyxl-3.0.7.tar.gz
$ cd openpyxl-3.0.7
$ sudo python3 setup.py install
* Install gunicorn service for myems-api::

View File

@ -79,30 +79,36 @@ sudo python3 setup.py install
```
* Install openpyxl, refer to https://foss.heptapod.net/openpyxl/openpyxl
Get the latest version of et_xmlfile from https://foss.heptapod.net/openpyxl/et_xmlfile
Get the latest version of jdcal from https://github.com/phn/jdcal
Get the latest version of openpyxl from https://foss.heptapod.net/openpyxl/openpyxl
Get the latest version of et_xmlfile from https://foss.heptapod.net/openpyxl/et_xmlfile/
```bash
cd ~/tools
wget https://foss.heptapod.net/openpyxl/et_xmlfile/-/archive/branch/default/et_xmlfile-branch-default.tar.gz
tar xzf et_xmlfile-branch-default.tar.gz
cd ~/tools/et_xmlfile-branch-default
sudo python3 setup.py install
wget https://foss.heptapod.net/openpyxl/et_xmlfile/-/archive/1.1/et_xmlfile-1.1.tar.gz
tar xzf et_xmlfile-1.1.tar.gz
```
Get jdcal
```bash
cd ~/tools
git clone https://github.com/phn/jdcal.git
cd ~/tools/jdcal
sudo python3 setup.py install
```
Get Pillow
```
mkdir ~/tools/pillow && cd ~/tools/pillow
pip3 download Pillow
sudo pip3 install --no-index --find-links ~/tools/pillow Pillow
```
Get the latest version of openpyxl from https://foss.heptapod.net/openpyxl/openpyxl
```bash
cd ~/tools
wget https://foss.heptapod.net/openpyxl/openpyxl/-/archive/branch/3.0/openpyxl-branch-3.0.tar.gz
tar xzf openpyxl-branch-3.0.tar.gz
cd openpyxl-branch-3.0
wget https://foss.heptapod.net/openpyxl/openpyxl/-/archive/3.0.7/openpyxl-3.0.7.tar.gz
tar xzf openpyxl-3.0.7.tar.gz
```
```bash
cd ~/tools/et_xmlfile-1.1
sudo python3 setup.py install
cd ~/tools/jdcal
sudo python3 setup.py install
sudo pip3 install --no-index --find-links ~/tools/pillow Pillow
cd ~/tools/openpyxl-3.0.7
sudo python3 setup.py install
```

View File

@ -45,28 +45,27 @@ Download and install openpyxl
```bash
cd ~/tools
```
Get the latest version of et_xmlfile from https://bitbucket.org/openpyxl/et_xmlfile/downloads/
Get the latest version of et_xmlfile from https://foss.heptapod.net/openpyxl/et_xmlfile/
```bash
wget https://bitbucket.org/openpyxl/et_xmlfile/get/50973a6de49c.zip
7z x 50973a6de49c.zip && mv openpyxl-et_xmlfile-50973a6de49c et_xmlfile
wget https://foss.heptapod.net/openpyxl/et_xmlfile/-/archive/1.1/et_xmlfile-1.1.tar.gz
tar xzf et_xmlfile-1.1.tar.gz
```
Get jdcal
```bash
git clone https://github.com/phn/jdcal.git
```
Get the latest version of openpyxl from https://bitbucket.org/openpyxl/openpyxl/downloads/
Get the latest version of openpyxl from https://foss.heptapod.net/openpyxl/openpyxl
```bash
wget https://bitbucket.org/openpyxl/openpyxl/get/8953233f5af2.zip
7z x 8953233f5af2.zip && mv openpyxl-openpyxl-8953233f5af2 openpyxl
wget https://foss.heptapod.net/openpyxl/openpyxl/-/archive/3.0.7/openpyxl-3.0.7.tar.gz
tar xzf openpyxl-3.0.7.tar.gz
```
```bash
cd ~/tools/et_xmlfile
cd ~/tools/et_xmlfile-1.1
sudo python3 setup.py install
cd ~/tools/jdcal
sudo python3 setup.py install
cd ~/tools/openpyxl
cd ~/tools/openpyxl-3.0.7
sudo python3 setup.py install
```