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

Installation problem #173

Open
ChrisNabold opened this issue Jan 27, 2025 · 3 comments
Open

Installation problem #173

ChrisNabold opened this issue Jan 27, 2025 · 3 comments

Comments

@ChrisNabold
Copy link

I tried to install Modia using Julia 1.11.2 and 1.11.3 but I receive the following error message
Precompiling project...
? Modia
1 dependency successfully precompiled in 17 seconds. 1031 already precompiled.
1 dependencies failed but may be precompilable after restarting julia
1 dependency had output during precompilation:
┌ Modia
│ Welcome to Modia - Dynamic Modeling and Simulation with Julia
│ Version 0.12.0 (2023-06-04)
│ WARNING: Method definition unit(MonteCarloMeasurements.AbstractParticles{T, N}) where {T, N} in module UnitfulExt at C:\Users\Chris.julia\packages\MonteCarloMeasurements\Blocw\ext\UnitfulExt.jl:16 overwritten in module Modia at C:\Users\Chris.julia\packages\Modia\77g2A\src\Modia.jl:154.
│ ERROR: Method overwriting is not permitted during Module precompilation. Use __precompile__(false) to opt-out of precompilation.
How can this issue be resolved?

@baggepinnen
Copy link
Contributor

This PR fixes the issue

@ChrisNabold
Copy link
Author

ChrisNabold commented Jan 28, 2025 via email

@johhell
Copy link
Contributor

johhell commented Jan 28, 2025

merging of the PR #172 is still open

in the meantime you can try this:

xyzxyz:~> julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.11.3 (2025-01-21)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> using Pkg

julia> Pkg.add(url="https://github.com/johhell/Modia.jl.git", rev="update-MonteCarloMeasurements")

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

3 participants