opencobra / COBRA.jl

High-level, high-performance, constraint-based reconstruction and analysis in Julia
https://git.io/COBRA.jl
Other
60 stars 31 forks source link

how to update WinRPM in julia version 0.6.4 #84

Closed farzanfarahani24 closed 2 years ago

farzanfarahani24 commented 2 years ago

I'm new to Julia and I want to use COBRA Package. For adding COBRA I use the command :

Pkg.add("COBRA") But when running, I get these errors:

INFO: Building WinRPM

WARNING: skipping repodata/repomd.xml, not in cache -- call WinRPM.update() to download

WARNING: skipping repodata/repomd.xml, not in cache -- call WinRPM.update() to download

INFO: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml

WARNING: Unknown download failure, error code: 2148270086

WARNING: Retry 1/5 downloading: https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml

until:

WARNING: Unknown download failure, error code: 2148270086

WARNING: Retry 5/5 downloading: https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml

WARNING: received error 0 while downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml

After these errors, I have checked the link and I've found out the source is not there, anymore. So then I ran this command as said above:

WinRPM.update() But it has thrown this error:

ERROR: UndefVarError: WinRPM not defined

I'm using version 0.6.4 (Windows 10). Any help would be appreciated.

farzanfarahani24 commented 2 years ago

Finally I've found out that the mentioned links are broken and new links were replaced after upgrading Julia; So this problem is resolved in new version of Julia (1.0+)