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

Precompilation failure #13

Open
yiihuang opened this issue Jan 4, 2024 · 0 comments
Open

Precompilation failure #13

yiihuang opened this issue Jan 4, 2024 · 0 comments

Comments

@yiihuang
Copy link

yiihuang commented Jan 4, 2024

When I installed the Polylogarithms package it was said that Method definition parse(Type{Base.Rational{T}}, AbstractString) where {T<:Integer} in module Base at rational.jl:103 overwritten in module Polylogarithms, which is not permitted during precompilation. What should I do to fix it?

Resolving package versions...
Updating ~/.julia/environments/v1.10/Project.toml
[43cc4a2f] + Polylogarithms v0.1.0
⌅ [276daf66] ↓ SpecialFunctions v2.3.1 ⇒ v0.10.3
Updating ~/.julia/environments/v1.10/Manifest.toml
[43cc4a2f] + Polylogarithms v0.1.0
⌅ [276daf66] ↓ SpecialFunctions v2.3.1 ⇒ v0.10.3
Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use status --outdated -m
Precompiling project...
✓ SpecialFunctions
? Polylogarithms
1 dependency successfully precompiled in 1 seconds. 177 already precompiled.
1 dependency precompiled but a different version is currently loaded. Restart julia to access the new version
1 dependency failed but may be precompilable after restarting julia
1 dependency had output during precompilation:
┌ Polylogarithms
│ WARNING: Method definition parse(Type{Base.Rational{T}}, AbstractString) where {T<:Integer} in module Base at rational.jl:103 overwritten in module Polylogarithms at /Users/yihuang/.julia/packages/Polylogarithms/HjInn/src/utilities.jl:53.
│ ERROR: Method overwriting is not permitted during Module precompilation. Use __precompile__(false) to opt-out of precompilation.

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

1 participant