Unsupported protocol while download tar.gz package
In my ExternalProject_Add()
, I have use GIT_REPOSITORY
insted of URL
option.
#URL https://github.com/keplerproject/luacov/archive/v0.7.tar.gz
GIT_REPOSITORY https://github.com/keplerproject/luacov.git
And luacov
download and build successfully.
For any https
protocol use DOWNLOAD_COMMAND
option of ExternalProject_Add()
function.
DOWNLOAD_COMMAND wget https://github.com/keplerproject/luacov/archive/v0.7.tar.gz
and its working as expected.
Thanks.
Protocol https not supported or disabled in libcurl - how do I check current version of libcurl
You can check the version of curl by running:
curl --version
If curl is not working for you, you might want to try wget instead. Wget is commonly used for downloading files from web servers, and it has a similar feature set to curl.
wget https://example.com/example.tar.gz
Not able to install Python packages [SSL: TLSV1_ALERT_PROTOCOL_VERSION]
Upgrade pip as follows:
curl https://bootstrap.pypa.io/get-pip.py | python
Note: You may need to use sudo python
above if not in a virtual environment.
(Note that upgrading pip
using pip
i.e pip install --upgrade pip
will also not upgrade it correctly. It's just a chicken-and-egg issue. pip
won't work unless using TLS >= 1.2.)
As mentioned in this detailed answer, this is due to the recent TLS deprecation for pip. Python.org sites have stopped support for TLS versions 1.0 and 1.1.
From the Python status page:
Completed - The rolling brownouts are finished, and TLSv1.0 and
TLSv1.1 have been disabled. Apr 11, 15:37 UTC
For PyCharm (virtualenv) users:
Run virtual environment with shell. (replace "./venv/bin/activate" to your own path)
source ./venv/bin/activate
Run upgrade
curl https://bootstrap.pypa.io/get-pip.py | python
Restart your PyCharm instance, and check your Python interpreter in Preference.
Related Topics
Find Directories Having Size Greater Than X Mb
Is Clock_Gettime() Adequate for Submicrosecond Timing
Systemd: "Environment" Directive to Set Path
How to Get Debugging Symbols Working in Linux Perf Tool Inside Docker Containers
How to "Git Pull" - Host Key Verification Failed
How to Make Sure the Floating Point Arithmetic Result the Same in Both Linux and Windows
Wrong Payload When Using Bluez Stack as Peripheral
Run Command in Golang and Detach It from Process
How to Use Git Namespace to Hide Branches
Adding Users to Sudoers Through Shell Script
How to Split a Ca Certificate Bundle into Separate Files
Determine the Os Version, Linux and Windows from Powershell
Udev - Run Program on Usb Flash Drive Insert
What Is Chained Irq in Linux, When Are They Need to Used