简体   繁体   中英

Building error R Math in Julia

When I want to use the GLM Package on Windows I get the problem

Rmath not properly installed. Please run Pkg.build("Rmath") and restart Julia.

But then the following error occurs:

Failed to precompile Rmath to ...

which then produces the error notification

Exception by Determining of "SecurityProtocol": "NULL can not converted to the type "System.Net.SecurityProtocolType" because it is not a possible value for enumerations values. Enter a possible value "Ss13, Tls"

Do you know how to solve this problem?

This is more of a workaround than an actual solution to the issue.

The problem is likely a networking one (eg, running Julia from behind a proxy server). The way to solve it is to manually download the 'zip' file whose address is given in the error when the build fails, unpack it into the 'bin' folder of Julia installation (typically something like 'C:\\Users\\User1\\AppData\\Local\\[julia version]\\bin'), and then run Pkg.build("Rmath") in Julia.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM