Skip to content

Commit 90deb4f

Browse files
committed
Add --no-cache-dir flag for pip install commands (cztomczak#460)
1 parent c450c5b commit 90deb4f

File tree

3 files changed

+26
-4
lines changed

3 files changed

+26
-4
lines changed

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,15 @@ also download packages for offline installation available on the
6363
[GitHub Releases](../../releases) pages. Command to install with pip:
6464

6565
```
66-
pip install cefpython3==49.0
66+
pip --no-cache-dir install cefpython3==49.0
6767
```
6868

69+
Please note that if you were previously installing cefpython3 package it
70+
is required to use the `--no-cache-dir` flag, otherwise pip will end up
71+
with error message `No matching distribution found for cefpython3==49.0`.
72+
This happens because 49.0 release occured after 57.0 and 66.0 releases.
73+
74+
6975
## Tutorial
7076

7177
See the [Tutorial.md](docs/Tutorial.md) file.
@@ -108,7 +114,13 @@ OS | Py2 | Py3 | 32bit | 64bit | Requirements
108114
--- | --- | --- | --- | --- | ---
109115
Windows | 2.7 | 3.4 | Yes | Yes | Windows XP+
110116

111-
- Install with command: `pip install cefpython3==49.0`
117+
- Install with command: `pip --no-cache-dir install cefpython3==49.0`.
118+
- Please note that if you were previously installing cefpython3
119+
package it is required to use the `--no-cache-dir` flag,
120+
otherwise pip will end up with error message
121+
`No matching distribution found for cefpython3==49.0`.
122+
This happens because 49.0 release occured after 57.0 and 66.0
123+
releases.
112124
- Downloads are available on GitHub Releases tagged
113125
[v49.0](../../releases/tag/v49.0).
114126
- See [Migration guide](docs/Migration-guide.md) document for changes

docs/Tutorial.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,17 @@ Run the commands below to install the cefpython3 package, clone
3838
the repository and run the Hello World example:
3939

4040
```commandline
41-
pip install cefpython3==49.0
41+
pip --no-cache-dir install cefpython3==49.0
4242
git clone https://github.com/cztomczak/cefpython.git
4343
cd cefpython/examples/
4444
python hello_world.py
4545
```
4646

47+
Please note that if you were previously installing cefpython3 package it
48+
is required to use the `--no-cache-dir` flag, otherwise pip will end up
49+
with error message `No matching distribution found for cefpython3==49.0`.
50+
This happens because 49.0 release occured after 57.0 and 66.0 releases.
51+
4752
The hello_world.py example's source code will be analyzed line
4853
by line in the next section of this Tutorial.
4954

examples/Examples-README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,17 @@ Instructions to install the cefpython3 package, clone the repository
1515
and run the hello_world.py example:
1616

1717
```
18-
pip install cefpython3==49.0
18+
pip --no-cache-dir install cefpython3==49.0
1919
git clone https://github.com/cztomczak/cefpython.git
2020
cd cefpython/examples/
2121
python hello_world.py
2222
```
2323

24+
Please note that if you were previously installing cefpython3 package it
25+
is required to use the `--no-cache-dir` flag, otherwise pip will end up
26+
with error message `No matching distribution found for cefpython3==49.0`.
27+
This happens because 49.0 release occured after 57.0 and 66.0 releases.
28+
2429

2530
## Supported examples
2631

0 commit comments

Comments
 (0)