Questions tagged [julia-pkg]

Package manager for the Julia language.

Pkg is a complete rewrite of Julia's old package manager and was released together with Julia v1.0. Unlike traditional package managers, which install and manage a single global set of packages, Pkg is designed around “environments”: independent sets of packages that can be local to an individual project or shared and selected by name.

22 questions
7
votes
1 answer

ImportError when calling a Julia module function from PyJulia

I'm trying to include a Julia function (PowerModelsDistribution.solve_mc_opf) in some Python code. The package works in Julia but I'm getting stuck on including it with PyJulia. I've tried a few things: 1. from julia import…
apigott
  • 73
  • 2
7
votes
2 answers

What is the difference between Julia and Julia Pro?

What is the difference between Julia and Julia Pro offered by Julia Computing? Does Julia Pro have any enterprise library which isn't available in Julia?
Thirumal
  • 8,280
  • 11
  • 53
  • 103
5
votes
1 answer

Julia: How can I update my published julia package?

I'm trying to develop my first Julia package, FeatureEng.jl but I'm having trouble updating the package on the registry. I've set up the GitHub actions TagBot and Register and tried updating the package version via the Project.toml file and via git…
A Poor
  • 856
  • 10
  • 26
5
votes
1 answer

Downgrade to DifferentialEquations v6.0 in Julia

How can I downgrade the DifferentialEquations package to version 6.0 (or earlier), such that all depending packages also downgrade if they require a version that is > 6.0?
piiipmatz
  • 400
  • 1
  • 10
3
votes
1 answer

TOML Parse Error when adding package in Julia

I was trying to get several packages with Pkg.add("Statsbase"), but I am always getting the following error. It does the same error with any other function I have tried with Pkg. Does anyone know how to resolve this? I am using VSCode Julia…
Adam Knirsch
  • 443
  • 1
  • 6
  • 16
3
votes
1 answer

What does runtests.jl do in Julia?

I have seen that many Julia projects seem to include a file in the test folder called "runtests.jl". Is there something significant about that file name or can I have my testing file called whatever I want?
logankilpatrick
  • 13,148
  • 7
  • 44
  • 125
3
votes
2 answers

ERROR: expected package `PkgAuthentication [4722fa14]` to be registered

I am using JuliaPro v1.4 on Windows 10. I was trying to install a package but the REPL got stuck so I interrupted it. Since then I'm no longer able to install any package due to this error. Any ideas?
Akahs
  • 333
  • 2
  • 10
3
votes
1 answer

Julia `Pkg.checkout` causing `UndefVarError: checkout not defined`

I am installing a package using Pkg module: using Pkg Pkg.add("DataFrames") Pkg.checkout("Flux") # for the bleeding edge version of Flux and it fails with: Updating registry at `~/.julia/registries/General` Updating git-repo…
sophros
  • 14,672
  • 11
  • 46
  • 75
2
votes
0 answers

why julia Pkg.add failed on a CentOS server?

I am not root user of a HPC, where I install julia on my own path and I want to add some julia packages like Plots. However when using Pkg.add, it cannot connect to the target website How can I fix it?
Xu Fe
  • 71
  • 3
2
votes
1 answer

ERROR: "/tmp/jl_F8q8cm/Registry.toml": No such file in Julia REPL

I am tryin to update the packages in my current environment through the package manager and get the following error: (@v1.6) pkg> update Updating registry at `~/.julia/registries/General` ┌ Warning: could not download…
logankilpatrick
  • 13,148
  • 7
  • 44
  • 125
2
votes
2 answers

How use Systems.henonheiles from InteractiveDynamics

I’m trying to duplicate the first example of trajectory evolution in the docs for the InteractiveDynamcis package (https://juliadynamics.github.io/InteractiveDynamics.jl/dev/trajectory/). I’ve already created an environment into which I’ve added…
murray
  • 737
  • 2
  • 10
  • 28
2
votes
2 answers

Can not install julia packages

I just installed julia today and I tried to add the images package but it does not work. It does fetching till 100%. Then it stays on fetching for about 4 minutes with nothing happening like this: (@v1.4) pkg> add Images Cloning default…
Quinten C
  • 660
  • 1
  • 8
  • 18
1
vote
0 answers

Persistent "? PackageName" after precompiling in pkg, despite successful "using PackageName"

I am trying to add a package from a github repository. I write (@v1.7) pkg> registry add https://github.com/organization/registryname.git (@v1.7) pkg> add PackageName Resolving package versions... No Changes to…
Mikkel Rev
  • 863
  • 3
  • 12
  • 31
1
vote
1 answer

How to detach a package without restarting

Ref: docs for Pkg I want to compare two methods with the same name from two different packages in the same session/script. To avoid name collision, I would like to negate using (i.e. "undo" / "reverse"). Something like what detach does for R. using…
PatrickT
  • 10,037
  • 9
  • 76
  • 111
1
vote
2 answers

Cannot install any package in Julia

I had used Julia some months back for a project, and didn't use it since. I hadn't faced problems back then. But now, I absolutely am not able to install any package. (@v1.5) pkg> add Distributions …
1
2