-
Notifications
You must be signed in to change notification settings - Fork 5
/
1.5.0-DEV-ed177d17d6.log
198 lines (188 loc) · 9.75 KB
/
1.5.0-DEV-ed177d17d6.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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
Julia Version 1.5.0-DEV.158
Commit ed177d17d6 (2020-01-27 16:45 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 Parsers ──────────── v0.3.10
Installed Conda ────────────── v1.3.0
Installed OrderedCollections ─ v1.1.0
Installed Gym ──────────────── v1.1.3
Installed MacroTools ───────── v0.5.3
Installed PyCall ───────────── v1.91.2
Installed JSON ─────────────── v0.21.0
Installed DataStructures ───── v0.17.9
Installed VersionParsing ───── v1.2.0
Updating `~/.julia/environments/v1.5/Project.toml`
[b0807396] + Gym v1.1.3
Updating `~/.julia/environments/v1.5/Manifest.toml`
[8f4d0f93] + Conda v1.3.0
[864edb3b] + DataStructures v0.17.9
[b0807396] + Gym v1.1.3
[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
[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_7D8JQj/Project.toml`
[no changes]
Updating `/tmp/jl_7D8JQj/Manifest.toml`
[no changes]
Building PyCall → `~/.julia/packages/PyCall/ttONZ/deps/build.log`
Updating `/tmp/jl_E9tVED/Project.toml`
[no changes]
Updating `/tmp/jl_E9tVED/Manifest.toml`
[no changes]
Building Gym ───→ `~/.julia/packages/Gym/QZ2GY/deps/build.log`
Updating `/tmp/jl_1MSndq/Project.toml`
[no changes]
Updating `/tmp/jl_1MSndq/Manifest.toml`
[no changes]
┌ Error: Error building `Gym`:
│ Cloning into 'gym'...
│ ┌ Warning: Parsing command "pip install --user -e .[$env]". Special characters "#{}()[]<>|&*?~;" should now be quoted in commands
│ │ caller = shell_parse(::String, ::Bool; special::String) at shell.jl:107
│ └ @ Base ./shell.jl:107
│ [ Info: Downloading OpenAi gym
│ [ Info: Installing OpenAi gym
│ ERROR: LoadError: IOError: could not spawn `pip install --user -e .`: no such file or directory (ENOENT)
│ Stacktrace:
│ [1] _spawn_primitive(::String, ::Cmd, ::Array{Any,1}) at ./process.jl:99
│ [2] #551 at ./process.jl:112 [inlined]
│ [3] setup_stdios(::Base.var"#551#552"{Cmd}, ::Array{Any,1}) at ./process.jl:196
│ [4] _spawn at ./process.jl:111 [inlined]
│ [5] run(::Cmd; wait::Bool) at ./process.jl:439
│ [6] run at ./process.jl:438 [inlined]
│ [7] install_envs() at /home/pkgeval/.julia/packages/Gym/QZ2GY/deps/build.jl:10
│ [8] top-level scope at /home/pkgeval/.julia/packages/Gym/QZ2GY/deps/build.jl:46
│ [9] include(::String) at ./client.jl:439
│ [10] top-level scope at none:5
│ in expression starting at /home/pkgeval/.julia/packages/Gym/QZ2GY/deps/build.jl:31
│ caused by [exception 1]
│ PyError (PyImport_ImportModule
│
│ The Python package gym could not be found by pyimport. Usually this means
│ that you did not install gym 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 gym 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 gym module, you can use `pyimport_conda("gym", PKG)`,
│ where PKG is the Anaconda package the contains the module gym,
│ or alternatively you can use the Conda package directly (via
│ `using Conda` followed by `Conda.add` etcetera).
│
│ ) <class 'ModuleNotFoundError'>
│ ModuleNotFoundError("No module named 'gym'",)
│
│ Stacktrace:
│ [1] pyimport(::String) at /home/pkgeval/.julia/packages/PyCall/ttONZ/src/PyCall.jl:544
│ [2] top-level scope at /home/pkgeval/.julia/packages/Gym/QZ2GY/deps/build.jl:33
│ [3] include(::String) at ./client.jl:439
│ [4] top-level scope at none:5
└ @ Pkg.Operations /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Pkg/src/Operations.jl:883
Testing Gym
Updating `/tmp/jl_6LovwX/Project.toml`
[no changes]
Updating `/tmp/jl_6LovwX/Manifest.toml`
[no changes]
Running sandbox
Status `/tmp/jl_6LovwX/Project.toml`
[b0807396] Gym v1.1.3
[438e738f] PyCall v1.91.2
[8dfed614] Test
ERROR: LoadError: InitError: PyError (PyImport_ImportModule
The Python package gym could not be found by pyimport. Usually this means
that you did not install gym 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 gym 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 gym module, you can use `pyimport_conda("gym", PKG)`,
where PKG is the Anaconda package the contains the module gym,
or alternatively you can use the Conda package directly (via
`using Conda` followed by `Conda.add` etcetera).
) <class 'ModuleNotFoundError'>
ModuleNotFoundError("No module named 'gym'",)
Stacktrace:
[1] pyimport(::String) at /home/pkgeval/.julia/packages/PyCall/ttONZ/src/PyCall.jl:544
[2] __init__() at /home/pkgeval/.julia/packages/Gym/QZ2GY/src/Gym.jl:10
[3] _include_from_serialized(::String, ::Array{Any,1}) at ./loading.jl:697
[4] _require_from_serialized(::String) at ./loading.jl:748
[5] _require(::Base.PkgId) at ./loading.jl:1039
[6] require(::Base.PkgId) at ./loading.jl:927
[7] require(::Module, ::Symbol) at ./loading.jl:922
[8] include(::String) at ./client.jl:439
[9] top-level scope at none:6
during initialization of module Gym
in expression starting at /home/pkgeval/.julia/packages/Gym/QZ2GY/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/Gym/QZ2GY/test")
append!(empty!(ARGS), String[])
include("/home/pkgeval/.julia/packages/Gym/QZ2GY/test/runtests.jl")
'`, ProcessExited(1))])
ERROR: Package Gym 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