logo
Menu

Issue with codewhisperer installation for jupyter lab

Unable to install codewhisperer for jupyter lab

Published Mar 8, 2024
Hi there I'm trying to install codewhisperer for Jupyter Lab on a Windows machine within a conda environment, but facing issue with the installation. Can you please help me on this . I'm attaching logs with this post.
Logs:
1
2
3
4
5
6
7
8
9
10
11
(tensorflow) C:\Users\Rajib>pip show jupyterlab
Name: jupyterlab
Version: 3.6.7
Summary: JupyterLab computational environment
Home-page: https://jupyter.org
Author: Jupyter Development Team
Author-email: jupyter@googlegroups.com
License:
Location: c:\users\rajib\miniconda3\envs\tensorflow\lib\site-packages
Requires: ipython, jinja2, jupyter-core, jupyter-server, jupyter-server-ydoc, jupyter-ydoc, jupyterlab-server, nbclassic, notebook, packaging, tomli, tornado
Required-by: jupyterlab-drawio, jupyterlab-spellchecker
------------------------------------------------------------------------------------------------------------------
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
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
(tensorflow) C:\Users\Rajib>pip install amazon-codewhisperer-jupyterlab-ext~=1.0
Collecting amazon-codewhisperer-jupyterlab-ext~=1.0
Downloading amazon-codewhisperer-jupyterlab-ext-1.0.11.tar.gz (178 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 178.2/178.2 kB 597.6 kB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting boto3 (from amazon-codewhisperer-jupyterlab-ext~=1.0)
Using cached boto3-1.34.58-py3-none-any.whl.metadata (6.6 kB)
Collecting botocore (from amazon-codewhisperer-jupyterlab-ext~=1.0)
Using cached botocore-1.34.58-py3-none-any.whl.metadata (5.7 kB)
Collecting aiobotocore (from amazon-codewhisperer-jupyterlab-ext~=1.0)
Using cached aiobotocore-2.12.1-py3-none-any.whl.metadata (21 kB)
Collecting botocore (from amazon-codewhisperer-jupyterlab-ext~=1.0)
Using cached botocore-1.34.51-py3-none-any.whl.metadata (5.7 kB)
Collecting aiohttp<4.0.0,>=3.7.4.post0 (from aiobotocore->amazon-codewhisperer-jupyterlab-ext~=1.0)
Using cached aiohttp-3.9.3-cp310-cp310-win_amd64.whl.metadata (7.6 kB)
Requirement already satisfied: wrapt<2.0.0,>=1.10.10 in c:\users\rajib\miniconda3\envs\tensorflow\lib\site-packages (from aiobotocore->amazon-codewhisperer-jupyterlab-ext~=1.0) (1.14.1)
Collecting aioitertools<1.0.0,>=0.5.1 (from aiobotocore->amazon-codewhisperer-jupyterlab-ext~=1.0)
Using cached aioitertools-0.11.0-py3-none-any.whl.metadata (3.3 kB)
Collecting jmespath<2.0.0,>=0.7.1 (from botocore->amazon-codewhisperer-jupyterlab-ext~=1.0)
Using cached jmespath-1.0.1-py3-none-any.whl.metadata (7.6 kB)
Requirement already satisfied: python-dateutil<3.0.0,>=2.1 in c:\users\rajib\miniconda3\envs\tensorflow\lib\site-packages (from botocore->amazon-codewhisperer-jupyterlab-ext~=1.0) (2.8.2)
Collecting urllib3<2.1,>=1.25.4 (from botocore->amazon-codewhisperer-jupyterlab-ext~=1.0)
Using cached urllib3-2.0.7-py3-none-any.whl.metadata (6.6 kB)
INFO: pip is looking at multiple versions of boto3 to determine which version is compatible with other requirements. This could take a while.
Collecting boto3 (from amazon-codewhisperer-jupyterlab-ext~=1.0)
Using cached boto3-1.34.57-py3-none-any.whl.metadata (6.6 kB)
Using cached boto3-1.34.56-py3-none-any.whl.metadata (6.6 kB)
Using cached boto3-1.34.55-py3-none-any.whl.metadata (6.6 kB)
Using cached boto3-1.34.54-py3-none-any.whl.metadata (6.6 kB)
Using cached boto3-1.34.53-py3-none-any.whl.metadata (6.6 kB)
Using cached boto3-1.34.52-py3-none-any.whl.metadata (6.6 kB)
Using cached boto3-1.34.51-py3-none-any.whl.metadata (6.6 kB)
Collecting s3transfer<0.11.0,>=0.10.0 (from boto3->amazon-codewhisperer-jupyterlab-ext~=1.0)
Using cached s3transfer-0.10.0-py3-none-any.whl.metadata (1.7 kB)
Collecting aiosignal>=1.1.2 (from aiohttp<4.0.0,>=3.7.4.post0->aiobotocore->amazon-codewhisperer-jupyterlab-ext~=1.0)
Using cached aiosignal-1.3.1-py3-none-any.whl.metadata (4.0 kB)
Requirement already satisfied: attrs>=17.3.0 in c:\users\rajib\miniconda3\envs\tensorflow\lib\site-packages (from aiohttp<4.0.0,>=3.7.4.post0->aiobotocore->amazon-codewhisperer-jupyterlab-ext~=1.0) (23.1.0)
Collecting frozenlist>=1.1.1 (from aiohttp<4.0.0,>=3.7.4.post0->aiobotocore->amazon-codewhisperer-jupyterlab-ext~=1.0)
Using cached frozenlist-1.4.1-cp310-cp310-win_amd64.whl.metadata (12 kB)
Collecting multidict<7.0,>=4.5 (from aiohttp<4.0.0,>=3.7.4.post0->aiobotocore->amazon-codewhisperer-jupyterlab-ext~=1.0)
Using cached multidict-6.0.5-cp310-cp310-win_amd64.whl.metadata (4.3 kB)
Collecting yarl<2.0,>=1.0 (from aiohttp<4.0.0,>=3.7.4.post0->aiobotocore->amazon-codewhisperer-jupyterlab-ext~=1.0)
Using cached yarl-1.9.4-cp310-cp310-win_amd64.whl.metadata (32 kB)
Collecting async-timeout<5.0,>=4.0 (from aiohttp<4.0.0,>=3.7.4.post0->aiobotocore->amazon-codewhisperer-jupyterlab-ext~=1.0)
Using cached async_timeout-4.0.3-py3-none-any.whl.metadata (4.2 kB)
Requirement already satisfied: six>=1.5 in c:\users\rajib\miniconda3\envs\tensorflow\lib\site-packages (from python-dateutil<3.0.0,>=2.1->botocore->amazon-codewhisperer-jupyterlab-ext~=1.0) (1.16.0)
Requirement already satisfied: idna>=2.0 in c:\users\rajib\miniconda3\envs\tensorflow\lib\site-packages (from yarl<2.0,>=1.0->aiohttp<4.0.0,>=3.7.4.post0->aiobotocore->amazon-codewhisperer-jupyterlab-ext~=1.0) (3.4)
Using cached aiobotocore-2.12.1-py3-none-any.whl (76 kB)
Using cached botocore-1.34.51-py3-none-any.whl (12.0 MB)
Using cached boto3-1.34.51-py3-none-any.whl (139 kB)
Using cached aiohttp-3.9.3-cp310-cp310-win_amd64.whl (365 kB)
Using cached aioitertools-0.11.0-py3-none-any.whl (23 kB)
Using cached jmespath-1.0.1-py3-none-any.whl (20 kB)
Using cached s3transfer-0.10.0-py3-none-any.whl (82 kB)
Using cached urllib3-2.0.7-py3-none-any.whl (124 kB)
Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Using cached async_timeout-4.0.3-py3-none-any.whl (5.7 kB)
Using cached frozenlist-1.4.1-cp310-cp310-win_amd64.whl (50 kB)
Using cached multidict-6.0.5-cp310-cp310-win_amd64.whl (28 kB)
Using cached yarl-1.9.4-cp310-cp310-win_amd64.whl (76 kB)
Building wheels for collected packages: amazon-codewhisperer-jupyterlab-ext
Building wheel for amazon-codewhisperer-jupyterlab-ext (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for amazon-codewhisperer-jupyterlab-ext (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [403 lines of output]
running bdist_wheel
running ensure_targets
running build
running build_py
creating build
creating build\lib
creating build\lib\amazon_codewhisperer_jupyterlab_ext
copying amazon_codewhisperer_jupyterlab_ext\constants.py -> build\lib\amazon_codewhisperer_jupyterlab_ext
copying amazon_codewhisperer_jupyterlab_ext\handlers.py -> build\lib\amazon_codewhisperer_jupyterlab_ext
copying amazon_codewhisperer_jupyterlab_ext\utils.py -> build\lib\amazon_codewhisperer_jupyterlab_ext
copying amazon_codewhisperer_jupyterlab_ext\_version.py -> build\lib\amazon_codewhisperer_jupyterlab_ext
copying amazon_codewhisperer_jupyterlab_ext\__init__.py -> build\lib\amazon_codewhisperer_jupyterlab_ext
creating build\lib\amazon_codewhisperer_jupyterlab_ext\auth
copying amazon_codewhisperer_jupyterlab_ext\auth\sso_auth_manager.py -> build\lib\amazon_codewhisperer_jupyterlab_ext\auth
copying amazon_codewhisperer_jupyterlab_ext\auth\__init__.py -> build\lib\amazon_codewhisperer_jupyterlab_ext\auth
creating build\lib\amazon_codewhisperer_jupyterlab_ext\client
copying amazon_codewhisperer_jupyterlab_ext\client\__init__.py -> build\lib\amazon_codewhisperer_jupyterlab_ext\client
creating build\lib\amazon_codewhisperer_jupyterlab_ext\env
copying amazon_codewhisperer_jupyterlab_ext\env\environment.py -> build\lib\amazon_codewhisperer_jupyterlab_ext\env
copying amazon_codewhisperer_jupyterlab_ext\env\__init__.py -> build\lib\amazon_codewhisperer_jupyterlab_ext\env
creating build\lib\amazon_codewhisperer_jupyterlab_ext\validator
copying amazon_codewhisperer_jupyterlab_ext\validator\validator.py -> build\lib\amazon_codewhisperer_jupyterlab_ext\validator
copying amazon_codewhisperer_jupyterlab_ext\validator\__init__.py -> build\lib\amazon_codewhisperer_jupyterlab_ext\validator
creating build\lib\amazon_codewhisperer_jupyterlab_ext\client\codewhisperer
copying amazon_codewhisperer_jupyterlab_ext\client\codewhisperer\client_manager.py -> build\lib\amazon_codewhisperer_jupyterlab_ext\client\codewhisperer
copying amazon_codewhisperer_jupyterlab_ext\client\codewhisperer\iam_client_manager.py -> build\lib\amazon_codewhisperer_jupyterlab_ext\client\codewhisperer
copying amazon_codewhisperer_jupyterlab_ext\client\codewhisperer\iam_client_manager_emr_studio.py -> build\lib\amazon_codewhisperer_jupyterlab_ext\client\codewhisperer
copying amazon_codewhisperer_jupyterlab_ext\client\codewhisperer\sso_client_manager.py -> build\lib\amazon_codewhisperer_jupyterlab_ext\client\codewhisperer
copying amazon_codewhisperer_jupyterlab_ext\client\codewhisperer\__init__.py -> build\lib\amazon_codewhisperer_jupyterlab_ext\client\codewhisperer
creating build\lib\amazon_codewhisperer_jupyterlab_ext\client\telemetry
copying amazon_codewhisperer_jupyterlab_ext\client\telemetry\telemetry.py -> build\lib\amazon_codewhisperer_jupyterlab_ext\client\telemetry
copying amazon_codewhisperer_jupyterlab_ext\client\telemetry\__init__.py -> build\lib\amazon_codewhisperer_jupyterlab_ext\client\telemetry
running egg_info
writing amazon_codewhisperer_jupyterlab_ext.egg-info\PKG-INFO
writing dependency_links to amazon_codewhisperer_jupyterlab_ext.egg-info\dependency_links.txt
writing requirements to amazon_codewhisperer_jupyterlab_ext.egg-info\requires.txt
writing top-level names to amazon_codewhisperer_jupyterlab_ext.egg-info\top_level.txt
reading manifest file 'amazon_codewhisperer_jupyterlab_ext.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching '**\node_modules'
no previously-included directories found matching 'lib'
warning: no previously-included files matching '*~' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyo' found anywhere in distribution
warning: no previously-included files matching '.git' found anywhere in distribution
warning: no previously-included files matching '.ipynb_checkpoints' found anywhere in distribution
adding license file 'LICENSE'
adding license file 'NOTICE'
writing manifest file 'amazon_codewhisperer_jupyterlab_ext.egg-info\SOURCES.txt'
C:\Users\Rajib\AppData\Local\Temp\pip-build-env-ta_2x0yl\overlay\Lib\site-packages\setuptools\command\build_py.py:207: _Warning: Package 'amazon_codewhisperer_jupyterlab_ext.client.service_models.bearer' is absent from the `packages` configuration.
!!

********************************************************************************
############################
# Package would be ignored #
############################
Python recognizes 'amazon_codewhisperer_jupyterlab_ext.client.service_models.bearer' as an importable package[^1],
but it is absent from setuptools' `packages` configuration.

This leads to an ambiguous overall configuration. If you want to distribute this
package, please make sure that 'amazon_codewhisperer_jupyterlab_ext.client.service_models.bearer' is explicitly added
to the `packages` configuration field.

Alternatively, you can also rely on setuptools' discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).

You can read more about "package discovery" on setuptools documentation page:

- https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

If you don't want 'amazon_codewhisperer_jupyterlab_ext.client.service_models.bearer' to be distributed and are
already explicitly excluding 'amazon_codewhisperer_jupyterlab_ext.client.service_models.bearer' via
`find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
you can try to use `exclude_package_data`, or `include-package-data=False` in
combination with a more fine grained `package-data` configuration.

You can read more about "package data files" on setuptools documentation page:

- https://setuptools.pypa.io/en/latest/userguide/datafiles.html

[^1]: For Python, any directory (with suitable naming) can be imported,
even if it does not contain any `.py` files.
On the other hand, currently there is no concept of package data
directory, all directories are treated like packages.
********************************************************************************

!!
check.warn(importable)
C:\Users\Rajib\AppData\Local\Temp\pip-build-env-ta_2x0yl\overlay\Lib\site-packages\setuptools\command\build_py.py:207: _Warning: Package 'amazon_codewhisperer_jupyterlab_ext.client.service_models.sigv4' is absent from the `packages` configuration.
!!

********************************************************************************
############################
# Package would be ignored #
############################
Python recognizes 'amazon_codewhisperer_jupyterlab_ext.client.service_models.sigv4' as an importable package[^1],
but it is absent from setuptools' `packages` configuration.

This leads to an ambiguous overall configuration. If you want to distribute this
package, please make sure that 'amazon_codewhisperer_jupyterlab_ext.client.service_models.sigv4' is explicitly added
to the `packages` configuration field.

Alternatively, you can also rely on setuptools' discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).

You can read more about "package discovery" on setuptools documentation page:

- https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

If you don't want 'amazon_codewhisperer_jupyterlab_ext.client.service_models.sigv4' to be distributed and are
already explicitly excluding 'amazon_codewhisperer_jupyterlab_ext.client.service_models.sigv4' via
`find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
you can try to use `exclude_package_data`, or `include-package-data=False` in
combination with a more fine grained `package-data` configuration.

You can read more about "package data files" on setuptools documentation page:

- https://setuptools.pypa.io/en/latest/userguide/datafiles.html

[^1]: For Python, any directory (with suitable naming) can be imported,
even if it does not contain any `.py` files.
On the other hand, currently there is no concept of package data
directory, all directories are treated like packages.
********************************************************************************

!!
check.warn(importable)
C:\Users\Rajib\AppData\Local\Temp\pip-build-env-ta_2x0yl\overlay\Lib\site-packages\setuptools\command\build_py.py:207: _Warning: Package 'amazon_codewhisperer_jupyterlab_ext.client.service_models.telemetry' is absent from the `packages` configuration.
!!

********************************************************************************
############################
# Package would be ignored #
############################
Python recognizes 'amazon_codewhisperer_jupyterlab_ext.client.service_models.telemetry' as an importable package[^1],
but it is absent from setuptools' `packages` configuration.

This leads to an ambiguous overall configuration. If you want to distribute this
package, please make sure that 'amazon_codewhisperer_jupyterlab_ext.client.service_models.telemetry' is explicitly added
to the `packages` configuration field.

Alternatively, you can also rely on setuptools' discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).

You can read more about "package discovery" on setuptools documentation page:

- https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

If you don't want 'amazon_codewhisperer_jupyterlab_ext.client.service_models.telemetry' to be distributed and are
already explicitly excluding 'amazon_codewhisperer_jupyterlab_ext.client.service_models.telemetry' via
`find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
you can try to use `exclude_package_data`, or `include-package-data=False` in
combination with a more fine grained `package-data` configuration.

You can read more about "package data files" on setuptools documentation page:

- https://setuptools.pypa.io/en/latest/userguide/datafiles.html

[^1]: For Python, any directory (with suitable naming) can be imported,
even if it does not contain any `.py` files.
On the other hand, currently there is no concept of package data
directory, all directories are treated like packages.
********************************************************************************

!!
check.warn(importable)
C:\Users\Rajib\AppData\Local\Temp\pip-build-env-ta_2x0yl\overlay\Lib\site-packages\setuptools\command\build_py.py:207: _Warning: Package 'amazon_codewhisperer_jupyterlab_ext.labextension' is absent from the `packages` configuration.
!!

********************************************************************************
############################
# Package would be ignored #
############################
Python recognizes 'amazon_codewhisperer_jupyterlab_ext.labextension' as an importable package[^1],
but it is absent from setuptools' `packages` configuration.

This leads to an ambiguous overall configuration. If you want to distribute this
package, please make sure that 'amazon_codewhisperer_jupyterlab_ext.labextension' is explicitly added
to the `packages` configuration field.

Alternatively, you can also rely on setuptools' discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).

You can read more about "package discovery" on setuptools documentation page:

- https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

If you don't want 'amazon_codewhisperer_jupyterlab_ext.labextension' to be distributed and are
already explicitly excluding 'amazon_codewhisperer_jupyterlab_ext.labextension' via
`find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
you can try to use `exclude_package_data`, or `include-package-data=False` in
combination with a more fine grained `package-data` configuration.

You can read more about "package data files" on setuptools documentation page:

- https://setuptools.pypa.io/en/latest/userguide/datafiles.html

[^1]: For Python, any directory (with suitable naming) can be imported,
even if it does not contain any `.py` files.
On the other hand, currently there is no concept of package data
directory, all directories are treated like packages.
********************************************************************************

!!
check.warn(importable)
C:\Users\Rajib\AppData\Local\Temp\pip-build-env-ta_2x0yl\overlay\Lib\site-packages\setuptools\command\build_py.py:207: _Warning: Package 'amazon_codewhisperer_jupyterlab_ext.labextension.schemas' is absent from the `packages` configuration.
!!

********************************************************************************
############################
# Package would be ignored #
############################
Python recognizes 'amazon_codewhisperer_jupyterlab_ext.labextension.schemas' as an importable package[^1],
but it is absent from setuptools' `packages` configuration.

This leads to an ambiguous overall configuration. If you want to distribute this
package, please make sure that 'amazon_codewhisperer_jupyterlab_ext.labextension.schemas' is explicitly added
to the `packages` configuration field.

Alternatively, you can also rely on setuptools' discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).

You can read more about "package discovery" on setuptools documentation page:

- https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

If you don't want 'amazon_codewhisperer_jupyterlab_ext.labextension.schemas' to be distributed and are
already explicitly excluding 'amazon_codewhisperer_jupyterlab_ext.labextension.schemas' via
`find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
you can try to use `exclude_package_data`, or `include-package-data=False` in
combination with a more fine grained `package-data` configuration.

You can read more about "package data files" on setuptools documentation page:

- https://setuptools.pypa.io/en/latest/userguide/datafiles.html

[^1]: For Python, any directory (with suitable naming) can be imported,
even if it does not contain any `.py` files.
On the other hand, currently there is no concept of package data
directory, all directories are treated like packages.
********************************************************************************

!!
check.warn(importable)
C:\Users\Rajib\AppData\Local\Temp\pip-build-env-ta_2x0yl\overlay\Lib\site-packages\setuptools\command\build_py.py:207: _Warning: Package 'amazon_codewhisperer_jupyterlab_ext.labextension.static' is absent from the `packages` configuration.
!!

********************************************************************************
############################
# Package would be ignored #
############################
Python recognizes 'amazon_codewhisperer_jupyterlab_ext.labextension.static' as an importable package[^1],
but it is absent from setuptools' `packages` configuration.

This leads to an ambiguous overall configuration. If you want to distribute this
package, please make sure that 'amazon_codewhisperer_jupyterlab_ext.labextension.static' is explicitly added
to the `packages` configuration field.

Alternatively, you can also rely on setuptools' discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).

You can read more about "package discovery" on setuptools documentation page:

- https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

If you don't want 'amazon_codewhisperer_jupyterlab_ext.labextension.static' to be distributed and are
already explicitly excluding 'amazon_codewhisperer_jupyterlab_ext.labextension.static' via
`find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
you can try to use `exclude_package_data`, or `include-package-data=False` in
combination with a more fine grained `package-data` configuration.

You can read more about "package data files" on setuptools documentation page:

- https://setuptools.pypa.io/en/latest/userguide/datafiles.html

[^1]: For Python, any directory (with suitable naming) can be imported,
even if it does not contain any `.py` files.
On the other hand, currently there is no concept of package data
directory, all directories are treated like packages.
********************************************************************************

!!
check.warn(importable)
C:\Users\Rajib\AppData\Local\Temp\pip-build-env-ta_2x0yl\overlay\Lib\site-packages\setuptools\command\build_py.py:207: _Warning: Package 'amazon_codewhisperer_jupyterlab_ext.validator.schemas' is absent from the `packages` configuration.
!!

********************************************************************************
############################
# Package would be ignored #
############################
Python recognizes 'amazon_codewhisperer_jupyterlab_ext.validator.schemas' as an importable package[^1],
but it is absent from setuptools' `packages` configuration.

This leads to an ambiguous overall configuration. If you want to distribute this
package, please make sure that 'amazon_codewhisperer_jupyterlab_ext.validator.schemas' is explicitly added
to the `packages` configuration field.

Alternatively, you can also rely on setuptools' discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).

You can read more about "package discovery" on setuptools documentation page:

- https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

If you don't want 'amazon_codewhisperer_jupyterlab_ext.validator.schemas' to be distributed and are
already explicitly excluding 'amazon_codewhisperer_jupyterlab_ext.validator.schemas' via
`find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
you can try to use `exclude_package_data`, or `include-package-data=False` in
combination with a more fine grained `package-data` configuration.

You can read more about "package data files" on setuptools documentation page:

- https://setuptools.pypa.io/en/latest/userguide/datafiles.html

[^1]: For Python, any directory (with suitable naming) can be imported,
even if it does not contain any `.py` files.
On the other hand, currently there is no concept of package data
directory, all directories are treated like packages.
********************************************************************************

!!
check.warn(importable)
creating build\lib\amazon_codewhisperer_jupyterlab_ext\labextension
copying amazon_codewhisperer_jupyterlab_ext\labextension\package.json -> build\lib\amazon_codewhisperer_jupyterlab_ext\labextension
creating build\lib\amazon_codewhisperer_jupyterlab_ext\labextension\schemas
creating build\lib\amazon_codewhisperer_jupyterlab_ext\labextension\schemas\amazon-codewhisperer-jupyterlab-ext
copying amazon_codewhisperer_jupyterlab_ext\labextension\schemas\amazon-codewhisperer-jupyterlab-ext\completer.json -> build\lib\amazon_codewhisperer_jupyterlab_ext\labextension\schemas\amazon-codewhisperer-jupyterlab-ext
copying amazon_codewhisperer_jupyterlab_ext\labextension\schemas\amazon-codewhisperer-jupyterlab-ext\package.json.orig -> build\lib\amazon_codewhisperer_jupyterlab_ext\labextension\schemas\amazon-codewhisperer-jupyterlab-ext
creating build\lib\amazon_codewhisperer_jupyterlab_ext\labextension\static
copying amazon_codewhisperer_jupyterlab_ext\labextension\static\568.c6f40661fc33181e38ed.js -> build\lib\amazon_codewhisperer_jupyterlab_ext\labextension\static
copying amazon_codewhisperer_jupyterlab_ext\labextension\static\568.c6f40661fc33181e38ed.js.LICENSE.txt -> build\lib\amazon_codewhisperer_jupyterlab_ext\labextension\static
copying amazon_codewhisperer_jupyterlab_ext\labextension\static\571.3582fd184eff1ff4b836.js -> build\lib\amazon_codewhisperer_jupyterlab_ext\labextension\static
copying amazon_codewhisperer_jupyterlab_ext\labextension\static\747.4a2fe27171322cd7b67e.js -> build\lib\amazon_codewhisperer_jupyterlab_ext\labextension\static
copying amazon_codewhisperer_jupyterlab_ext\labextension\static\remoteEntry.4c8b7728c6a2aa45347f.js -> build\lib\amazon_codewhisperer_jupyterlab_ext\labextension\static
copying amazon_codewhisperer_jupyterlab_ext\labextension\static\style.js -> build\lib\amazon_codewhisperer_jupyterlab_ext\labextension\static
copying amazon_codewhisperer_jupyterlab_ext\labextension\static\third-party-licenses.json -> build\lib\amazon_codewhisperer_jupyterlab_ext\labextension\static
creating build\lib\amazon_codewhisperer_jupyterlab_ext\client\service_models
creating build\lib\amazon_codewhisperer_jupyterlab_ext\client\service_models\bearer
creating build\lib\amazon_codewhisperer_jupyterlab_ext\client\service_models\bearer\2022-11-11
copying amazon_codewhisperer_jupyterlab_ext\client\service_models\bearer\2022-11-11\service-2.json -> build\lib\amazon_codewhisperer_jupyterlab_ext\client\service_models\bearer\2022-11-11
creating build\lib\amazon_codewhisperer_jupyterlab_ext\client\service_models\sigv4
creating build\lib\amazon_codewhisperer_jupyterlab_ext\client\service_models\sigv4\2022-06-15
copying amazon_codewhisperer_jupyterlab_ext\client\service_models\sigv4\2022-06-15\service-2.json -> build\lib\amazon_codewhisperer_jupyterlab_ext\client\service_models\sigv4\2022-06-15
creating build\lib\amazon_codewhisperer_jupyterlab_ext\client\service_models\telemetry
creating build\lib\amazon_codewhisperer_jupyterlab_ext\client\service_models\telemetry\2017-07-25
copying amazon_codewhisperer_jupyterlab_ext\client\service_models\telemetry\2017-07-25\service-2.json -> build\lib\amazon_codewhisperer_jupyterlab_ext\client\service_models\telemetry\2017-07-25
creating build\lib\amazon_codewhisperer_jupyterlab_ext\validator\schemas
copying amazon_codewhisperer_jupyterlab_ext\validator\schemas\generate_recommendations.json -> build\lib\amazon_codewhisperer_jupyterlab_ext\validator\schemas
installing to build\bdist.win-amd64\wheel
running install
running install_lib
creating build\bdist.win-amd64
creating build\bdist.win-amd64\wheel
creating build\bdist.win-amd64\wheel\amazon_codewhisperer_jupyterlab_ext
creating build\bdist.win-amd64\wheel\amazon_codewhisperer_jupyterlab_ext\auth
copying build\lib\amazon_codewhisperer_jupyterlab_ext\auth\sso_auth_manager.py -> build\bdist.win-amd64\wheel\.\amazon_codewhisperer_jupyterlab_ext\auth
copying build\lib\amazon_codewhisperer_jupyterlab_ext\auth\__init__.py -> build\bdist.win-amd64\wheel\.\amazon_codewhisperer_jupyterlab_ext\auth
creating build\bdist.win-amd64\wheel\amazon_codewhisperer_jupyterlab_ext\client
creating build\bdist.win-amd64\wheel\amazon_codewhisperer_jupyterlab_ext\client\codewhisperer
copying build\lib\amazon_codewhisperer_jupyterlab_ext\client\codewhisperer\client_manager.py -> build\bdist.win-amd64\wheel\.\amazon_codewhisperer_jupyterlab_ext\client\codewhisperer
copying build\lib\amazon_codewhisperer_jupyterlab_ext\client\codewhisperer\iam_client_manager.py -> build\bdist.win-amd64\wheel\.\amazon_codewhisperer_jupyterlab_ext\client\codewhisperer
copying build\lib\amazon_codewhisperer_jupyterlab_ext\client\codewhisperer\iam_client_manager_emr_studio.py -> build\bdist.win-amd64\wheel\.\amazon_codewhisperer_jupyterlab_ext\client\codewhisperer
copying build\lib\amazon_codewhisperer_jupyterlab_ext\client\codewhisperer\sso_client_manager.py -> build\bdist.win-amd64\wheel\.\amazon_codewhisperer_jupyterlab_ext\client\codewhisperer
copying build\lib\amazon_codewhisperer_jupyterlab_ext\client\codewhisperer\__init__.py -> build\bdist.win-amd64\wheel\.\amazon_codewhisperer_jupyterlab_ext\client\codewhisperer
creating build\bdist.win-amd64\wheel\amazon_codewhisperer_jupyterlab_ext\client\service_models
creating build\bdist.win-amd64\wheel\amazon_codewhisperer_jupyterlab_ext\client\service_models\bearer
creating build\bdist.win-amd64\wheel\amazon_codewhisperer_jupyterlab_ext\client\service_models\bearer\2022-11-11
copying build\lib\amazon_codewhisperer_jupyterlab_ext\client\service_models\bearer\2022-11-11\service-2.json -> build\bdist.win-amd64\wheel\.\amazon_codewhisperer_jupyterlab_ext\client\service_models\bearer\2022-11-11
creating build\bdist.win-amd64\wheel\amazon_codewhisperer_jupyterlab_ext\client\service_models\sigv4
creating build\bdist.win-amd64\wheel\amazon_codewhisperer_jupyterlab_ext\client\service_models\sigv4\2022-06-15
copying build\lib\amazon_codewhisperer_jupyterlab_ext\client\service_models\sigv4\2022-06-15\service-2.json -> build\bdist.win-amd64\wheel\.\amazon_codewhisperer_jupyterlab_ext\client\service_models\sigv4\2022-06-15
creating build\bdist.win-amd64\wheel\amazon_codewhisperer_jupyterlab_ext\client\service_models\telemetry
creating build\bdist.win-amd64\wheel\amazon_codewhisperer_jupyterlab_ext\client\service_models\telemetry\2017-07-25
copying build\lib\amazon_codewhisperer_jupyterlab_ext\client\service_models\telemetry\2017-07-25\service-2.json -> build\bdist.win-amd64\wheel\.\amazon_codewhisperer_jupyterlab_ext\client\service_models\telemetry\2017-07-25
creating build\bdist.win-amd64\wheel\amazon_codewhisperer_jupyterlab_ext\client\telemetry
copying build\lib\amazon_codewhisperer_jupyterlab_ext\client\telemetry\telemetry.py -> build\bdist.win-amd64\wheel\.\amazon_codewhisperer_jupyterlab_ext\client\telemetry
copying build\lib\amazon_codewhisperer_jupyterlab_ext\client\telemetry\__init__.py -> build\bdist.win-amd64\wheel\.\amazon_codewhisperer_jupyterlab_ext\client\telemetry
copying build\lib\amazon_codewhisperer_jupyterlab_ext\client\__init__.py -> build\bdist.win-amd64\wheel\.\amazon_codewhisperer_jupyterlab_ext\client
copying build\lib\amazon_codewhisperer_jupyterlab_ext\constants.py -> build\bdist.win-amd64\wheel\.\amazon_codewhisperer_jupyterlab_ext
creating build\bdist.win-amd64\wheel\amazon_codewhisperer_jupyterlab_ext\env
copying build\lib\amazon_codewhisperer_jupyterlab_ext\env\environment.py -> build\bdist.win-amd64\wheel\.\amazon_codewhisperer_jupyterlab_ext\env
copying build\lib\amazon_codewhisperer_jupyterlab_ext\env\__init__.py -> build\bdist.win-amd64\wheel\.\amazon_codewhisperer_jupyterlab_ext\env
copying build\lib\amazon_codewhisperer_jupyterlab_ext\handlers.py -> build\bdist.win-amd64\wheel\.\amazon_codewhisperer_jupyterlab_ext
creating build\bdist.win-amd64\wheel\amazon_codewhisperer_jupyterlab_ext\labextension
copying build\lib\amazon_codewhisperer_jupyterlab_ext\labextension\package.json -> build\bdist.win-amd64\wheel\.\amazon_codewhisperer_jupyterlab_ext\labextension
creating build\bdist.win-amd64\wheel\amazon_codewhisperer_jupyterlab_ext\labextension\schemas
creating build\bdist.win-amd64\wheel\amazon_codewhisperer_jupyterlab_ext\labextension\schemas\amazon-codewhisperer-jupyterlab-ext
copying build\lib\amazon_codewhisperer_jupyterlab_ext\labextension\schemas\amazon-codewhisperer-jupyterlab-ext\completer.json -> build\bdist.win-amd64\wheel\.\amazon_codewhisperer_jupyterlab_ext\labextension\schemas\amazon-codewhisperer-jupyterlab-ext
error: could not create 'build\bdist.win-amd64\wheel\.\amazon_codewhisperer_jupyterlab_ext\labextension\schemas\amazon-codewhisperer-jupyterlab-ext\completer.json': No such file or directory
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for amazon-codewhisperer-jupyterlab-ext
Failed to build amazon-codewhisperer-jupyterlab-ext
ERROR: Could not build wheels for amazon-codewhisperer-jupyterlab-ext, which is required to install pyproject.toml-based projects
 

Comments