-
Notifications
You must be signed in to change notification settings - Fork 5
/
1.5.0-DEV-4085873ec6.log
137 lines (128 loc) · 6.38 KB
/
1.5.0-DEV-4085873ec6.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
Julia Version 1.5.0-DEV.431
Commit 4085873ec6 (2020-03-10 23:48 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 SerialPorts ──────── v0.2.1
Installed Parsers ──────────── v0.3.12
Installed PyCall ───────────── v1.91.4
Installed JSON ─────────────── v0.21.0
Installed VersionParsing ───── v1.2.0
Installed Conda ────────────── v1.4.1
Installed OrderedCollections ─ v1.1.0
Installed MacroTools ───────── v0.5.4
Installed DataStructures ───── v0.17.10
Updating `~/.julia/environments/v1.5/Project.toml`
5d0f9de7 + SerialPorts v0.2.1
Updating `~/.julia/environments/v1.5/Manifest.toml`
8f4d0f93 + Conda v1.4.1
864edb3b + DataStructures v0.17.10
682c06a0 + JSON v0.21.0
1914dd2f + MacroTools v0.5.4
bac558e1 + OrderedCollections v1.1.0
69de0a69 + Parsers v0.3.12
438e738f + PyCall v1.91.4
5d0f9de7 + SerialPorts v0.2.1
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
8dfed614 + Test
4ec0a83e + Unicode
Building Conda ─→ `~/.julia/packages/Conda/3rPhK/deps/build.log`
Building PyCall → `~/.julia/packages/PyCall/zqDXB/deps/build.log`
Testing SerialPorts
Status `/tmp/jl_ZtDp0x/Project.toml`
438e738f PyCall v1.91.4
5d0f9de7 SerialPorts v0.2.1
8dfed614 Test
Status `/tmp/jl_ZtDp0x/Manifest.toml`
8f4d0f93 Conda v1.4.1
864edb3b DataStructures v0.17.10
682c06a0 JSON v0.21.0
1914dd2f MacroTools v0.5.4
bac558e1 OrderedCollections v1.1.0
69de0a69 Parsers v0.3.12
438e738f PyCall v1.91.4
5d0f9de7 SerialPorts v0.2.1
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
8dfed614 Test
4ec0a83e Unicode
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/zqDXB/src/PyCall.jl:536
[2] pyimport_conda(::String, ::String, ::String) at /home/pkgeval/.julia/packages/PyCall/zqDXB/src/PyCall.jl:694
[3] pyimport_conda at /home/pkgeval/.julia/packages/PyCall/zqDXB/src/PyCall.jl:693 [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:441
[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
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: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:1523
[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