Hi everyone.
I have started using Julia only a couple of weeks ago. I understand the language is still under development and therefore everything is not expected to run smoothly. Still, I would like to report a recurring problem I stumble on when trying to add new packages. Here is the latest example while trying to install The Differential Equations package (sorry for the part of the error message in French but I guess someone will understand what this says anyway; I have uploaded a screen capture as well):
INFO: Building SymEngine
Info: Attempting to create directory C:\Users\pyl\.julia\v0.6\SymEngine\deps\downloads
Info: Downloading file https://github.com/symengine/symengine/releases/download/v0.3.0/symengine-0.3
.0-binaries-msvc-x86_64.tar.bz2
Exception lors de la définition de « SecurityProtocol » : « Impossible de convertir la valeur Null
en type « System.Net.SecurityProtocolType » en raison de valeurs d'énumération non valides. Spécifi
ez l'une des valeurs d'énumération suivantes et réessayez. Les valeurs d'énumération possibles sont
« Ssl3, Tls ». »
Au niveau de ligne : 1 Caractère : 28
+ [Net.ServicePointManager]:: <<<< SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (new-objec
t net.webclient).DownloadFile("https://github.com/symengine/symengine/releases/download/v0.3.0/syme
ngine-0.3.0-binaries-msvc-x86_64.tar.bz2", "C:\Users\pyl\.julia\v0.6\SymEngine\deps\downloads\symen
gine-0.3.0-binaries-msvc-x86_64.tar.bz2")
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : PropertyAssignmentException
Exception lors de l'appel de « DownloadFile » avec « 2 » argument(s) : « La connexion sous-jacente
a été fermée : Une erreur inattendue s'est produite lors de l'envoi. »
Au niveau de ligne : 1 Caractère : 121
+ [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (new-object net.
webclient).DownloadFile <<<< ("https://github.com/symengine/symengine/releases/download/v0.3.0/syme
ngine-0.3.0-binaries-msvc-x86_64.tar.bz2", "C:\Users\pyl\.julia\v0.6\SymEngine\deps\downloads\symen
gine-0.3.0-binaries-msvc-x86_64.tar.bz2")
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : DotNetMethodException
I am no computer expert, but I have kind of managed to understand that there is a problem while downloading the package.
The way I have circumvented this type of problem so far is by manually retrieving the correct package on GitHub and putting the file where it is supposed to go. Both places are given in the last few lines of the error message. Then I build the package, and it usually works fine.
It took me a while to find this out the first time. Similarly the JuliaPro installer failed, I installed Julia and Juno “manually” instead, and this is when I started getting this type of error, especially when I learned that the debugger is “on repair” for Julia 0.6. To be honest I almost dropped trying to use Julia at this point.
Ok, so my question is the following:
- Is there anything that did not install properly at the very beginning, or is just the installer mistaken where it looks for relevant packages? I did make an update just in case a couple of times (not recently though) but this did not improve the problem.
Although I can go on the way I do, it would be nice to have the install process work by itself. Also, others may have the same problems.
For anyone willing to answer: please avoid geek speak. I browsed through some of the forum topics and more often than not answers make no sense to me. No criticism here, just stating that I am no Linux and system expert although I use the terminal often enough when on a Linux machine.
Thanks in advance