Closed rogeliozarate closed 5 years ago
What package is installing curl into shims?
Could you try asdf which curl
please?
I would rather stick with the system curl unless you have a good reason not to.
Current global Python is 3.7.0, but the "conda" text in --version makes me think that the shim was installed by python-anaconda3-5.3.1.
$asdf which curl
No such plugin: curl
I agree with sticking to system cURL.
What version of asdf are you using? This seems to be a fairly old error message. Could you try with the latest version please? Thanks!
Updated asdf to release v0.7.1
asdf which curl
/home/cobi/.asdf/installs/python/anaconda3-5.3.1/bin/curl
Ok, so the behavior seems perfectly normal but it is rather an incompatibility between the version of curl (or SSL certificates) provided by anaconda and emacs. I am not sure if there is something I can do on my side to help for this. I would simply recommend to uninstall curl installed by anaconda and stick with the system version.
I agree with you. It is surprising to me that a language version install his own cURL version. Thanks for the help and the insights.
I think anaconda bundles up quite a few libraries which are usually provided by system packages to avoid version incompatibilities. I suppose it is possible to choose which libraries/executable anaconda should install but you should probably check anaconda documentation for that.
As a corollary, if someone gets here with a similar issue:
I am not sure if this is Python, asdf or Emacs related but I have to start somewhere.
Running Ubuntu 18.04.02 64 bits I had a version of cURL installed:
This particular version did not work well with Emacs and there was some issues about certificates, so I installed with HOMEBREW a different version:
After installing Python with asdf, I got this version working:
Emacs uses cURL for several tasks inside some packages installed, like twittering-mode, to twit inside Emacs. I do not know why Python 3.7.0 takes over the system installed cURL. So far this particular version works ok in BASH CLI