-
Notifications
You must be signed in to change notification settings - Fork 5
/
1.5.0-DEV-6a9a92683d.log
134 lines (125 loc) · 6.26 KB
/
1.5.0-DEV-6a9a92683d.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
Julia Version 1.5.0-DEV.299
Commit 6a9a92683d (2020-02-20 07:47 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-9.0.1 (ORCJIT, skylake)
Environment:
JULIA_DEPOT_PATH = ::/usr/local/share/julia
JULIA_NUM_THREADS = 2
Resolving package versions...
Installed CVXOPT ───────────── v0.3.1
Installed VersionParsing ───── v1.2.0
Installed Parsers ──────────── v0.3.11
Installed OrderedCollections ─ v1.1.0
Installed Conda ────────────── v1.4.1
Installed DataStructures ───── v0.17.9
Installed PyCall ───────────── v1.91.3
Installed JSON ─────────────── v0.21.0
Installed MacroTools ───────── v0.5.4
Updating `~/.julia/environments/v1.5/Project.toml`
[1a0d837d] + CVXOPT v0.3.1
Updating `~/.julia/environments/v1.5/Manifest.toml`
[1a0d837d] + CVXOPT v0.3.1
[8f4d0f93] + Conda v1.4.1
[864edb3b] + DataStructures v0.17.9
[682c06a0] + JSON v0.21.0
[1914dd2f] + MacroTools v0.5.4
[bac558e1] + OrderedCollections v1.1.0
[69de0a69] + Parsers v0.3.11
[438e738f] + PyCall v1.91.3
[81def892] + VersionParsing v1.2.0
[2a0f44e3] + Base64
[ade2ca70] + Dates
[8ba89e20] + Distributed
[b77e0a4c] + InteractiveUtils
[8f399da3] + Libdl
[37e2e46d] + LinearAlgebra
[56ddb016] + Logging
[d6f4376e] + Markdown
[a63ad114] + Mmap
[de0858da] + Printf
[9a3f8284] + Random
[9e88b42a] + Serialization
[6462fe0b] + Sockets
[2f01184e] + SparseArrays
[8dfed614] + Test
[4ec0a83e] + Unicode
Building Conda ─→ `~/.julia/packages/Conda/3rPhK/deps/build.log`
Building PyCall → `~/.julia/packages/PyCall/kAhnQ/deps/build.log`
Testing CVXOPT
Status `/tmp/jl_PNzxPR/Manifest.toml`
[1a0d837d] CVXOPT v0.3.1
[8f4d0f93] Conda v1.4.1
[864edb3b] DataStructures v0.17.9
[682c06a0] JSON v0.21.0
[1914dd2f] MacroTools v0.5.4
[bac558e1] OrderedCollections v1.1.0
[69de0a69] Parsers v0.3.11
[438e738f] PyCall v1.91.3
[81def892] VersionParsing v1.2.0
[2a0f44e3] Base64
[ade2ca70] Dates
[8ba89e20] Distributed
[b77e0a4c] InteractiveUtils
[8f399da3] Libdl
[37e2e46d] LinearAlgebra
[56ddb016] Logging
[d6f4376e] Markdown
[a63ad114] Mmap
[de0858da] Printf
[9a3f8284] Random
[9e88b42a] Serialization
[6462fe0b] Sockets
[2f01184e] SparseArrays
[8dfed614] Test
[4ec0a83e] Unicode
ERROR: LoadError: InitError: PyError (PyImport_ImportModule
The Python package cvxopt could not be found by pyimport. Usually this means
that you did not install cvxopt in the Python version being used by PyCall.
PyCall is currently configured to use the Python version at:
/usr/bin/python3
and you should use whatever mechanism you usually use (apt-get, pip, conda,
etcetera) to install the Python package containing the cvxopt module.
One alternative is to re-configure PyCall to use a different Python
version on your system: set ENV["PYTHON"] to the path/name of the python
executable you want to use, run Pkg.build("PyCall"), and re-launch Julia.
Another alternative is to configure PyCall to use a Julia-specific Python
distribution via the Conda.jl package (which installs a private Anaconda
Python distribution), which has the advantage that packages can be installed
and kept up-to-date via Julia. As explained in the PyCall documentation,
set ENV["PYTHON"]="", run Pkg.build("PyCall"), and re-launch Julia. Then,
To install the cvxopt module, you can use `pyimport_conda("cvxopt", PKG)`,
where PKG is the Anaconda package the contains the module cvxopt,
or alternatively you can use the Conda package directly (via
`using Conda` followed by `Conda.add` etcetera).
) <class 'ModuleNotFoundError'>
ModuleNotFoundError("No module named 'cvxopt'",)
Stacktrace:
[1] pyimport(::String) at /home/pkgeval/.julia/packages/PyCall/kAhnQ/src/PyCall.jl:536
[2] pyimport_conda(::String, ::String, ::String) at /home/pkgeval/.julia/packages/PyCall/kAhnQ/src/PyCall.jl:694
[3] __init__() at /home/pkgeval/.julia/packages/CVXOPT/fCCDr/src/CVXOPT.jl:10
[4] _include_from_serialized(::String, ::Array{Any,1}) at ./loading.jl:697
[5] _require_from_serialized(::String) at ./loading.jl:748
[6] _require(::Base.PkgId) at ./loading.jl:1039
[7] require(::Base.PkgId) at ./loading.jl:927
[8] require(::Module, ::Symbol) at ./loading.jl:922
[9] include(::String) at ./client.jl:441
[10] top-level scope at none:6
during initialization of module CVXOPT
in expression starting at /home/pkgeval/.julia/packages/CVXOPT/fCCDr/test/runtests.jl:1
ERROR: Package CVXOPT errored during testing
Stacktrace:
[1] pkgerror(::String, ::Vararg{String,N} where N) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Pkg/src/Types.jl:53
[2] test(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Pkg/src/Operations.jl:1503
[3] test(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:316
[4] test(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:303
[5] #test#68 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:297 [inlined]
[6] test at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:297 [inlined]
[7] #test#67 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:296 [inlined]
[8] test at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:296 [inlined]
[9] test(::String; kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:295
[10] test(::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:295
[11] top-level scope at none:13