C'était sûr
J'ai dis le retour dans son intégralité, je l'ai exprès précisé, un truc du style : pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10)
C'était sûr
J'ai dis le retour dans son intégralité, je l'ai exprès précisé, un truc du style : pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10)
merci beaucoup le retourj'ai le même problème depuis 5 mois avec keras module note found et je ne sais pas comment le réglerpip 24.0 from /Users/user/opt/anaconda3/lib/python3.8/site-packages/pip (python 3.8)
merci d'avance pour votre aide
Pas sûr que vous l'ayez vu, mais pip chez vous installe pour python 3.8 et non python 3.8.5
Ce qui veut dire que tout vos modules fonctionnent avec la version python 3.8.
Dans votre terminal, écrivez python puis appuyez deux fois sur la touche tab
Faîtes un screen du résultat et retournez le ici, je veux m'assurer que c'est bien 3.8 et pas 3.8.5
EDIT: ça devrait ressembler à ceci
![]()
Ok, exécute ton script python de cette manière :
en renommant bien sûr mon_script dans mon exemple.
Code : Sélectionner tout - Visualiser dans une fenêtre à part python3.8 mon_script.py
merci bcp mais rien ne changedans jupyterlab apres avoir installer tensorflow et keras avec pip j'ai toujours modulenotfound par contre dans le terminal
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 from tensorflow import keras # Chargement du jeu de données MNIST (X_train, y_train), (X_test, y_test) = keras.datasets.mnist.load_data() # Conversion en encodage one-hot Y_train = keras.utils.to_categorical(y_train, 10) Y_test = keras.utils.to_categorical(y_test, 10) # Redimensionnement des images 28x28 en vecteurs d=784 X_train = X_train.reshape(60000, 784) X_test = X_test.reshape(10000, 784) # Normalisation entre 0 et 1 X_train /= 255 X_test /= 255 from tensorflow.keras import Sequential model = Sequential() from tensorflow.keras.layers import Dense, Activation model.add(Dense(10, input_dim=784, name='fc1')) model.add(Activation('softmax')) model.summary()
quand j'execute python3.8 Untitled23.ipynb j'ai
Traceback (most recent call last):
File "Untitled23.ipynb", line 44, in <module>
"execution_count": null,
NameError: name 'null' is not defined
bref je ne comprends pas trop ce qu'il faut faire pour que ca marche sur mon mac
merci d'avance
ça change, déjà tu m'as pas dis que c'était sur jupyterlab, ce qui signifie que tu as peut-être installé jupyterlab sur un autre python, à tout hasard que donne le résultat de la commande !python --version.
À tout les coups, version différente de 3.8.5...![]()
bonsoir c'est Python 3.8.5 bref je ne comprends plus rien c'est assez desesperant ca fais 6 mois que ca ne marche pas sur jupyterlab
keras et tensorflow introuvable
et on attend toujours le retour de pip freeze pour vérifier que toutes tes versions tensorflow sont bien supprimées.
j'ai fais pip install fichier.whl ca ne marche pas ci joint le resultat de freeze
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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 absl-py==1.4.0 alabaster==0.7.12 amqp==5.2.0 anaconda-client==1.7.2 anaconda-navigator==1.10.0 anaconda-project==0.8.3 applaunchservices==0.2.1 appnope @ file:///opt/concourse/worker/volumes/live/0291c9e1-4b15-459f-623e-2770f55be269/vo lume/appnope_1594338395037/work appscript @ file:///opt/concourse/worker/volumes/live/50ca4c96-3090-40bb-6981-3a6114ed0af4/ volume/appscript_1594840187551/work argh==0.26.2 argon2-cffi @ file:///opt/concourse/worker/volumes/live/59af29ac-4890-416e-7ab7-794f8d6f7ec d/volume/argon2-cffi_1596828548321/work array-record==0.4.0 asn1crypto @ file:///tmp/build/80754af9/asn1crypto_1596577642040/work astroid @ file:///opt/concourse/worker/volumes/live/21fd14a9-2a7e-484b-7394-5a9912cdcf80/vo lume/astroid_1592498459180/work astropy==4.0.2 asttokens==2.4.1 astunparse==1.6.3 async-generator==1.10 async-timeout==4.0.3 atomicwrites==1.4.0 attrs @ file:///tmp/build/80754af9/attrs_1604765588209/work autopep8 @ file:///tmp/build/80754af9/autopep8_1596578164842/work Babel @ file:///tmp/build/80754af9/babel_1605108370292/work backcall==0.2.0 backports.functools-lru-cache @ file:///tmp/build/80754af9/backports.functools_lru_cache_16 18170165463/work backports.shutil-get-terminal-size==1.0.0 backports.tempfile @ file:///home/linux1/recipes/ci/backports.tempfile_1610991236607/work backports.weakref==1.0.post1 backports.zoneinfo==0.2.1 beautifulsoup4 @ file:///tmp/build/80754af9/beautifulsoup4_1601924105527/work billiard==4.2.0 bitarray @ file:///opt/concourse/worker/volumes/live/fdfca23e-4dd8-48f7-512d-c4f3db552eeb/v olume/bitarray_1605065128338/work bkcharts==0.2 bleach @ file:///tmp/build/80754af9/bleach_1600439572647/work bokeh @ file:///opt/concourse/worker/volumes/live/b2253281-9b72-4dcb-624e-e22924b50435/volu me/bokeh_1603297849453/work boto==2.49.0 Bottleneck==1.3.2 brotlipy==0.7.0 cachetools==5.3.2 celery==5.3.6 certifi==2023.11.17 cffi @ file:///opt/concourse/worker/volumes/live/b9607b09-b777-4ff7-53dc-287727eb8574/volume/cffi_1600699191154/work chardet==3.0.4 charset-normalizer==3.3.2 click==8.1.7 click-didyoumean==0.3.0 click-plugins==1.1.1 click-repl==0.3.0 cloudpickle @ file:///tmp/build/80754af9/cloudpickle_1598884132938/work clyent==1.2.2 colab==1.13.5 colorama @ file:///tmp/build/80754af9/colorama_1603211150991/work conda==4.9.2 conda-build==3.20.5 conda-package-handling @ file:///private/var/folders/sy/f16zz6x50xz3113nwtb9bvq00000gp/T/abs_99vcqjo8cf/croot/conda-package-handling_1690999935230/work conda-verify==3.4.2 conda_package_streaming @ file:///private/var/folders/sy/f16zz6x50xz3113nwtb9bvq00000gp/T/abs_d5wg6eonuu/croot/conda-package-streaming_1690987980119/work contextlib2==0.6.0.post1 cryptography @ file:///opt/concourse/worker/volumes/live/aeb63a26-659e-4edb-5405-74ba8e0c76f2/volume/cryptography_1601046839724/work cssselect==1.2.0 cycler==0.10.0 Cython @ file:///opt/concourse/worker/volumes/live/6158b663-a4ca-4e19-7e05-8807e4f79146/volume/cython_1594835048880/work cytoolz==0.11.0 dask @ file:///tmp/build/80754af9/dask-core_1602083700509/work decorator==4.4.2 defusedxml==0.6.0 diazo==1.5.0 diff-match-patch @ file:///tmp/build/80754af9/diff-match-patch_1594828741838/work distributed @ file:///opt/concourse/worker/volumes/live/bd66aa48-5cf5-4b60-6ed4-f204fff153f6/volume/distributed_1605066538557/work Django==1.7.11 django-haystack==2.4.1 django-hitcounter==0.1.1 django-revproxy==0.10.0 django-taggit==0.22.2 dm-tree==0.1.8 docutils==0.16 entrypoints==0.3 et-xmlfile==1.0.1 etils==1.3.0 etiquetando==0.1 exceptiongroup==1.2.0 executing==2.0.1 fastcache==1.1.0 filelock==3.0.12 flake8 @ file:///tmp/build/80754af9/flake8_1601911421857/work Flask==1.1.2 flatbuffers==23.5.26 fsspec @ file:///tmp/build/80754af9/fsspec_1602684995936/work future==0.18.2 gast==0.4.0 gevent @ file:///opt/concourse/worker/volumes/live/e6b243ce-c4b8-40bb-4934-ef3bf1c512f2/volume/gevent_1601397552921/work glob2==0.7 gmpy2==2.0.8 google-auth==2.26.1 google-auth-oauthlib==1.0.0 google-pasta==0.2.0 googleapis-common-protos==1.63.0 greenlet @ file:///opt/concourse/worker/volumes/live/02d5d57d-1f11-4cf9-580a-19e679c78dc9/volume/greenlet_1600874049903/work grpcio==1.60.0 h11==0.14.0 h5py==2.10.0 HeapDict==1.0.1 html2text==2020.1.16 html5lib @ file:///tmp/build/80754af9/html5lib_1593446221756/work idna==2.8 imageio @ file:///tmp/build/80754af9/imageio_1594161405741/work imagesize==1.2.0 importlib-metadata==7.0.1 importlib_resources==6.3.0 iniconfig @ file:///tmp/build/80754af9/iniconfig_1602780191262/work install==1.3.5 intervaltree @ file:///tmp/build/80754af9/intervaltree_1598376443606/work ipykernel==4.6.1 ipython==8.12.3 ipython_genutils==0.2.0 ipywidgets @ file:///tmp/build/80754af9/ipywidgets_1601490159889/work isort @ file:///tmp/build/80754af9/isort_1602603989581/work itsdangerous==1.1.0 jdcal==1.4.1 jedi @ file:///opt/concourse/worker/volumes/live/1c5c293b-9147-4b4b-5a7f-d3f5eddb8470/volume/jedi_1592841952519/work Jinja2==2.11.2 joblib @ file:///tmp/build/80754af9/joblib_1601912903842/work json5==0.9.5 jsonschema @ file:///tmp/build/80754af9/jsonschema_1602607155483/work jupyter==1.0.0 jupyter-client @ file:///tmp/build/80754af9/jupyter_client_1601311786391/work jupyter-console @ file:///tmp/build/80754af9/jupyter_console_1598884538475/work jupyter-core==4.6.3 jupyterlab==2.2.6 jupyterlab-pygments @ file:///tmp/build/80754af9/jupyterlab_pygments_1601490720602/work jupyterlab-server @ file:///tmp/build/80754af9/jupyterlab_server_1594164409481/work keras==2.13.1 keras-datasets==0.1.0 Keras-Preprocessing @ file:///tmp/build/80754af9/keras-preprocessing_1612283640596/work keyring @ file:///opt/concourse/worker/volumes/live/54fc3ec2-338b-44f5-5e13-d62afa6b5820/volume/keyring_1601490916376/work kiwisolver @ file:///opt/concourse/worker/volumes/live/b8936fa6-0e4b-47e7-4fb4-e02dbd4505ee/volume/kiwisolver_1604014598721/work kombu==5.3.4 lazy-object-proxy==1.4.3 libarchive-c==2.9 libclang==16.0.6 llvmlite==0.34.0 locket==0.2.0 lxml @ file:///opt/concourse/worker/volumes/live/9351a723-931c-40fa-7baa-f2f468cdccf6/volume/lxml_1603216287330/work Markdown==3.5.1 MarkupSafe @ file:///opt/concourse/worker/volumes/live/cb778296-98db-45ad-411e-6f726e102dc3/volume/markupsafe_1594371638608/work matplotlib @ file:///opt/concourse/worker/volumes/live/f7797860-f8aa-410c-4a56-72315954816b/volume/matplotlib-base_1603378002957/work matplotlib-inline==0.1.6 mccabe==0.6.1 mistune @ file:///opt/concourse/worker/volumes/live/95802d64-d39c-491b-74ce-b9326880ca54/volume/mistune_1594373201816/work mkl-fft==1.2.0 mkl-random==1.1.1 mkl-service==2.3.0 mock==4.0.2 more-itertools @ file:///tmp/build/80754af9/more-itertools_1605111547926/work mpmath==1.1.0 msgpack==1.0.0 multipledispatch==0.6.0 navigator-updater==0.2.1 nbclient @ file:///tmp/build/80754af9/nbclient_1602783176460/work nbconvert @ file:///opt/concourse/worker/volumes/live/2b9c1d93-d0fd-432f-7d93-66c93d81b614/volume/nbconvert_1601914875037/work nbformat @ file:///tmp/build/80754af9/nbformat_1602783287752/work nest-asyncio @ file:///tmp/build/80754af9/nest-asyncio_1605115881283/work networkx @ file:///tmp/build/80754af9/networkx_1598376031484/work nltk @ file:///tmp/build/80754af9/nltk_1592496090529/work nose @ file:///opt/concourse/worker/volumes/live/a029938e-1732-4cd8-5b98-0542283d158b/volume/nose_1594377915100/work notebook==5.2.2 numba @ file:///opt/concourse/worker/volumes/live/ae24c1ca-d916-4043-5919-a843fa33e451/volume/numba_1600084276085/work numexpr==2.7.1 numpy==1.24.3 numpydoc @ file:///tmp/build/80754af9/numpydoc_1605117425582/work oauthlib==3.2.2 olefile==0.46 openpyxl @ file:///tmp/build/80754af9/openpyxl_1598113097404/work opt-einsum==3.3.0 outcome==1.3.0.post0 packaging==20.4 pandas @ file:///opt/concourse/worker/volumes/live/f14cf8c4-c564-4eff-4b17-158e90dbf88a/volume/pandas_1602088128240/work pandocfilters @ file:///opt/concourse/worker/volumes/live/c330e404-216d-466b-5327-8ce8fe854d3a/volume/pandocfilters_1605120442288/work parso==0.7.0 partd==1.1.0 path @ file:///opt/concourse/worker/volumes/live/fcdf620c-46d6-4284-4c1e-5b8c3bc6c5c6/volume/path_1596907417277/work pathlib2 @ file:///opt/concourse/worker/volumes/live/de518564-0d9f-405e-472b-38136f0c2169/volume/pathlib2_1594381084269/work pathtools==0.1.2 patsy==0.5.1 pep8==1.7.1 pexpect @ file:///opt/concourse/worker/volumes/live/8701bb20-ad87-46c7-5108-30c178cf97e5/volume/pexpect_1594383388344/work pickleshare @ file:///opt/concourse/worker/volumes/live/93ec39d8-05bb-4f84-7efc-98735bc39b70/volume/pickleshare_1594384101884/work Pillow @ file:///opt/concourse/worker/volumes/live/991b9a87-3372-4acd-45f9-eaa52701f03c/volume/pillow_1603822262543/work pkginfo==1.6.1 pluggy==0.13.1 ply==3.11 portpicker==1.2.0 prometheus-client==0.8.0 promise==2.3 prompt-toolkit==3.0.43 protobuf==3.20.3 psutil @ file:///opt/concourse/worker/volumes/live/ff72f822-991c-4030-4f3a-8c41d3ac4e4f/volume/psutil_1598370232375/work ptyprocess==0.6.0 pure-eval==0.2.2 py @ file:///tmp/build/80754af9/py_1593446248552/work pyasn1==0.5.1 pyasn1-modules==0.3.0 pycodestyle==2.6.0 pycosat==0.6.3 pycparser @ file:///tmp/build/80754af9/pycparser_1594388511720/work pycurl==7.43.0.6 pydocstyle @ file:///tmp/build/80754af9/pydocstyle_1598885001695/work pyflakes==2.2.0 Pygments @ file:///tmp/build/80754af9/pygments_1604103097372/work pylint @ file:///opt/concourse/worker/volumes/live/ed0164b6-bcc7-4f6b-7dd4-ad89660b5dcb/volume/pylint_1598624018129/work pyodbc===4.0.0-unsupported pyOpenSSL @ file:///tmp/build/80754af9/pyopenssl_1594392929924/work pyparsing==2.4.7 pyrsistent @ file:///opt/concourse/worker/volumes/live/ff11f3f0-615b-4508-471d-4d9f19fa6657/volume/pyrsistent_1600141727281/work PySocks @ file:///opt/concourse/worker/volumes/live/85a5b906-0e08-41d9-6f59-084cee4e9492/volume/pysocks_1594394636991/work pytest==0.0.0 python-dateutil==2.8.2 python-jsonrpc-server @ file:///tmp/build/80754af9/python-jsonrpc-server_1600278539111/work python-language-server @ file:///tmp/build/80754af9/python-language-server_1600454544709/work pytz==2020.1 PyWavelets @ file:///opt/concourse/worker/volumes/live/ea36e10f-66e8-43ae-511e-c4092764493f/volume/pywavelets_1601658378672/work PyYAML==5.3.1 pyzmq==19.0.2 QDarkStyle==2.8.1 QtAwesome @ file:///tmp/build/80754af9/qtawesome_1602272867890/work qtconsole @ file:///tmp/build/80754af9/qtconsole_1600870028330/work QtPy==1.9.0 redis==5.0.1 regex @ file:///opt/concourse/worker/volumes/live/7f106f75-0e11-45be-4c20-6b071e37c646/volume/regex_1602786678165/work repoze.lru==0.7 requests==2.21.0 requests-oauthlib==1.3.1 rope @ file:///tmp/build/80754af9/rope_1602264064449/work rsa==4.9 Rtree==0.9.4 ruamel_yaml==0.15.87 scikit-image==0.17.2 scikit-learn @ file:///opt/concourse/worker/volumes/live/111833a2-339b-4578-413b-7337bb8fe64a/volume/scikit-learn_1598376920601/work scipy @ file:///opt/concourse/worker/volumes/live/851446f6-a052-41c4-4243-67bb78999b49/volume/scipy_1604596178167/work seaborn @ file:///tmp/build/80754af9/seaborn_1600553570093/work selenium==4.16.0 Send2Trash==1.5.0 simplegeneric==0.8.1 singledispatch @ file:///tmp/build/80754af9/singledispatch_1602523705405/work six==1.12.0 sniffio==1.3.0 snowballstemmer==2.0.0 sortedcollections==1.2.1 sortedcontainers==2.2.2 soupsieve==2.0.1 Sphinx @ file:///tmp/build/80754af9/sphinx_1597428793432/work sphinxcontrib-applehelp==1.0.2 sphinxcontrib-devhelp==1.0.2 sphinxcontrib-htmlhelp==1.0.3 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.4 sphinxcontrib-websupport @ file:///tmp/build/80754af9/sphinxcontrib-websupport_1597081412696/work spyder @ file:///opt/concourse/worker/volumes/live/93f52c11-6bc0-49a8-541e-aa5e1de1eadc/volume/spyder_1599056974853/work spyder-kernels @ file:///opt/concourse/worker/volumes/live/b4ec5b57-5b3c-42d0-7731-c0691f88ee81/volume/spyder-kernels_1599056790993/work SQLAlchemy @ file:///opt/concourse/worker/volumes/live/0214475e-3c0a-49a9-6cb8-ab2d5c945bef/volume/sqlalchemy_1603812264100/work stack-data==0.6.3 statsmodels @ file:///opt/concourse/worker/volumes/live/148a0e6d-2163-4103-6ef5-61556693c052/volume/statsmodels_1602280229372/work stemming==1.0.1 sympy @ file:///opt/concourse/worker/volumes/live/d5d0b33b-5c2f-493b-5b67-8149e5531868/volume/sympy_1605119535834/work tables==3.6.1 tblib @ file:///tmp/build/80754af9/tblib_1597928476713/work tensorboard==2.13.0 tensorboard-data-server==0.7.2 tensorboard-plugin-wit==1.8.1 tensorflow==2.13.1 tensorflow-datasets==4.9.2 tensorflow-estimator==2.13.0 tensorflow-io-gcs-filesystem==0.34.0 tensorflow-metadata==1.14.0 termcolor==2.4.0 terminado==0.9.1 testpath==0.4.4 threadpoolctl @ file:///tmp/tmp9twdgx9k/threadpoolctl-2.1.0-py3-none-any.whl tifffile==2020.10.1 toml @ file:///tmp/build/80754af9/toml_1592853716807/work toolz @ file:///tmp/build/80754af9/toolz_1601054250827/work tornado==4.5.3 tqdm @ file:///tmp/build/80754af9/tqdm_1602185206534/work traitlets @ file:///tmp/build/80754af9/traitlets_1602787416690/work trio==0.23.2 trio-websocket==0.11.1 typing-extensions @ file:///tmp/build/80754af9/typing_extensions_1598376058250/work tzdata==2023.4 ujson @ file:///opt/concourse/worker/volumes/live/2fc9988c-ebca-4577-6c4b-7383ea76e8ee/volume/ujson_1602523306974/work unicodecsv==0.14.1 urllib3==1.24.3 vine==5.1.0 watchdog @ file:///opt/concourse/worker/volumes/live/cc0ee7bb-1065-44c4-5867-0fd5d13729e0/volume/watchdog_1593447373245/work wcwidth @ file:///tmp/build/80754af9/wcwidth_1593447189090/work webencodings==0.5.1 Werkzeug==1.0.1 Whoosh==2.7.4 widgetsnbextension==3.5.1 wrapt==1.11.2 wsproto==1.2.0 wurlitzer @ file:///opt/concourse/worker/volumes/live/01a17f3d-eafe-4806-57a1-4b9ef5d1815f/volume/wurlitzer_1594753845129/work xlrd==1.2.0 XlsxWriter @ file:///tmp/build/80754af9/xlsxwriter_1602692860603/work xlwings==0.20.8 xlwt==1.3.0 xmltodict @ file:///private/var/folders/c_/qfmhj66j0tn016nkx_th4hxm0000gp/T/abs_39109ci7ji/croot/xmltodict_1697086214447/work yapf @ file:///tmp/build/80754af9/yapf_1593528177422/work zict==2.0.0 zipp==3.17.0 zope.event==4.5.0 zope.interface @ file:///opt/concourse/worker/volumes/live/de428e3b-00ba-4161-442e-b9e5d25e4219/volume/zope.interface_1602002489816/work zstandard @ file:///private/var/folders/sy/f16zz6x50xz3113nwtb9bvq00000gp/T/abs_40ayfv1xn6/croot/zstandard_1677014126754/work
on voit en ligne 278 la présence de tensorflow en 2.13.1, or on a dit qu'il fallait la version 2.13.0; donc désinstalle tensorflow (sans indiqué de version) et une fois disparu du freeze, fait l'installation de la 2.13.0.
PS: dire qu'un truc ne marche pas, ça n'aide pas à dépanner; avoir les messages d'erreurs complets en revanche, ça aide.
Il n'y a pas de raison !
As-tu installé tensorflow depuis la console de jupyterlab ?
EDIT: Si tu as des messages d'erreur comme le fait de ne pas trouver tes GPU, je pense que c'est un tout autre problème...
@s2a07,
Il y a des limites quand même, le minimum c'est qu'on te mâche pas le travail et qu'on passe derrière toi à chaque fois parce-que tu manques de rigueur dans la lecture des réponses qu'on t'envoie.
Tous, on va dans le même sens, pas de problème lié à Mac, TensorFlow ou Python, c'est juste un problème entre chaise et clavier... concentre toi sur nos réponses pour y ajouter ce brin de rigueur.
En 3 minutes j'ai installé jupyterlab, tensorflow pour mon python par défaut sans aucun soucis, y compris l'import qui fonctionne bien, juste en sachant exactement dans quels environnements je travaille pour ne pas avoir de surprise.
En mettant 5 mois pour ne toujours pas trouver d'où vient le problème c'est que clairement tu ne maîtrises absolument pas ces environnements, ça questionne, sans compter le développement qui j'espère est nettement mieux...
Comme tu as pu le comprendre,
- Envoi sur chacune de tes réponses le résultat de pip freeze
- Respecte à la lettre les réponses données par les membres avec rigueur !!!
- Ne dis jamais ça ne marche pas (on s'en fou c'est pour ça qu'il existe les messages d'erreur), partage le message d'erreur
- On se fou de savoir combien de temps ça ne fonctionne pas, ça nous intéresse pas d'entendre des plaintes sans arrêt
- Motivé ! ce soir c'est résolu
bonjour les amis j'ai desinstale tensorflow 2.13.1 et j'ai essaye d'installer tensorflow-macos 2.13.0 voila ce que j'ai
merci d'avance
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3 ERROR: Could not find a version that satisfies the requirement tensorflow-macos==2.13.0 (fr om versions: none) ERROR: No matching distribution found for tensorflow-macos==2.13.0
tu en fais quoi des messages précédents dont le message #33 de jurassic pork ? et donc d'installer la version via le fichier whl correspondant à ta version de python (cp38 pour CPython 3.8.x) et de mac
c'est-à-dire via ce fichier https://files.pythonhosted.org/packa...12_0_arm64.whl
Que retourne la commande !pip freeze ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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 absl-py==1.4.0 alabaster==0.7.12 amqp==5.2.0 anaconda-client==1.7.2 anaconda-navigator==1.10.0 anaconda-project==0.8.3 applaunchservices==0.2.1 appnope @ file:///opt/concourse/worker/volumes/live/0291c9e1-4b15-459f-623e-2770f55be269/vo lume/appnope_1594338395037/work appscript @ file:///opt/concourse/worker/volumes/live/50ca4c96-3090-40bb-6981-3a6114ed0af4/ volume/appscript_1594840187551/work argh==0.26.2 argon2-cffi @ file:///opt/concourse/worker/volumes/live/59af29ac-4890-416e-7ab7-794f8d6f7ec d/volume/argon2-cffi_1596828548321/work array-record==0.4.0 asn1crypto @ file:///tmp/build/80754af9/asn1crypto_1596577642040/work astroid @ file:///opt/concourse/worker/volumes/live/21fd14a9-2a7e-484b-7394-5a9912cdcf80/vo lume/astroid_1592498459180/work astropy==4.0.2 asttokens==2.4.1 astunparse==1.6.3 async-generator==1.10 async-timeout==4.0.3 atomicwrites==1.4.0 attrs @ file:///tmp/build/80754af9/attrs_1604765588209/work autopep8 @ file:///tmp/build/80754af9/autopep8_1596578164842/work Babel @ file:///tmp/build/80754af9/babel_1605108370292/work backcall==0.2.0 backports.functools-lru-cache @ file:///tmp/build/80754af9/backports.functools_lru_cache_16 18170165463/work backports.shutil-get-terminal-size==1.0.0 backports.tempfile @ file:///home/linux1/recipes/ci/backports.tempfile_1610991236607/work backports.weakref==1.0.post1 backports.zoneinfo==0.2.1 beautifulsoup4 @ file:///tmp/build/80754af9/beautifulsoup4_1601924105527/work billiard==4.2.0 bitarray @ file:///opt/concourse/worker/volumes/live/fdfca23e-4dd8-48f7-512d-c4f3db552eeb/v olume/bitarray_1605065128338/work bkcharts==0.2 bleach @ file:///tmp/build/80754af9/bleach_1600439572647/work bokeh @ file:///opt/concourse/worker/volumes/live/b2253281-9b72-4dcb-624e-e22924b50435/volu me/bokeh_1603297849453/work boto==2.49.0 Bottleneck==1.3.2 brotlipy==0.7.0 cachetools==5.3.2 celery==5.3.6 certifi==2023.11.17 cffi @ file:///opt/concourse/worker/volumes/live/b9607b09-b777-4ff7-53dc-287727eb8574/volume/cffi_1600699191154/work chardet==3.0.4 charset-normalizer==3.3.2 click==8.1.7 click-didyoumean==0.3.0 click-plugins==1.1.1 click-repl==0.3.0 cloudpickle @ file:///tmp/build/80754af9/cloudpickle_1598884132938/work clyent==1.2.2 colab==1.13.5 colorama @ file:///tmp/build/80754af9/colorama_1603211150991/work conda==4.9.2 conda-build==3.20.5 conda-package-handling @ file:///private/var/folders/sy/f16zz6x50xz3113nwtb9bvq00000gp/T/abs_99vcqjo8cf/croot/conda-package-handling_1690999935230/work conda-verify==3.4.2 conda_package_streaming @ file:///private/var/folders/sy/f16zz6x50xz3113nwtb9bvq00000gp/T/abs_d5wg6eonuu/croot/conda-package-streaming_1690987980119/work contextlib2==0.6.0.post1 cryptography @ file:///opt/concourse/worker/volumes/live/aeb63a26-659e-4edb-5405-74ba8e0c76f2/volume/cryptography_1601046839724/work cssselect==1.2.0 cycler==0.10.0 Cython @ file:///opt/concourse/worker/volumes/live/6158b663-a4ca-4e19-7e05-8807e4f79146/volume/cython_1594835048880/work cytoolz==0.11.0 dask @ file:///tmp/build/80754af9/dask-core_1602083700509/work decorator==4.4.2 defusedxml==0.6.0 diazo==1.5.0 diff-match-patch @ file:///tmp/build/80754af9/diff-match-patch_1594828741838/work distributed @ file:///opt/concourse/worker/volumes/live/bd66aa48-5cf5-4b60-6ed4-f204fff153f6/volume/distributed_1605066538557/work Django==1.7.11 django-haystack==2.4.1 django-hitcounter==0.1.1 django-revproxy==0.10.0 django-taggit==0.22.2 dm-tree==0.1.8 docutils==0.16 entrypoints==0.3 et-xmlfile==1.0.1 etils==1.3.0 etiquetando==0.1 exceptiongroup==1.2.0 executing==2.0.1 fastcache==1.1.0 filelock==3.0.12 flake8 @ file:///tmp/build/80754af9/flake8_1601911421857/work Flask==1.1.2 flatbuffers==23.5.26 fsspec @ file:///tmp/build/80754af9/fsspec_1602684995936/work future==0.18.2 gast==0.4.0 gevent @ file:///opt/concourse/worker/volumes/live/e6b243ce-c4b8-40bb-4934-ef3bf1c512f2/volume/gevent_1601397552921/work glob2==0.7 gmpy2==2.0.8 google-auth==2.26.1 google-auth-oauthlib==1.0.0 google-pasta==0.2.0 googleapis-common-protos==1.63.0 greenlet @ file:///opt/concourse/worker/volumes/live/02d5d57d-1f11-4cf9-580a-19e679c78dc9/volume/greenlet_1600874049903/work grpcio==1.60.0 h11==0.14.0 h5py==2.10.0 HeapDict==1.0.1 html2text==2020.1.16 html5lib @ file:///tmp/build/80754af9/html5lib_1593446221756/work idna==2.8 imageio @ file:///tmp/build/80754af9/imageio_1594161405741/work imagesize==1.2.0 importlib-metadata==7.0.1 importlib_resources==6.3.0 iniconfig @ file:///tmp/build/80754af9/iniconfig_1602780191262/work install==1.3.5 intervaltree @ file:///tmp/build/80754af9/intervaltree_1598376443606/work ipykernel==4.6.1 ipython==8.12.3 ipython_genutils==0.2.0 ipywidgets @ file:///tmp/build/80754af9/ipywidgets_1601490159889/work isort @ file:///tmp/build/80754af9/isort_1602603989581/work itsdangerous==1.1.0 jdcal==1.4.1 jedi @ file:///opt/concourse/worker/volumes/live/1c5c293b-9147-4b4b-5a7f-d3f5eddb8470/volume/jedi_1592841952519/work Jinja2==2.11.2 joblib @ file:///tmp/build/80754af9/joblib_1601912903842/work json5==0.9.5 jsonschema @ file:///tmp/build/80754af9/jsonschema_1602607155483/work jupyter==1.0.0 jupyter-client @ file:///tmp/build/80754af9/jupyter_client_1601311786391/work jupyter-console @ file:///tmp/build/80754af9/jupyter_console_1598884538475/work jupyter-core==4.6.3 jupyterlab==2.2.6 jupyterlab-pygments @ file:///tmp/build/80754af9/jupyterlab_pygments_1601490720602/work jupyterlab-server @ file:///tmp/build/80754af9/jupyterlab_server_1594164409481/work keras==2.13.1 keras-datasets==0.1.0 Keras-Preprocessing @ file:///tmp/build/80754af9/keras-preprocessing_1612283640596/work keyring @ file:///opt/concourse/worker/volumes/live/54fc3ec2-338b-44f5-5e13-d62afa6b5820/volume/keyring_1601490916376/work kiwisolver @ file:///opt/concourse/worker/volumes/live/b8936fa6-0e4b-47e7-4fb4-e02dbd4505ee/volume/kiwisolver_1604014598721/work kombu==5.3.4 lazy-object-proxy==1.4.3 libarchive-c==2.9 libclang==16.0.6 llvmlite==0.34.0 locket==0.2.0 lxml @ file:///opt/concourse/worker/volumes/live/9351a723-931c-40fa-7baa-f2f468cdccf6/volume/lxml_1603216287330/work Markdown==3.5.1 MarkupSafe @ file:///opt/concourse/worker/volumes/live/cb778296-98db-45ad-411e-6f726e102dc3/volume/markupsafe_1594371638608/work matplotlib @ file:///opt/concourse/worker/volumes/live/f7797860-f8aa-410c-4a56-72315954816b/volume/matplotlib-base_1603378002957/work matplotlib-inline==0.1.6 mccabe==0.6.1 mistune @ file:///opt/concourse/worker/volumes/live/95802d64-d39c-491b-74ce-b9326880ca54/volume/mistune_1594373201816/work mkl-fft==1.2.0 mkl-random==1.1.1 mkl-service==2.3.0 mock==4.0.2 more-itertools @ file:///tmp/build/80754af9/more-itertools_1605111547926/work mpmath==1.1.0 msgpack==1.0.0 multipledispatch==0.6.0 navigator-updater==0.2.1 nbclient @ file:///tmp/build/80754af9/nbclient_1602783176460/work nbconvert @ file:///opt/concourse/worker/volumes/live/2b9c1d93-d0fd-432f-7d93-66c93d81b614/volume/nbconvert_1601914875037/work nbformat @ file:///tmp/build/80754af9/nbformat_1602783287752/work nest-asyncio @ file:///tmp/build/80754af9/nest-asyncio_1605115881283/work networkx @ file:///tmp/build/80754af9/networkx_1598376031484/work nltk @ file:///tmp/build/80754af9/nltk_1592496090529/work nose @ file:///opt/concourse/worker/volumes/live/a029938e-1732-4cd8-5b98-0542283d158b/volume/nose_1594377915100/work notebook==5.2.2 numba @ file:///opt/concourse/worker/volumes/live/ae24c1ca-d916-4043-5919-a843fa33e451/volume/numba_1600084276085/work numexpr==2.7.1 numpy==1.24.3 numpydoc @ file:///tmp/build/80754af9/numpydoc_1605117425582/work oauthlib==3.2.2 olefile==0.46 openpyxl @ file:///tmp/build/80754af9/openpyxl_1598113097404/work opt-einsum==3.3.0 outcome==1.3.0.post0 packaging==20.4 pandas @ file:///opt/concourse/worker/volumes/live/f14cf8c4-c564-4eff-4b17-158e90dbf88a/volume/pandas_1602088128240/work pandocfilters @ file:///opt/concourse/worker/volumes/live/c330e404-216d-466b-5327-8ce8fe854d3a/volume/pandocfilters_1605120442288/work parso==0.7.0 partd==1.1.0 path @ file:///opt/concourse/worker/volumes/live/fcdf620c-46d6-4284-4c1e-5b8c3bc6c5c6/volume/path_1596907417277/work pathlib2 @ file:///opt/concourse/worker/volumes/live/de518564-0d9f-405e-472b-38136f0c2169/volume/pathlib2_1594381084269/work pathtools==0.1.2 patsy==0.5.1 pep8==1.7.1 pexpect @ file:///opt/concourse/worker/volumes/live/8701bb20-ad87-46c7-5108-30c178cf97e5/volume/pexpect_1594383388344/work pickleshare @ file:///opt/concourse/worker/volumes/live/93ec39d8-05bb-4f84-7efc-98735bc39b70/volume/pickleshare_1594384101884/work Pillow @ file:///opt/concourse/worker/volumes/live/991b9a87-3372-4acd-45f9-eaa52701f03c/volume/pillow_1603822262543/work pkginfo==1.6.1 pluggy==0.13.1 ply==3.11 portpicker==1.2.0 prometheus-client==0.8.0 promise==2.3 prompt-toolkit==3.0.43 protobuf==3.20.3 psutil @ file:///opt/concourse/worker/volumes/live/ff72f822-991c-4030-4f3a-8c41d3ac4e4f/volume/psutil_1598370232375/work ptyprocess==0.6.0 pure-eval==0.2.2 py @ file:///tmp/build/80754af9/py_1593446248552/work pyasn1==0.5.1 pyasn1-modules==0.3.0 pycodestyle==2.6.0 pycosat==0.6.3 pycparser @ file:///tmp/build/80754af9/pycparser_1594388511720/work pycurl==7.43.0.6 pydocstyle @ file:///tmp/build/80754af9/pydocstyle_1598885001695/work pyflakes==2.2.0 Pygments @ file:///tmp/build/80754af9/pygments_1604103097372/work pylint @ file:///opt/concourse/worker/volumes/live/ed0164b6-bcc7-4f6b-7dd4-ad89660b5dcb/volume/pylint_1598624018129/work pyodbc===4.0.0-unsupported pyOpenSSL @ file:///tmp/build/80754af9/pyopenssl_1594392929924/work pyparsing==2.4.7 pyrsistent @ file:///opt/concourse/worker/volumes/live/ff11f3f0-615b-4508-471d-4d9f19fa6657/volume/pyrsistent_1600141727281/work PySocks @ file:///opt/concourse/worker/volumes/live/85a5b906-0e08-41d9-6f59-084cee4e9492/volume/pysocks_1594394636991/work pytest==0.0.0 python-dateutil==2.8.2 python-jsonrpc-server @ file:///tmp/build/80754af9/python-jsonrpc-server_1600278539111/work python-language-server @ file:///tmp/build/80754af9/python-language-server_1600454544709/work pytz==2020.1 PyWavelets @ file:///opt/concourse/worker/volumes/live/ea36e10f-66e8-43ae-511e-c4092764493f/volume/pywavelets_1601658378672/work PyYAML==5.3.1 pyzmq==19.0.2 QDarkStyle==2.8.1 QtAwesome @ file:///tmp/build/80754af9/qtawesome_1602272867890/work qtconsole @ file:///tmp/build/80754af9/qtconsole_1600870028330/work QtPy==1.9.0 redis==5.0.1 regex @ file:///opt/concourse/worker/volumes/live/7f106f75-0e11-45be-4c20-6b071e37c646/volume/regex_1602786678165/work repoze.lru==0.7 requests==2.21.0 requests-oauthlib==1.3.1 rope @ file:///tmp/build/80754af9/rope_1602264064449/work rsa==4.9 Rtree==0.9.4 ruamel_yaml==0.15.87 scikit-image==0.17.2 scikit-learn @ file:///opt/concourse/worker/volumes/live/111833a2-339b-4578-413b-7337bb8fe64a/volume/scikit-learn_1598376920601/work scipy @ file:///opt/concourse/worker/volumes/live/851446f6-a052-41c4-4243-67bb78999b49/volume/scipy_1604596178167/work seaborn @ file:///tmp/build/80754af9/seaborn_1600553570093/work selenium==4.16.0 Send2Trash==1.5.0 simplegeneric==0.8.1 singledispatch @ file:///tmp/build/80754af9/singledispatch_1602523705405/work six==1.12.0 sniffio==1.3.0 snowballstemmer==2.0.0 sortedcollections==1.2.1 sortedcontainers==2.2.2 soupsieve==2.0.1 Sphinx @ file:///tmp/build/80754af9/sphinx_1597428793432/work sphinxcontrib-applehelp==1.0.2 sphinxcontrib-devhelp==1.0.2 sphinxcontrib-htmlhelp==1.0.3 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.4 sphinxcontrib-websupport @ file:///tmp/build/80754af9/sphinxcontrib-websupport_1597081412696/work spyder @ file:///opt/concourse/worker/volumes/live/93f52c11-6bc0-49a8-541e-aa5e1de1eadc/volume/spyder_1599056974853/work spyder-kernels @ file:///opt/concourse/worker/volumes/live/b4ec5b57-5b3c-42d0-7731-c0691f88ee81/volume/spyder-kernels_1599056790993/work SQLAlchemy @ file:///opt/concourse/worker/volumes/live/0214475e-3c0a-49a9-6cb8-ab2d5c945bef/volume/sqlalchemy_1603812264100/work stack-data==0.6.3 statsmodels @ file:///opt/concourse/worker/volumes/live/148a0e6d-2163-4103-6ef5-61556693c052/volume/statsmodels_1602280229372/work stemming==1.0.1 sympy @ file:///opt/concourse/worker/volumes/live/d5d0b33b-5c2f-493b-5b67-8149e5531868/volume/sympy_1605119535834/work tables==3.6.1 tblib @ file:///tmp/build/80754af9/tblib_1597928476713/work tensorboard==2.13.0 tensorboard-data-server==0.7.2 tensorboard-plugin-wit==1.8.1 tensorflow==2.13.1 tensorflow-datasets==4.9.2 tensorflow-estimator==2.13.0 tensorflow-io-gcs-filesystem==0.34.0 tensorflow-metadata==1.14.0 TensorFlow1==3.2.0 termcolor==2.4.0 terminado==0.9.1 testpath==0.4.4 threadpoolctl @ file:///tmp/tmp9twdgx9k/threadpoolctl-2.1.0-py3-none-any.whl tifffile==2020.10.1 toml @ file:///tmp/build/80754af9/toml_1592853716807/work toolz @ file:///tmp/build/80754af9/toolz_1601054250827/work tornado==4.5.3 tqdm @ file:///tmp/build/80754af9/tqdm_1602185206534/work traitlets @ file:///tmp/build/80754af9/traitlets_1602787416690/work trio==0.23.2 trio-websocket==0.11.1 typing-extensions @ file:///tmp/build/80754af9/typing_extensions_1598376058250/work tzdata==2023.4 ujson @ file:///opt/concourse/worker/volumes/live/2fc9988c-ebca-4577-6c4b-7383ea76e8ee/volume/ujson_1602523306974/work unicodecsv==0.14.1 urllib3==1.24.3 vine==5.1.0 watchdog @ file:///opt/concourse/worker/volumes/live/cc0ee7bb-1065-44c4-5867-0fd5d13729e0/volume/watchdog_1593447373245/work wcwidth @ file:///tmp/build/80754af9/wcwidth_1593447189090/work webencodings==0.5.1 Werkzeug==1.0.1 Whoosh==2.7.4 widgetsnbextension==3.5.1 wrapt==1.11.2 wsproto==1.2.0 wurlitzer @ file:///opt/concourse/worker/volumes/live/01a17f3d-eafe-4806-57a1-4b9ef5d1815f/volume/wurlitzer_1594753845129/work xlrd==1.2.0 XlsxWriter @ file:///tmp/build/80754af9/xlsxwriter_1602692860603/work xlwings==0.20.8 xlwt==1.3.0 xmltodict @ file:///private/var/folders/c_/qfmhj66j0tn016nkx_th4hxm0000gp/T/abs_39109ci7ji/croot/xmltodict_1697086214447/work yapf @ file:///tmp/build/80754af9/yapf_1593528177422/work zict==2.0.0 zipp==3.17.0 zope.event==4.5.0 zope.interface @ file:///opt/concourse/worker/volumes/live/de428e3b-00ba-4161-442e-b9e5d25e4219/volume/zope.interface_1602002489816/work zstandard @ file:///private/var/folders/sy/f16zz6x50xz3113nwtb9bvq00000gp/T/abs_40ayfv1xn6/croot/zstandard_1677014126754/work
Partager