Comments (18)
I get problem on windows with this package. can we please not redownload all of conda if it is already installed. Please something like PyPlots where it uses the system conda installation.
from symengine.jl.
Let me also say that this is the first time I have encountered an error that said "conda is doing something else". It hasn't happened to me with any other package so far. (as far as I can remember!)
from symengine.jl.
Can you try below as the error message suggests?
using Conda
Conda.runconda(`clean --lock`, "C:\\Users\\migos\\.julia\\v0.6\\SymEngine\\deps\\usr")
Lock file is there probably because a Conda command was interrupted or something like that.
from symengine.jl.
@Datseris sorry about that, I haven't encountered this error either. Let us know if @isuruf's suggestion fixes it.
from symengine.jl.
Tried to run the suggestion, got this:
julia> using Conda
julia> Conda.runconda(`clean --lock`, "C:\\Users\\migos\\.julia\\v0.5\\SymEngine\\deps\\usr")
ERROR: ArgumentError: Path to conda environment is not valid.
in prefix at C:\Users\migos\.julia\v0.5\Conda\src\Conda.jl:60 [inlined]
in _install_conda(::String, ::Bool) at C:\Users\migos\.julia\v0.5\Conda\src\Conda.jl:202
in runconda(::Cmd, ::String) at C:\Users\migos\.julia\v0.5\Conda\src\Conda.jl:130
from symengine.jl.
Sorry, that should have been just
using Conda
Conda.runconda(`clean --lock`)
from symengine.jl.
So, here is the thing. When I do my first package update, I get the error I describe in this post. After that, if I do again update, nothing goes wrong.
During this second update attempt, when nothing goes wrong, I tried the command:
julia> Conda.runconda(`clean --lock`)
removing: C:\Users\migos\.julia\v0.5\Conda\deps\usr\pkgs\.conda_lock-9344
But I don't know what to do now
from symengine.jl.
If nothing goes wrong on the second attempt, does using SymEngine
work?
from symengine.jl.
Yes, it does work. There are no errors at least when using SymEngine
, but I don't know any commands to run to see if it really works.
from symengine.jl.
Pkg.test("SymEngine")
will test the package
from symengine.jl.
julia> Pkg.test("SymEngine")
INFO: Testing SymEngine
ERROR: LoadError: LoadError: error compiling _symbol: error compiling _symbol: could not load library "symengine"
The specified module could not be found.
in include_from_node1(::String) at .\loading.jl:488 (repeats 2 times)
in process_options(::Base.JLOptions) at .\client.jl:262
in _start() at .\client.jl:318
while loading C:\Users\migos\.julia\v0.5\SymEngine\test\test-dense-matrix.jl, in expression starting on line 5
while loading C:\Users\migos\.julia\v0.5\SymEngine\test\runtests.jl, in expression starting on line 4
==================================================[ ERROR: SymEngine ]==================================================
failed process: Process(`'C:\Users\migos\AppData\Local\Julia-0.5.0\bin\julia' -Cx86-64 '-JC:\Users\migos\AppData\Local\Julia-0.5.0\lib\julia\sys.dll' --compile=yes --depwarn=yes --check-bounds=yes --code-coverage=none --color=yes --compilecache=yes 'C:\Users\migos\.julia\v0.5\SymEngine\test\runtests.jl'`, ProcessExited(1)) [1]
========================================================================================================================
ERROR: SymEngine had test errors
in #test#61(::Bool, ::Function, ::Array{AbstractString,1}) at .\pkg\entry.jl:740
in (::Base.Pkg.Entry.#kw##test)(::Array{Any,1}, ::Base.Pkg.Entry.#test, ::Array{AbstractString,1}) at .\<missing>:0
in (::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#test,Tuple{Array{AbstractString,1}}})() at .\pkg\dir.jl:31
in cd(::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#test,Tuple{Array{AbstractString,1}}}, ::String) at .\file.jl:48
in #cd#1(::Array{Any,1}, ::Function, ::Function, ::Array{AbstractString,1}, ::Vararg{Array{AbstractString,1},N}) at .\pkg\dir.jl:31
in (::Base.Pkg.Dir.#kw##cd)(::Array{Any,1}, ::Base.Pkg.Dir.#cd, ::Function, ::Array{AbstractString,1}, ::Vararg{Array{AbstractString,1},N}) at .\<missing>:0
in #test#3(::Bool, ::Function, ::String, ::Vararg{String,N}) at .\pkg\pkg.jl:258
in test(::String, ::Vararg{String,N}) at .\pkg\pkg.jl:258
from symengine.jl.
You have ParameterizedFunctions, so just give the repo example a go:
f = @ode_def LotkaVolterra begin
dx = a*x - b*x*y
dy = -c*y + d*x*y
end a=>1.5 b=>1 c=3 d=1
It should build everything but throw a warning that it cannot invert the Hessian (which is mathematically correct)
from symengine.jl.
Nope, not even that:
julia> f = @ode_def LotkaVolterra begin
dx = a*x - b*x*y
dy = -c*y + d*x*y
end a=>1.5 b=>1 c=3 d=1
ERROR: error compiling #ode_def_opts#1: error compiling symbolize: error compiling symbols: error compiling _symbol: could not load library "symengine"
The specified module could not be found.
in ode_def_opts(::Symbol, ::Dict{Symbol,Bool}, ::Expr, ::Expr, ::Vararg{Expr,N}) at C:\Users\migos\.julia\v0.5\ParameterizedFunctions\src\ode_def_opts.jl:5
*yes I know its the same error
from symengine.jl.
@musm, Conda.jl
can be configured to use a system conda installation. https://github.com/JuliaPy/Conda.jl#using-an-already-existing-conda-installation
from symengine.jl.
This issue could probably be closed, right?
from symengine.jl.
Bumping the closing? I thought @Datseris 's problems were fixed.
from symengine.jl.
Right, now that we are not using Conda on windows, this should be fixed
from symengine.jl.
Right now I don't have any problems, that is true. Pkg.update()
works fine (it does that REALLY weird thing where it installs a huge amount of stuff everytime).
from symengine.jl.
Related Issues (20)
- Improvement: Early quitting when computing derivatives
- Segmentation fault and "Trying to print an uninitialized SymEngine Basic variable" when encountering `SymEngine.zoo` HOT 8
- Can't create Add (sums) manually HOT 5
- Implement `//` HOT 2
- Cannot install package via Pkg.add HOT 1
- Is it possible to use something like 1-x:1:10-x HOT 1
- Support macos aarch64 package install HOT 6
- Issues with Saving HOT 1
- Strange isless behavior
- Can't access type of operation HOT 2
- get_name causes a segfault if used with someting other than FunctionSymbol
- not throw error but crash when assign an expression to array HOT 2
- series fails
- Update SymEngine_jll HOT 2
- Serialization don't work with complex data types containing SymEngine expressions
- Make a new release HOT 2
- Regression: Multiplication of `Basic`, `Rational`, and `Vector{Basic}` fails HOT 1
- GCD does not work correctly
- Returning anonymous function when using lambdify instead of using gensym()
- `imag()` and `reim()` gives `InexactError(::Symbol, ::Any, ::Any)`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from symengine.jl.