Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NLreg won't load [Julia v1.4] #13

Open
timothyslau opened this issue Aug 5, 2020 · 3 comments
Open

NLreg won't load [Julia v1.4] #13

timothyslau opened this issue Aug 5, 2020 · 3 comments

Comments

@timothyslau
Copy link

image

@palday
Copy link

palday commented Aug 6, 2020

A general bit of advice when you run into package in Julia is an update-resolve-update cycle:

julia>]
Pkg>update
Pkg>resolve
Pkg>update

I ran into some trouble with pre-compiling Zygote (which I'm guessing is used for automatic differentiation since you need to evaluate the gradient for nonlinear regression), so I forced an update with ]add Zygote. Then things worked.

@timothyslau
Copy link
Author

That didn't work for me, but when I removed it and try and reinstall I get this:
image

Which I think means there's some things that are too high a version and some too low. I don't know how to resolve the needs of the NLreg package to those though.

@palday
Copy link

palday commented Aug 6, 2020

It might be time to use "local" projects. Right now you're installing everything into the global 1.4 environment. If you don't need it all at once, you can create an environment local to a particular folder/project:

julia> cd("some_path") # only if you're not already at that path
julia>] activate . # create local project

Then you can use add, update, etc from there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants