-
Notifications
You must be signed in to change notification settings - Fork 5
/
1.5.0-DEV-e0740fe5a6.log
139 lines (129 loc) · 6.9 KB
/
1.5.0-DEV-e0740fe5a6.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
135
136
137
138
139
Julia Version 1.5.0-DEV.147
Commit e0740fe5a6 (2020-01-24 14:13 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-8.0.1 (ORCJIT, skylake)
Environment:
JULIA_DEPOT_PATH = ::/usr/local/share/julia
JULIA_NUM_THREADS = 2
Resolving package versions...
Installed VersionParsing ───── v1.2.0
Installed SerialPorts ──────── v0.2.1
Installed Conda ────────────── v1.3.0
Installed OrderedCollections ─ v1.1.0
Installed PyCall ───────────── v1.91.2
Installed MacroTools ───────── v0.5.3
Installed DataStructures ───── v0.17.9
Installed JSON ─────────────── v0.21.0
Installed Parsers ──────────── v0.3.10
Updating `~/.julia/environments/v1.5/Project.toml`
[5d0f9de7] + SerialPorts v0.2.1
Updating `~/.julia/environments/v1.5/Manifest.toml`
[8f4d0f93] + Conda v1.3.0
[864edb3b] + DataStructures v0.17.9
[682c06a0] + JSON v0.21.0
[1914dd2f] + MacroTools v0.5.3
[bac558e1] + OrderedCollections v1.1.0
[69de0a69] + Parsers v0.3.10
[438e738f] + PyCall v1.91.2
[5d0f9de7] + SerialPorts v0.2.1
[81def892] + VersionParsing v1.2.0
[2a0f44e3] + Base64
[ade2ca70] + Dates
[8ba89e20] + Distributed
[b77e0a4c] + InteractiveUtils
[76f85450] + LibGit2
[8f399da3] + Libdl
[37e2e46d] + LinearAlgebra
[56ddb016] + Logging
[d6f4376e] + Markdown
[a63ad114] + Mmap
[44cfe95a] + Pkg
[de0858da] + Printf
[3fa0cd96] + REPL
[9a3f8284] + Random
[ea8e919c] + SHA
[9e88b42a] + Serialization
[6462fe0b] + Sockets
[2f01184e] + SparseArrays
[10745b16] + Statistics
[8dfed614] + Test
[cf7118a7] + UUIDs
[4ec0a83e] + Unicode
Building Conda ─→ `~/.julia/packages/Conda/kLXeC/deps/build.log`
Updating `/tmp/jl_dB5xS3/Project.toml`
[no changes]
Updating `/tmp/jl_dB5xS3/Manifest.toml`
[no changes]
Building PyCall → `~/.julia/packages/PyCall/ttONZ/deps/build.log`
Updating `/tmp/jl_GbcWw8/Project.toml`
[no changes]
Updating `/tmp/jl_GbcWw8/Manifest.toml`
[no changes]
Testing SerialPorts
Updating `/tmp/jl_1YNeyK/Project.toml`
[no changes]
Updating `/tmp/jl_1YNeyK/Manifest.toml`
[no changes]
Running sandbox
Status `/tmp/jl_1YNeyK/Project.toml`
[438e738f] PyCall v1.91.2
[5d0f9de7] SerialPorts v0.2.1
[8dfed614] Test
ERROR: LoadError: InitError: PyError (PyImport_ImportModule
The Python package serial could not be found by pyimport. Usually this means
that you did not install serial 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 serial 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 serial module, you can use `pyimport_conda("serial", PKG)`,
where PKG is the Anaconda package the contains the module serial,
or alternatively you can use the Conda package directly (via
`using Conda` followed by `Conda.add` etcetera).
) <class 'ModuleNotFoundError'>
ModuleNotFoundError("No module named 'serial'",)
Stacktrace:
[1] pyimport(::String) at /home/pkgeval/.julia/packages/PyCall/ttONZ/src/PyCall.jl:544
[2] pyimport_conda(::String, ::String, ::String) at /home/pkgeval/.julia/packages/PyCall/ttONZ/src/PyCall.jl:702
[3] pyimport_conda at /home/pkgeval/.julia/packages/PyCall/ttONZ/src/PyCall.jl:701 [inlined]
[4] __init__() at /home/pkgeval/.julia/packages/SerialPorts/yXpKm/src/SerialPorts.jl:27
[5] _include_from_serialized(::String, ::Array{Any,1}) at ./loading.jl:697
[6] _require_from_serialized(::String) at ./loading.jl:748
[7] _require(::Base.PkgId) at ./loading.jl:1039
[8] require(::Base.PkgId) at ./loading.jl:927
[9] require(::Module, ::Symbol) at ./loading.jl:922
[10] include(::String) at ./client.jl:439
[11] top-level scope at none:6
during initialization of module SerialPorts
in expression starting at /home/pkgeval/.julia/packages/SerialPorts/yXpKm/test/runtests.jl:1
err = ProcessFailedException(Base.Process[Process(`/opt/julia/bin/julia -Cnative -J/opt/julia/lib/julia/sys.so -g1 --code-coverage=none --color=no --compiled-modules=yes --check-bounds=yes --inline=yes --startup-file=no --track-allocation=none --eval 'append!(empty!(Base.DEPOT_PATH), ["/home/pkgeval/.julia", "/opt/julia/local/share/julia", "/opt/julia/share/julia", "/usr/local/share/julia"])
append!(empty!(Base.DL_LOAD_PATH), String[])
cd("/home/pkgeval/.julia/packages/SerialPorts/yXpKm/test")
append!(empty!(ARGS), String[])
include("/home/pkgeval/.julia/packages/SerialPorts/yXpKm/test/runtests.jl")
'`, ProcessExited(1))])
ERROR: Package SerialPorts 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:54
[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:1471
[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:313
[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:300
[5] #test#66 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:294 [inlined]
[6] test at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:294 [inlined]
[7] #test#65 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:293 [inlined]
[8] test at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:293 [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:292
[10] test(::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:292
[11] top-level scope at none:13