zoukankan      html  css  js  c++  java
  • 【nim语言】nim语言 1.4.8编译时SSL报错“No SSL/TLS CA certificates found” 解决方法。

    编译报错的信息:
    Error: unhandled exception: No SSL/TLS CA certificates found. [IOError]
    Error: execution of an external program failed:

    参考:
    SSL/TLS certifictae issues with Nim 1.4.4?
    https://forum.nim-lang.org/t/7551

    Here on Windows 10, I decided like this:
    I downloaded the file https://curl.se/ca/cacert.pem
    I put it in a folder that is in %PATH or else in the same location as .exe

    解决方法1:

    人话说就是下载ca文件到环境变量或者和exe同目录下就可以了。

    解决方法2:

    你电脑上装了很多软件,某些软件里也是会带有cacert.pem文件的。
    可能也是兼容的。用everything搜索cacert.pem复制过来也是可行的。

    解决方法3:
    把nim语言版本换成1.4.0
    这时候语言版本环境管理和切换工具的优势和好处就体现出来了。
    choosenim是nim语言的版本管理和切换工具,如果你有用来下载和安装nim语言。

    C:>choosenim show
      Selected: 1.4.8
       Channel: No channel selected
          Path: C:Users
    oot.choosenim	oolchains
    im-1.4.8
    
      Versions:
                #devel
                #head
              * 1.4.8
                1.4.4
                1.4.0
                1.2.2
                1.2.10
                1.2.0
                1.0.6
                1.0.4
                1.0.2
                1.0.0
                0.20.2
                0.20.0
                0.19.6
                0.19.2
    
    C:>choosenim stable
       Switched to Nim 1.4.0
    

    如上,执行choosenim 1.4.0或者choosenim stable 就可以把语言环境版本换成较低的稳定版本。

    好像看了一些奇怪的东西
  • 相关阅读:
    跟着百度学PHP[6]超级全局变量
    DuBrute 3.1
    第三方提权之serv-u提权
    报错注入分析之Extractvalue分析
    报错注入分析之updatexml注入
    B/S与C/S架构
    Python IDLE背景设置与使用
    调试软件的基本方法
    Windows10下安装python(配置环境变量)
    磁盘分区
  • 原文地址:https://www.cnblogs.com/gayhub/p/15328076.html
Copyright © 2011-2022 走看看