-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path1.5.0-DEV-c9805191e3.log
186 lines (177 loc) · 8.8 KB
/
1.5.0-DEV-c9805191e3.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
Julia Version 1.5.0-DEV.570
Commit c9805191e3 (2020-04-04 00:18 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 Gym ──────────── v1.1.3
Installed Parsers ──────── v1.0.1
Installed Conda ────────── v1.4.1
Installed MacroTools ───── v0.5.5
Installed PyCall ───────── v1.91.4
Installed JSON ─────────── v0.21.0
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.4.1
b0807396 + Gym v1.1.3
682c06a0 + JSON v0.21.0
1914dd2f + MacroTools v0.5.5
69de0a69 + Parsers v1.0.1
438e738f + PyCall v1.91.4
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`
Building Gym ───→ `~/.julia/packages/Gym/QZ2GY/deps/build.log`
┌ 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] #564 at ./process.jl:112 [inlined]
│ [3] setup_stdios(::Base.var"#564#565"{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:441
│ [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/zqDXB/src/PyCall.jl:536
│ [2] top-level scope at /home/pkgeval/.julia/packages/Gym/QZ2GY/deps/build.jl:33
│ [3] include(::String) at ./client.jl:441
│ [4] top-level scope at none:5
└ @ Pkg.Operations /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Pkg/src/Operations.jl:912
Testing Gym
Status `/tmp/jl_AZkgCi/Project.toml`
b0807396 Gym v1.1.3
438e738f PyCall v1.91.4
8dfed614 Test
Status `/tmp/jl_AZkgCi/Manifest.toml`
8f4d0f93 Conda v1.4.1
b0807396 Gym v1.1.3
682c06a0 JSON v0.21.0
1914dd2f MacroTools v0.5.5
69de0a69 Parsers v1.0.1
438e738f PyCall v1.91.4
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 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/zqDXB/src/PyCall.jl:536
[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:441
[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
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: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:16