Pkg on Julia 0.3.12

Hey, I need to use Julia package Phylonetworks, it says it’s supported for Julia versions 0.3.X and not tested on 0.4 or above, thus why I need to use the ANCIENT version (I know it’s not ideal but the package won’t install on the newer version either for some reason), this is the error I get:

Pkg.clone (“Phylonetworks”)
INFO: Initializing package repository C:\Users\lmari.julia\v0.3
INFO: Cloning METADATA from git://github.com/JuliaLang/METADATA.jl
fatal: unable to connect to github.com:
github.com[0: 20.201.28.151]: errno=No such file or directory

ERROR: failed process: Process(git clone -q -b metadata-v2 git://github.com/JuliaLang/METADATA.jl METADATA, ProcessExited(128)) [128]
** in error at error.jl:22 (repeats 2 times)**

I figured out the error is likely because it’s trying to clone METADATA from git with the git:// but that one no longer works (I believe it was taken down and now works with https:// or ssh:// only) is there any way to change that so it downloads METADATA from the correct source and can proceed to download the Phylonetworks package?

I saw there is also a way to download everything into my pc so it doesn’t have to connect with github but I’m new to Julia so I don’t know how to do that

Please please help

Could you possibly use a newer version of the package? It appears to support up to Julia 1.7:

If you’re referring to

that effectively means “any version in the 1.x series, from 1.1 on”, and is equivalent to just "1.1".

Welcome to Julia! Since you are new, just to make it clear, this should be all you need to do:

  • launch julia
  • hit ] to enter pkg> mode
  • type add PhyloNetworks

Done. I tested and this works on the current Julia release.

While this is simple, it’s often better to do this for a specific project environment. To learn about this and other good practices, a good resource is https://modernjuliaworkflows.org/