pkg_resources.ContextualVersionConflict: (Pillow 6.0.0 (c:\python\python36\lib\site-packages), Requirement.parse('Pillow<=5.4.1,>=4.2.1'), {'mlagents-envs'})
Python 2019. 5. 18. 00:18
https://github.com/Unity-Technologies/ml-agents/issues/1939
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
|
(base) C:\Users\smile>activate ml-agents
(ml-agents) C:\Users\smile>mlagent-learn --help
'mlagent-learn'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는
배치 파일이 아닙니다.
(ml-agents) C:\Users\smile>d:
(ml-agents) D:\>cd workspace
(ml-agents) D:\workspace>cd unity
(ml-agents) D:\workspace\unity>cd git
(ml-agents) D:\workspace\unity\git>cd ml-agents
(ml-agents) D:\workspace\unity\git\ml-agents>cd ml-agents
(ml-agents) D:\workspace\unity\git\ml-agents\ml-agents>dir
D 드라이브의 볼륨: 새 볼륨
볼륨 일련 번호: E294-BC0E
D:\workspace\unity\git\ml-agents\ml-agents 디렉터리
2019-05-17 오후 10:56
.
2019-05-17 오후 10:56
..
2019-05-17 오후 10:18
mlagents
2019-05-18 오전 12:03
mlagents.egg-info
2개 파일 2,822 바이트
4개 디렉터리 1,496,122,159,104 바이트 남음
(ml-agents) D:\workspace\unity\git\ml-agents\ml-agents>mlagents --help
'mlagents'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는
배치 파일이 아닙니다.
(ml-agents) D:\workspace\unity\git\ml-agents\ml-agents>mlagents-learn --help
Traceback (most recent call last):
ws.require(__requires__)
needed = self.resolve(parse_requirements(requirements))
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (Pillow 6.0.0 (c:\python\python36\lib\site-packages), Requirement.parse('Pillow<=5.4.1,>=4.2.1'), {'mlagents-envs'})
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
from pkg_resources import load_entry_point
@_call_aside
f(*args, **kwargs)
File "c:\python\python36\lib\site-packages\pkg_resources\__init__.py", line 3139, in _initialize_master_working_set
working_set = WorkingSet._build_master()
return cls._build_from_requirements(__requires__)
File "c:\python\python36\lib\site-packages\pkg_resources\__init__.py", line 596, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (Pillow 6.0.0 (c:\python\python36\lib\site-packages), Requirement.parse('Pillow<=5.4.1,>=4.2.1'), {'mlagents-envs'})
(ml-agents) D:\workspace\unity\git\ml-agents\ml-agents>pip3 uninstall pillow==6.0.0
Uninstalling Pillow-6.0.0:
Would remove:
c:\python\python36\lib\site-packages\pil\*
c:\python\python36\lib\site-packages\pillow-6.0.0.dist-info\*
Proceed (y/n)? y
Successfully uninstalled Pillow-6.0.0
(ml-agents) D:\workspace\unity\git\ml-agents\ml-agents>pip3 install pillow==5.0.0
Collecting pillow==5.0.0
Downloading https://files.pythonhosted.org/packages/00/43/e27783aad62ef61d1ec296ca1c14699a1dd713642a043a7de8b3e4b6feea/Pillow-5.0.0-cp36-cp36m-win_amd64.whl (1.6MB)
|████████████████████████████████| 1.6MB 939kB/s
Installing collected packages: pillow
Successfully installed pillow-5.0.0
(ml-agents) D:\workspace\unity\git\ml-agents\ml-agents>mlagents-learn --help
▄▄▄▓▓▓▓
╓▓▓▓▓▓▓█▓▓▓▓▓
,▄▄▄m▀▀▀' ,▓▓▓▀▓▓▄ ▓▓▓ ▓▓▌
▄▓▓▓▀' ▄▓▓▀ ▓▓▓ ▄▄ ▄▄ ,▄▄ ▄▄▄▄ ,▄▄ ▄▓▓▌▄ ▄▄▄ ,▄▄
▄▓▓▓▀ ▄▓▓▀ ▐▓▓▌ ▓▓▌ ▐▓▓ ▐▓▓▓▀▀▀▓▓▌ ▓▓▓ ▀▓▓▌▀ ^▓▓▌ ╒▓▓▌
▄▓▓▓▓▓▄▄▄▄▄▄▄▄▓▓▓ ▓▀ ▓▓▌ ▐▓▓ ▐▓▓ ▓▓▓ ▓▓▓ ▓▓▌ ▐▓▓▄ ▓▓▌
▀▓▓▓▓▀▀▀▀▀▀▀▀▀▀▓▓▄ ▓▓ ▓▓▌ ▐▓▓ ▐▓▓ ▓▓▓ ▓▓▓ ▓▓▌ ▐▓▓▐▓▓
^█▓▓▓ ▀▓▓▄ ▐▓▓▌ ▓▓▓▓▄▓▓▓▓ ▐▓▓ ▓▓▓ ▓▓▓ ▓▓▓▄ ▓▓▓▓`
'▀▓▓▓▄ ^▓▓▓ ▓▓▓ └▀▀▀▀ ▀▀ ^▀▀ `▀▀ `▀▀ '▀▀ ▐▓▓▌
▀▀▀▀▓▄▄▄ ▓▓▓▓▓▓, ▓▓▓▓▀
`▀█▓▓▓▓▓▓▓▓▓▌
¬`▀▀▀█▓
Usage:
mlagents-learn [options]
mlagents-learn --help
Options:
--env= Name of the Unity executable [default: None].
--curriculum= Curriculum json directory for environment [default: None].
--keep-checkpoints= How many model checkpoints to keep [default: 5].
--lesson= Start learning from this lesson [default: 0].
--load Whether to load the model or randomly initialize [default: False].
--run-id= The directory name for model and summary statistics [default: ppo].
--num-runs= Number of concurrent training sessions [default: 1].
--save-freq= Frequency at which to save model [default: 50000].
--seed= Random seed used for training [default: -1].
--slow Whether to run the game at training speed [default: False].
--train Whether to train model, or only run inference [default: False].
--base-port= Base port for environment communication [default: 5005].
--num-envs= Number of parallel environments to use for training [default: 1]
--docker-target-name= Docker volume to store training-specific files [default: None].
--no-graphics Whether to run the environment in no-graphics mode [default: False].
--debug Whether to run ML-Agents in debug mode with detailed logging [default: False].
(ml-agents) D:\workspace\unity\git\ml-agents\ml-agents>
|
'Python ' 카테고리의 다른 글
mac python 여러버전 (0) | 2022.11.28 |
---|---|
특수문자 (0) | 2019.06.12 |
python 설치 (windows 10) (0) | 2019.01.21 |