Git Product home page Git Product logo

Comments (13)

MilesCranmer avatar MilesCranmer commented on May 18, 2024

Does this issue go away the second time you open up Julia, and don't write the Pkg stuff?

from symbolicregression.jl.

sheevy avatar sheevy commented on May 18, 2024

No, still getting the same error. What's in your environment, maybe I need to have a package I'm currently missing.

(Test2) pkg> st
Project Test2 v0.1.0
Status `C:\Users\siwy\Downloads\julia-b84990e1ac\bin\Test2\Project.toml`
  [8254be44] SymbolicRegression v0.1.0 `https://github.com/MilesCranmer/SymbolicRegression.jl.git#master`
julia> versioninfo()
Julia Version 1.6.0-beta1.0
Commit b84990e1ac (2021-01-08 12:42 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.0 (ORCJIT, skylake)

from symbolicregression.jl.

MilesCranmer avatar MilesCranmer commented on May 18, 2024

Very strange, I will think more about this. Can you try installing a different Julia packages from GitHub?

The required packages are listed here: https://github.com/MilesCranmer/SymbolicRegression.jl/blob/master/Project.toml

And all installed packages in my env are given here:
https://github.com/MilesCranmer/SymbolicRegression.jl/blob/master/Manifest.toml

from symbolicregression.jl.

luckywood avatar luckywood commented on May 18, 2024

I have the same probblem:
Pkg.add(url="https://github.com/MilesCranmer/SymbolicRegression.jl.git")
Updating git-repo https://github.com/MilesCranmer/SymbolicRegression.jl.git
Updating registry at ~/.julia/registries/General
######################################################################## 100,0%
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package Distributions [31c24e10]:
Distributions [31c24e10] log:
├─possible versions are: [0.16.0-0.16.4, 0.17.0, 0.18.0, 0.19.1-0.19.2, 0.20.0, 0.21.0-0.21.3, 0.21.5-0.21.12, 0.22.0-0.22.6, 0.23.0-0.23.12, 0.24.0-0.24.10] or uninstalled
├─restricted by compatibility requirements with StatsPlots [f3b207a7] to versions: [0.16.0-0.16.4, 0.17.0, 0.18.0, 0.19.1-0.19.2, 0.20.0, 0.21.0-0.21.3, 0.21.5-0.21.12, 0.22.0-0.22.6, 0.23.0-0.23.12, 0.24.0-0.24.10]
│ └─StatsPlots [f3b207a7] log:
│ ├─possible versions are: [0.10.0-0.10.2, 0.11.0, 0.12.0, 0.13.0, 0.14.0-0.14.17] or uninstalled
│ └─restricted to versions * by an explicit requirement, leaving only versions [0.10.0-0.10.2, 0.11.0, 0.12.0, 0.13.0, 0.14.0-0.14.17]
├─restricted by compatibility requirements with BlackBoxOptim [a134a8b2] to versions: [0.16.0-0.16.4, 0.17.0, 0.18.0, 0.19.1-0.19.2, 0.20.0, 0.21.0-0.21.3, 0.21.5-0.21.12, 0.22.0-0.22.6, 0.23.0-0.23.12]
│ └─BlackBoxOptim [a134a8b2] log:
│ ├─possible versions are: [0.4.0, 0.5.0] or uninstalled
│ └─restricted to versions * by an explicit requirement, leaving only versions [0.4.0, 0.5.0]
└─restricted by compatibility requirements with SpecialFunctions [276daf66] to versions: 0.24.4-0.24.10 or uninstalled — no versions left
└─SpecialFunctions [276daf66] log:
├─possible versions are: [0.7.0-0.7.2, 0.8.0, 0.9.0, 0.10.0-0.10.3, 1.0.0, 1.1.0, 1.2.0-1.2.1] or uninstalled
└─restricted to versions 1.1.0-1 by SymbolicRegression [8254be44], leaving only versions [1.1.0, 1.2.0-1.2.1]
└─SymbolicRegression [8254be44] log:
├─possible versions are: 0.1.0 or uninstalled
└─SymbolicRegression [8254be44] is fixed to version 0.1.0

from symbolicregression.jl.

sheevy avatar sheevy commented on May 18, 2024

Tried it on different julia versions, but with no luck:
1.2: Doesn't install due to unsatisfied dependency on SpecialFunctions
1.3, 1.4, 1.5, 1.6-beta: Same error as before.

from symbolicregression.jl.

MilesCranmer avatar MilesCranmer commented on May 18, 2024

Hm, it seems like I was too strict with the [compat] requirements (here), and this is what's creating the installation difficulty. I don't actually use many of the functions from each required packages so I can probably weaken the version requirements a lot.

Sorry for the installation difficulty, will try to fix this tomorrow.

from symbolicregression.jl.

sheevy avatar sheevy commented on May 18, 2024

Perhaps the installation problem should have it's own github issue as it's separate from inability to actually run the package.

I've actually managed to run the example when I skipped the activate . and installed and run everything in the main environment.

from symbolicregression.jl.

MilesCranmer avatar MilesCranmer commented on May 18, 2024

I updated the [compat] requirements; can you try again?

from symbolicregression.jl.

luckywood avatar luckywood commented on May 18, 2024

yes, now it works. Thanks !

from symbolicregression.jl.

sheevy avatar sheevy commented on May 18, 2024

It also works in Test2 environment as long as SymbolicRegression is also installed in the main environment.

from symbolicregression.jl.

MilesCranmer avatar MilesCranmer commented on May 18, 2024

Awesome!

from symbolicregression.jl.

sheevy avatar sheevy commented on May 18, 2024

Isn't it weird though? I'm not a Julia expert, but shouldn't it work just fine without a need to adding it to the main env?

from symbolicregression.jl.

MilesCranmer avatar MilesCranmer commented on May 18, 2024

Yeah, this is definitely weird. Let's try again once it's on the general registry, for now, your added instructions are good - thanks.

from symbolicregression.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.