Skip to content

Commit

Permalink
Add --no-cache-dir flag for pip install commands (#460)
Browse files Browse the repository at this point in the history
  • Loading branch information
cztomczak committed Aug 27, 2018
1 parent c450c5b commit 90deb4f
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 4 deletions.
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down
7 changes: 6 additions & 1 deletion docs/Tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
7 changes: 6 additions & 1 deletion examples/Examples-README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 90deb4f

Please sign in to comment.