From 90deb4fc37528394e8cecb95317a5c4cb81fcac4 Mon Sep 17 00:00:00 2001 From: cztomczak Date: Mon, 27 Aug 2018 19:32:35 +0200 Subject: [PATCH] Add --no-cache-dir flag for pip install commands (#460) --- README.md | 16 ++++++++++++++-- docs/Tutorial.md | 7 ++++++- examples/Examples-README.md | 7 ++++++- 3 files changed, 26 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8144efed..d9bd3f4d 100644 --- a/README.md +++ b/README.md @@ -63,9 +63,15 @@ also download packages for offline installation available on the [GitHub Releases](../../releases) pages. Command to install with pip: ``` -pip install cefpython3==49.0 +pip --no-cache-dir install cefpython3==49.0 ``` +Please note that if you were previously installing cefpython3 package it +is required to use the `--no-cache-dir` flag, otherwise pip will end up +with error message `No matching distribution found for cefpython3==49.0`. +This happens because 49.0 release occured after 57.0 and 66.0 releases. + + ## Tutorial See the [Tutorial.md](docs/Tutorial.md) file. @@ -108,7 +114,13 @@ OS | Py2 | Py3 | 32bit | 64bit | Requirements --- | --- | --- | --- | --- | --- Windows | 2.7 | 3.4 | Yes | Yes | Windows XP+ -- Install with command: `pip install cefpython3==49.0` +- Install with command: `pip --no-cache-dir install cefpython3==49.0`. + - Please note that if you were previously installing cefpython3 + package it is required to use the `--no-cache-dir` flag, + otherwise pip will end up with error message + `No matching distribution found for cefpython3==49.0`. + This happens because 49.0 release occured after 57.0 and 66.0 + releases. - Downloads are available on GitHub Releases tagged [v49.0](../../releases/tag/v49.0). - See [Migration guide](docs/Migration-guide.md) document for changes diff --git a/docs/Tutorial.md b/docs/Tutorial.md index 03ece79b..bfdb98b6 100644 --- a/docs/Tutorial.md +++ b/docs/Tutorial.md @@ -38,12 +38,17 @@ Run the commands below to install the cefpython3 package, clone the repository and run the Hello World example: ```commandline -pip install cefpython3==49.0 +pip --no-cache-dir install cefpython3==49.0 git clone https://github.com/cztomczak/cefpython.git cd cefpython/examples/ python hello_world.py ``` +Please note that if you were previously installing cefpython3 package it +is required to use the `--no-cache-dir` flag, otherwise pip will end up +with error message `No matching distribution found for cefpython3==49.0`. +This happens because 49.0 release occured after 57.0 and 66.0 releases. + The hello_world.py example's source code will be analyzed line by line in the next section of this Tutorial. diff --git a/examples/Examples-README.md b/examples/Examples-README.md index 464d89ec..5ddf352f 100644 --- a/examples/Examples-README.md +++ b/examples/Examples-README.md @@ -15,12 +15,17 @@ Instructions to install the cefpython3 package, clone the repository and run the hello_world.py example: ``` -pip install cefpython3==49.0 +pip --no-cache-dir install cefpython3==49.0 git clone https://github.com/cztomczak/cefpython.git cd cefpython/examples/ python hello_world.py ``` +Please note that if you were previously installing cefpython3 package it +is required to use the `--no-cache-dir` flag, otherwise pip will end up +with error message `No matching distribution found for cefpython3==49.0`. +This happens because 49.0 release occured after 57.0 and 66.0 releases. + ## Supported examples