[bug] Unable to install conan 1.48.1 using pip
See original GitHub issueEnvironment Details (include every applicable attribute)
- Operating System+version: Ubuntu 16.04.7 LTS
- Python version: Python 3.9.4
Steps to reproduce
Issue happens when trying to install conan version 1.48.1 via pip
$ pip3 install conan==1.48.1
Defaulting to user installation because normal site-packages is not writeable
Collecting conan==1.48.1
Using cached conan-1.48.1-py3-none-any.whl
Requirement already satisfied: PyYAML<6.0,>=3.11 in ./.local/lib/python3.9/site-packages (from conan==1.48.1) (5.4.1)
Requirement already satisfied: configparser>=3.5 in ./.local/lib/python3.9/site-packages (from conan==1.48.1) (5.2.0)
Requirement already satisfied: urllib3<1.27,>=1.26.6 in ./.local/lib/python3.9/site-packages (from conan==1.48.1) (1.26.9)
Requirement already satisfied: patch-ng<1.18,>=1.17.4 in ./.local/lib/python3.9/site-packages (from conan==1.48.1) (1.17.4)
Requirement already satisfied: tqdm<5,>=4.28.1 in ./.local/lib/python3.9/site-packages (from conan==1.48.1) (4.64.0)
Requirement already satisfied: bottle<0.13,>=0.12.8 in ./.local/lib/python3.9/site-packages (from conan==1.48.1) (0.12.19)
Requirement already satisfied: python-dateutil<3,>=2.7.0 in ./.local/lib/python3.9/site-packages (from conan==1.48.1) (2.8.2)
Requirement already satisfied: colorama<0.5.0,>=0.3.3 in ./.local/lib/python3.9/site-packages (from conan==1.48.1) (0.4.4)
Requirement already satisfied: distro<=1.6.0,>=1.0.2 in ./.local/lib/python3.9/site-packages (from conan==1.48.1) (1.6.0)
Collecting MarkupSafe<=2.0.1
Using cached MarkupSafe-2.0.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (30 kB)
Requirement already satisfied: Jinja2<4.0.0,>=3.0 in ./.local/lib/python3.9/site-packages (from conan==1.48.1) (3.0.3)
Requirement already satisfied: requests<3.0.0,>=2.25 in ./.local/lib/python3.9/site-packages (from conan==1.48.1) (2.27.1)
Requirement already satisfied: fasteners>=0.14.1 in ./.local/lib/python3.9/site-packages (from conan==1.48.1) (0.17.3)
Requirement already satisfied: pygments<3.0,>=2.0 in ./.local/lib/python3.9/site-packages (from conan==1.48.1) (2.12.0)
Requirement already satisfied: node-semver==0.6.1 in ./.local/lib/python3.9/site-packages (from conan==1.48.1) (0.6.1)
Requirement already satisfied: PyJWT<2.0.0,>=1.4.0 in ./.local/lib/python3.9/site-packages (from conan==1.48.1) (1.7.1)
Requirement already satisfied: pluginbase>=0.5 in ./.local/lib/python3.9/site-packages (from conan==1.48.1) (1.0.1)
Requirement already satisfied: six<=1.16.0,>=1.10.0 in ./.local/lib/python3.9/site-packages (from conan==1.48.1) (1.16.0)
ERROR: Cannot install conan==1.48.1 because these package versions have conflicting dependencies.
The conflict is caused by:
conan 1.48.1 depends on Jinja2<4.0.0 and >=3.0
conan 1.48.1 depends on Jinja2<3.0.0 and >=2.9
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
So I am not sure how to sort out this one. I do not have Jinjia2 installed, but there’s no version that would satisfy the requirement.
The conflict is caused by:
conan 1.48.1 depends on Jinja2<4.0.0 and >=3.0
conan 1.48.1 depends on Jinja2<3.0.0 and >=2.9
I tried to install from the DEB but it installs version 1.45, which is too old for me.
Issue Analytics
- State:
- Created a year ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Install — conan 1.48.2 documentation
In Windows, Python 3 installation can fail installing the wrapt dependency because of a bug in pip. Information about this issue and workarounds...
Read more >Install — conan 1.56.0 documentation
To install Conan using pip , you need Python>=3.6 distribution installed on your machine. Python 2 has been deprecated on January 1st, 2020...
Read more >Install — conan 1.46.2 documentation
In Windows, Python 3 installation can fail installing the wrapt dependency because of a bug in pip. Information about this issue and workarounds...
Read more >Troubleshooting — conan 1.33.1 documentation
When conan is installed via pip/PyPI, and python is installed in a path with spaces (like many times in Windows “C:/Program Files…”), conan...
Read more >Troubleshooting — conan 1.44.1 documentation
When conan is installed via pip/PyPI, and python is installed in a path with spaces (like many times in Windows “C:/Program Files…”), conan...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Well, I cannot explain it either but I confirm that also the link at https://conan.io/downloads.html provides now the 1.48.1 version. All good, thanks again for the help.
In case you need to explore more the issue I experienced installing it via Python please feel free to drop me a line.
I could get away with conan 1.47.0. This seems to be related to the version of openssl that has been recently upgraded due to a vulnerabilty.