Giter Club home page Giter Club logo

Comments (7)

cstook avatar cstook commented on June 10, 2024 2

Looks like you are installing from the wrong repo. See #10 (comment)

from coolprop.jl.

NikoBiele avatar NikoBiele commented on June 10, 2024

I also get that error in Julia 1.6.0 and 1.5.4 but also on 1.5.3 where it used to work. I'm also on Windows 10...

from coolprop.jl.

NikoBiele avatar NikoBiele commented on June 10, 2024

Found this, he is also unable to install on 1.6.0, however he did it succesfully on 1.5.4 from existing files :)

https://discourse.julialang.org/t/coolprop-installation-in-julia-1-6-0/58205

from coolprop.jl.

ibell avatar ibell commented on June 10, 2024

Seems like a bug in Julia 1.6.0: https://discourse.julialang.org/t/julia-1-6-0-add-package-ohmyrepl/58148/21 (at the bottom)

from coolprop.jl.

NikoBiele avatar NikoBiele commented on June 10, 2024

Still does not work in 1.6.1:

_ _ ()_ | Documentation: https://docs.julialang.org
() | () () |
_ _ | | __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ ` | |
| | |
| | | | (
| | | Version 1.6.1 (2021-04-23)
/ |_'|||_'_| | Official https://julialang.org/ release
|__/ |

julia> using Pkg

julia> Pkg.clone("https://github.com/vimalaad/CoolProp.jl.git")
ERROR: UndefVarError: clone not defined
Stacktrace:
[1] getproperty(x::Module, f::Symbol)
@ Base .\Base.jl:26
[2] top-level scope
@ REPL[2]:1

(@v1.6) pkg> add https://github.com/vimalaad/CoolProp.jl.git
Cloning git-repo https://github.com/vimalaad/CoolProp.jl.git
Updating git-repo https://github.com/vimalaad/CoolProp.jl.git
ERROR: could not find project file in package at https://github.com/vimalaad/CoolProp.jl.git maybe subdir needs to be specified


However, I made it work on 1.6.1 with an install from my local folder:

| | || | | | (| | | Version 1.6.1 (2021-04-23)
/ |_'|||_'_| | Official https://julialang.org/ release
|__/ |
(@v1.6) pkg> add C:\Users\jalok\Dropbox\JuliaCoolPropInstall\CoolProp.jl
Cloning git-repo C:\Users\jalok\Dropbox\JuliaCoolPropInstall\CoolProp.jl
Updating git-repo C:\Users\jalok\Dropbox\JuliaCoolPropInstall\CoolProp.jl
Updating registry at C:\Users\jalok\.julia\registries\General
Updating git-repo https://github.com/JuliaRegistries/General.git
Installed Compat ─────────── v3.27.0
Installed Parsers ────────── v1.1.0
Installed ConstructionBase ─ v1.1.0
Installed Unitful ────────── v1.7.0
Installed JSON ───────────── v0.21.1
Updating C:\Users\jalok\.julia\environments\v1.6\Project.toml
[e084ae63] + CoolProp v0.0.0 C:\Users\jalok\Dropbox\JuliaCoolPropInstall\CoolProp.jl#master
Updating C:\Users\jalok\.julia\environments\v1.6\Manifest.toml
[34da2185] + Compat v3.27.0
[187b0558] + ConstructionBase v1.1.0
[e084ae63] + CoolProp v0.0.0 C:\Users\jalok\Dropbox\JuliaCoolPropInstall\CoolProp.jl#master
[682c06a0] + JSON v0.21.1
[69de0a69] + Parsers v1.1.0
[1986cc42] + Unitful v1.7.0
[8bb1440f] + DelimitedFiles
[8ba89e20] + Distributed
[37e2e46d] + LinearAlgebra
[a63ad114] + Mmap
[1a1011a3] + SharedArrays
[2f01184e] + SparseArrays
[10745b16] + Statistics
[8dfed614] + Test
Building CoolProp → C:\Users\jalok\.julia\scratchspaces\44cfe95a-1eb2-52ea-b672-e2afdf69b78f\0ffe8a45e0437b15241b205c4f8c016cda91e170\build.log
Precompiling project...
3 dependencies successfully precompiled in 11 seconds (6 already precompiled)

(@v1.6) pkg> build CoolProp
Building CoolProp → C:\Users\jalok\.julia\scratchspaces\44cfe95a-1eb2-52ea-b672-e2afdf69b78f\0ffe8a45e0437b15241b205c4f8c016cda91e170\build.log

julia> using CoolProp

julia> PropsSI("T","P",101325,"Q",0,"WATER")
373.1242958476844

from coolprop.jl.

NikoBiele avatar NikoBiele commented on June 10, 2024

Thanks :) I just followed the readme... Maybe the readme should be updated then?

from coolprop.jl.

cstook avatar cstook commented on June 10, 2024

There is already a pull request. #9. I don't know who need to process this.

from coolprop.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.