diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2020-03-17 15:39:01 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-03-18 14:44:10 +0000 |
commit | 8185da097a2eefb7401419a9b2c1d1f05c2364bf (patch) | |
tree | 1f671a449a5361fce18a0c6abf6727ff081227e5 | |
parent | 0eb93886aedcc51eab5a964a6463500b78697aa8 (diff) |
CMake: pro2cmake: Add alternative package installation instructions
I kept getting
Ignoring pytest: markers 'python_version >= "3.7"' don't match your environment
when using the pip command, but this alternative worked.
Change-Id: Ibfc7f36de04153d2247f8f62bd129b0c0c723bf2
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
-rw-r--r-- | util/cmake/README.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/util/cmake/README.md b/util/cmake/README.md index e1699d5283..256e481680 100644 --- a/util/cmake/README.md +++ b/util/cmake/README.md @@ -28,6 +28,12 @@ to avoid conflict with other packages that are already installed: `pip install v (on Windows: `source env\Scripts\activate.bat`) * Install the requirements: `pip install -r requirements.txt` +If the `pip install` command above doesn't work, try: + +``` +python3.7 -m pip install -r requirements.txt +``` + # Contributing to the scripts You can verify if the styling of a script complaint with PEP8, with a couple of exceptions: |