mao7337 commited on
Commit
9c585c3
·
verified ·
1 Parent(s): f2a04fe

Upload full

Browse files
.ipynb_checkpoints/Untitled-checkpoint.ipynb ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": null,
6
+ "id": "8def5e67-36fc-405b-a915-05328f9737b9",
7
+ "metadata": {},
8
+ "outputs": [],
9
+ "source": []
10
+ }
11
+ ],
12
+ "metadata": {
13
+ "kernelspec": {
14
+ "display_name": "Python [conda env:base] *",
15
+ "language": "python",
16
+ "name": "conda-base-py"
17
+ },
18
+ "language_info": {
19
+ "codemirror_mode": {
20
+ "name": "ipython",
21
+ "version": 3
22
+ },
23
+ "file_extension": ".py",
24
+ "mimetype": "text/x-python",
25
+ "name": "python",
26
+ "nbconvert_exporter": "python",
27
+ "pygments_lexer": "ipython3",
28
+ "version": "3.12.7"
29
+ }
30
+ },
31
+ "nbformat": 4,
32
+ "nbformat_minor": 5
33
+ }
.ipynb_checkpoints/sale_forecasting-checkpoint.ipynb ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [],
3
+ "metadata": {},
4
+ "nbformat": 4,
5
+ "nbformat_minor": 5
6
+ }
Untitled.ipynb ADDED
@@ -0,0 +1,432 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": 14,
6
+ "id": "928e89bd-4a6d-4290-a0b0-259804865c5a",
7
+ "metadata": {},
8
+ "outputs": [
9
+ {
10
+ "name": "stdout",
11
+ "output_type": "stream",
12
+ "text": [
13
+ "Channels:\n",
14
+ " - defaults\n",
15
+ "Platform: win-64\n",
16
+ "Collecting package metadata (repodata.json): ...working... done\n",
17
+ "Solving environment: ...working... done\n",
18
+ "\n",
19
+ "## Package Plan ##\n",
20
+ "\n",
21
+ " environment location: C:\\Users\\acer\\anaconda3\\envs\\myenv\n",
22
+ "\n",
23
+ " added / updated specs:\n",
24
+ " - flask\n",
25
+ " - matplotlib\n",
26
+ " - numpy\n",
27
+ " - pandas\n",
28
+ " - python=3.10\n",
29
+ " - scikit-learn\n",
30
+ " - tensorflow\n",
31
+ "\n",
32
+ "\n",
33
+ "The following NEW packages will be INSTALLED:\n",
34
+ "\n",
35
+ " _tflow_select pkgs/main/win-64::_tflow_select-2.3.0-mkl \n",
36
+ " abseil-cpp pkgs/main/win-64::abseil-cpp-20211102.0-hd77b12b_0 \n",
37
+ " absl-py pkgs/main/win-64::absl-py-2.1.0-py310haa95532_0 \n",
38
+ " aiohappyeyeballs pkgs/main/win-64::aiohappyeyeballs-2.4.4-py310haa95532_0 \n",
39
+ " aiohttp pkgs/main/win-64::aiohttp-3.11.10-py310h827c3e9_0 \n",
40
+ " aiosignal pkgs/main/noarch::aiosignal-1.2.0-pyhd3eb1b0_0 \n",
41
+ " astunparse pkgs/main/noarch::astunparse-1.6.3-py_0 \n",
42
+ " async-timeout pkgs/main/win-64::async-timeout-5.0.1-py310haa95532_0 \n",
43
+ " attrs pkgs/main/win-64::attrs-24.3.0-py310haa95532_0 \n",
44
+ " blas pkgs/main/win-64::blas-1.0-mkl \n",
45
+ " blinker pkgs/main/win-64::blinker-1.9.0-py310haa95532_0 \n",
46
+ " bottleneck pkgs/main/win-64::bottleneck-1.4.2-py310hc99e966_0 \n",
47
+ " brotli-python pkgs/main/win-64::brotli-python-1.0.9-py310h5da7b33_9 \n",
48
+ " bzip2 pkgs/main/win-64::bzip2-1.0.8-h2bbff1b_6 \n",
49
+ " c-ares pkgs/main/win-64::c-ares-1.19.1-h2bbff1b_0 \n",
50
+ " ca-certificates pkgs/main/win-64::ca-certificates-2024.12.31-haa95532_0 \n",
51
+ " cachetools pkgs/main/win-64::cachetools-5.5.1-py310haa95532_0 \n",
52
+ " certifi pkgs/main/win-64::certifi-2025.1.31-py310haa95532_0 \n",
53
+ " cffi pkgs/main/win-64::cffi-1.17.1-py310h827c3e9_1 \n",
54
+ " charset-normalizer pkgs/main/noarch::charset-normalizer-3.3.2-pyhd3eb1b0_0 \n",
55
+ " click pkgs/main/win-64::click-8.1.7-py310haa95532_0 \n",
56
+ " colorama pkgs/main/win-64::colorama-0.4.6-py310haa95532_0 \n",
57
+ " contourpy pkgs/main/win-64::contourpy-1.3.1-py310h214f63a_0 \n",
58
+ " cryptography pkgs/main/win-64::cryptography-41.0.3-py310h3438e0d_0 \n",
59
+ " cycler pkgs/main/noarch::cycler-0.11.0-pyhd3eb1b0_0 \n",
60
+ " flask pkgs/main/win-64::flask-3.1.0-py310haa95532_0 \n",
61
+ " flatbuffers pkgs/main/win-64::flatbuffers-2.0.0-h6c2663c_0 \n",
62
+ " fonttools pkgs/main/win-64::fonttools-4.55.3-py310h827c3e9_0 \n",
63
+ " freetype pkgs/main/win-64::freetype-2.12.1-ha860e81_0 \n",
64
+ " frozenlist pkgs/main/win-64::frozenlist-1.5.0-py310h827c3e9_0 \n",
65
+ " gast pkgs/main/noarch::gast-0.4.0-pyhd3eb1b0_0 \n",
66
+ " giflib pkgs/main/win-64::giflib-5.2.2-h7edc060_0 \n",
67
+ " google-auth pkgs/main/win-64::google-auth-2.38.0-py310haa95532_0 \n",
68
+ " google-auth-oauth~ pkgs/main/noarch::google-auth-oauthlib-0.4.4-pyhd3eb1b0_0 \n",
69
+ " google-pasta pkgs/main/noarch::google-pasta-0.2.0-pyhd3eb1b0_0 \n",
70
+ " grpc-cpp pkgs/main/win-64::grpc-cpp-1.48.2-hf108199_0 \n",
71
+ " grpcio pkgs/main/win-64::grpcio-1.48.2-py310hf108199_0 \n",
72
+ " h5py pkgs/main/win-64::h5py-3.12.1-py310h535c9fb_1 \n",
73
+ " hdf5 pkgs/main/win-64::hdf5-1.14.5-h44af213_0 \n",
74
+ " icc_rt pkgs/main/win-64::icc_rt-2022.1.0-h6049295_2 \n",
75
+ " icu pkgs/main/win-64::icu-58.2-ha925a31_3 \n",
76
+ " idna pkgs/main/win-64::idna-3.7-py310haa95532_0 \n",
77
+ " intel-openmp pkgs/main/win-64::intel-openmp-2023.1.0-h59b6b97_46320 \n",
78
+ " itsdangerous pkgs/main/win-64::itsdangerous-2.2.0-py310haa95532_0 \n",
79
+ " jinja2 pkgs/main/win-64::jinja2-3.1.5-py310haa95532_0 \n",
80
+ " joblib pkgs/main/win-64::joblib-1.4.2-py310haa95532_0 \n",
81
+ " jpeg pkgs/main/win-64::jpeg-9e-h827c3e9_3 \n",
82
+ " keras pkgs/main/win-64::keras-2.10.0-py310haa95532_0 \n",
83
+ " keras-preprocessi~ pkgs/main/noarch::keras-preprocessing-1.1.2-pyhd3eb1b0_0 \n",
84
+ " kiwisolver pkgs/main/win-64::kiwisolver-1.4.8-py310h5da7b33_0 \n",
85
+ " krb5 pkgs/main/win-64::krb5-1.20.1-h5b6d351_1 \n",
86
+ " lcms2 pkgs/main/win-64::lcms2-2.16-hb4a4139_0 \n",
87
+ " lerc pkgs/main/win-64::lerc-4.0.0-h5da7b33_0 \n",
88
+ " libclang pkgs/main/win-64::libclang-14.0.6-default_hb5a9fac_2 \n",
89
+ " libclang13 pkgs/main/win-64::libclang13-14.0.6-default_h8e68704_2 \n",
90
+ " libcurl pkgs/main/win-64::libcurl-8.9.1-h0416ee5_0 \n",
91
+ " libdeflate pkgs/main/win-64::libdeflate-1.22-h5bf469e_0 \n",
92
+ " libffi pkgs/main/win-64::libffi-3.4.4-hd77b12b_1 \n",
93
+ " libpng pkgs/main/win-64::libpng-1.6.39-h8cc25b3_0 \n",
94
+ " libpq pkgs/main/win-64::libpq-12.15-hb652d5d_1 \n",
95
+ " libprotobuf pkgs/main/win-64::libprotobuf-3.20.3-h23ce68f_0 \n",
96
+ " libssh2 pkgs/main/win-64::libssh2-1.10.0-hcd4344a_2 \n",
97
+ " libtiff pkgs/main/win-64::libtiff-4.5.1-h44ae7cf_1 \n",
98
+ " libwebp-base pkgs/main/win-64::libwebp-base-1.3.2-h3d04722_1 \n",
99
+ " lz4-c pkgs/main/win-64::lz4-c-1.9.4-h2bbff1b_1 \n",
100
+ " markdown pkgs/main/win-64::markdown-3.4.1-py310haa95532_0 \n",
101
+ " markupsafe pkgs/main/win-64::markupsafe-3.0.2-py310h827c3e9_0 \n",
102
+ " matplotlib pkgs/main/win-64::matplotlib-3.10.0-py310haa95532_0 \n",
103
+ " matplotlib-base pkgs/main/win-64::matplotlib-base-3.10.0-py310he19b0ae_0 \n",
104
+ " mkl pkgs/main/win-64::mkl-2023.1.0-h6b88ed4_46358 \n",
105
+ " mkl-service pkgs/main/win-64::mkl-service-2.4.0-py310h827c3e9_2 \n",
106
+ " mkl_fft pkgs/main/win-64::mkl_fft-1.3.11-py310h827c3e9_0 \n",
107
+ " mkl_random pkgs/main/win-64::mkl_random-1.2.8-py310hc64d2fc_0 \n",
108
+ " multidict pkgs/main/win-64::multidict-6.1.0-py310h827c3e9_0 \n",
109
+ " numexpr pkgs/main/win-64::numexpr-2.10.1-py310h4cd664f_0 \n",
110
+ " numpy pkgs/main/win-64::numpy-1.26.4-py310h055cbcc_0 \n",
111
+ " numpy-base pkgs/main/win-64::numpy-base-1.26.4-py310h65a83cf_0 \n",
112
+ " oauthlib pkgs/main/win-64::oauthlib-3.2.2-py310haa95532_0 \n",
113
+ " openjpeg pkgs/main/win-64::openjpeg-2.5.2-hae555c5_0 \n",
114
+ " openssl pkgs/main/win-64::openssl-1.1.1w-h2bbff1b_0 \n",
115
+ " opt_einsum pkgs/main/noarch::opt_einsum-3.3.0-pyhd3eb1b0_1 \n",
116
+ " packaging pkgs/main/win-64::packaging-24.2-py310haa95532_0 \n",
117
+ " pandas pkgs/main/win-64::pandas-2.2.3-py310h5da7b33_0 \n",
118
+ " pillow pkgs/main/win-64::pillow-11.1.0-py310h096bfcc_0 \n",
119
+ " pip pkgs/main/win-64::pip-25.0-py310haa95532_0 \n",
120
+ " ply pkgs/main/win-64::ply-3.11-py310haa95532_0 \n",
121
+ " propcache pkgs/main/win-64::propcache-0.2.0-py310h827c3e9_0 \n",
122
+ " protobuf pkgs/main/win-64::protobuf-3.20.3-py310hd77b12b_0 \n",
123
+ " pyasn1 pkgs/main/noarch::pyasn1-0.4.8-pyhd3eb1b0_0 \n",
124
+ " pyasn1-modules pkgs/main/noarch::pyasn1-modules-0.2.8-py_0 \n",
125
+ " pycparser pkgs/main/noarch::pycparser-2.21-pyhd3eb1b0_0 \n",
126
+ " pyjwt pkgs/main/win-64::pyjwt-2.10.1-py310haa95532_0 \n",
127
+ " pyopenssl pkgs/main/win-64::pyopenssl-23.2.0-py310haa95532_0 \n",
128
+ " pyparsing pkgs/main/win-64::pyparsing-3.2.0-py310haa95532_0 \n",
129
+ " pyqt pkgs/main/win-64::pyqt-5.15.10-py310h5da7b33_1 \n",
130
+ " pyqt5-sip pkgs/main/win-64::pyqt5-sip-12.13.0-py310h827c3e9_1 \n",
131
+ " pysocks pkgs/main/win-64::pysocks-1.7.1-py310haa95532_0 \n",
132
+ " python pkgs/main/win-64::python-3.10.13-h966fe2a_0 \n",
133
+ " python-dateutil pkgs/main/win-64::python-dateutil-2.9.0post0-py310haa95532_2 \n",
134
+ " python-flatbuffers pkgs/main/win-64::python-flatbuffers-24.3.25-py310haa95532_0 \n",
135
+ " python-tzdata pkgs/main/noarch::python-tzdata-2023.3-pyhd3eb1b0_0 \n",
136
+ " pytz pkgs/main/win-64::pytz-2024.1-py310haa95532_0 \n",
137
+ " qt-main pkgs/main/win-64::qt-main-5.15.2-h6072711_9 \n",
138
+ " re2 pkgs/main/win-64::re2-2022.04.01-hd77b12b_0 \n",
139
+ " requests pkgs/main/win-64::requests-2.32.3-py310haa95532_1 \n",
140
+ " requests-oauthlib pkgs/main/win-64::requests-oauthlib-2.0.0-py310haa95532_0 \n",
141
+ " rsa pkgs/main/noarch::rsa-4.7.2-pyhd3eb1b0_1 \n",
142
+ " scikit-learn pkgs/main/win-64::scikit-learn-1.6.1-py310h585ebfc_0 \n",
143
+ " scipy pkgs/main/win-64::scipy-1.15.1-py310h8640f81_0 \n",
144
+ " setuptools pkgs/main/win-64::setuptools-75.8.0-py310haa95532_0 \n",
145
+ " sip pkgs/main/win-64::sip-6.7.12-py310h5da7b33_1 \n",
146
+ " six pkgs/main/noarch::six-1.16.0-pyhd3eb1b0_1 \n",
147
+ " snappy pkgs/main/win-64::snappy-1.2.1-hcdb6601_0 \n",
148
+ " sqlite pkgs/main/win-64::sqlite-3.45.3-h2bbff1b_0 \n",
149
+ " tbb pkgs/main/win-64::tbb-2021.8.0-h59b6b97_0 \n",
150
+ " tensorboard pkgs/main/win-64::tensorboard-2.10.0-py310haa95532_0 \n",
151
+ " tensorboard-data-~ pkgs/main/win-64::tensorboard-data-server-0.6.1-py310haa95532_0 \n",
152
+ " tensorboard-plugi~ pkgs/main/win-64::tensorboard-plugin-wit-1.8.1-py310haa95532_0 \n",
153
+ " tensorflow pkgs/main/win-64::tensorflow-2.10.0-mkl_py310hd99672f_0 \n",
154
+ " tensorflow-base pkgs/main/win-64::tensorflow-base-2.10.0-mkl_py310h6a7f48e_0 \n",
155
+ " tensorflow-estima~ pkgs/main/win-64::tensorflow-estimator-2.10.0-py310haa95532_0 \n",
156
+ " termcolor pkgs/main/win-64::termcolor-2.1.0-py310haa95532_0 \n",
157
+ " threadpoolctl pkgs/main/win-64::threadpoolctl-3.5.0-py310h9909e9c_0 \n",
158
+ " tk pkgs/main/win-64::tk-8.6.14-h0416ee5_0 \n",
159
+ " tomli pkgs/main/win-64::tomli-2.0.1-py310haa95532_0 \n",
160
+ " tornado pkgs/main/win-64::tornado-6.4.2-py310h827c3e9_0 \n",
161
+ " typing-extensions pkgs/main/win-64::typing-extensions-4.12.2-py310haa95532_0 \n",
162
+ " typing_extensions pkgs/main/win-64::typing_extensions-4.12.2-py310haa95532_0 \n",
163
+ " tzdata pkgs/main/noarch::tzdata-2025a-h04d1e81_0 \n",
164
+ " unicodedata2 pkgs/main/win-64::unicodedata2-15.1.0-py310h827c3e9_1 \n",
165
+ " urllib3 pkgs/main/win-64::urllib3-2.3.0-py310haa95532_0 \n",
166
+ " vc pkgs/main/win-64::vc-14.42-haa95532_3 \n",
167
+ " vs2015_runtime pkgs/main/win-64::vs2015_runtime-14.42.34433-he0abc0d_3 \n",
168
+ " werkzeug pkgs/main/win-64::werkzeug-3.1.3-py310haa95532_0 \n",
169
+ " wheel pkgs/main/win-64::wheel-0.45.1-py310haa95532_0 \n",
170
+ " win_inet_pton pkgs/main/win-64::win_inet_pton-1.1.0-py310haa95532_0 \n",
171
+ " wrapt pkgs/main/win-64::wrapt-1.17.0-py310h827c3e9_0 \n",
172
+ " xz pkgs/main/win-64::xz-5.4.6-h8cc25b3_1 \n",
173
+ " yarl pkgs/main/win-64::yarl-1.18.0-py310h827c3e9_0 \n",
174
+ " zlib pkgs/main/win-64::zlib-1.2.13-h8cc25b3_1 \n",
175
+ " zstd pkgs/main/win-64::zstd-1.5.6-h8880b57_0 \n",
176
+ "\n",
177
+ "\n",
178
+ "\n",
179
+ "Downloading and Extracting Packages: ...working... done\n",
180
+ "Preparing transaction: done\n",
181
+ "Verifying transaction: done\n",
182
+ "Executing transaction: done\n",
183
+ "#\n",
184
+ "# To activate this environment, use\n",
185
+ "#\n",
186
+ "# $ conda activate myenv\n",
187
+ "#\n",
188
+ "# To deactivate an active environment, use\n",
189
+ "#\n",
190
+ "# $ conda deactivate\n",
191
+ "\n"
192
+ ]
193
+ }
194
+ ],
195
+ "source": [
196
+ "!conda create -n myenv python=3.10 pandas numpy scikit-learn tensorflow flask matplotlib -y\n",
197
+ "!conda activate myenv\n"
198
+ ]
199
+ },
200
+ {
201
+ "cell_type": "code",
202
+ "execution_count": 1,
203
+ "id": "a4b85eab-38e9-47f0-a64d-ca55b9424919",
204
+ "metadata": {},
205
+ "outputs": [
206
+ {
207
+ "ename": "ModuleNotFoundError",
208
+ "evalue": "No module named 'tensorflow'",
209
+ "output_type": "error",
210
+ "traceback": [
211
+ "\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
212
+ "\u001b[1;31mModuleNotFoundError\u001b[0m Traceback (most recent call last)",
213
+ "Cell \u001b[1;32mIn[1], line 4\u001b[0m\n\u001b[0;32m 2\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01mnumpy\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m \u001b[38;5;21;01mnp\u001b[39;00m\n\u001b[0;32m 3\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01msklearn\u001b[39;00m\n\u001b[1;32m----> 4\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01mtensorflow\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m \u001b[38;5;21;01mtf\u001b[39;00m\n\u001b[0;32m 5\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01mflask\u001b[39;00m\n\u001b[0;32m 6\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01mmatplotlib\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mpyplot\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m \u001b[38;5;21;01mplt\u001b[39;00m\n",
214
+ "\u001b[1;31mModuleNotFoundError\u001b[0m: No module named 'tensorflow'"
215
+ ]
216
+ }
217
+ ],
218
+ "source": [
219
+ "import pandas as pd\n",
220
+ "import numpy as np\n",
221
+ "import sklearn\n",
222
+ "import tensorflow as tf\n",
223
+ "import flask\n",
224
+ "import matplotlib.pyplot as plt\n",
225
+ "\n",
226
+ "print(\"All libraries are working correctly!\")\n"
227
+ ]
228
+ },
229
+ {
230
+ "cell_type": "code",
231
+ "execution_count": 3,
232
+ "id": "d888e3f5-8aa2-4d10-a454-2fefa58dfb2a",
233
+ "metadata": {},
234
+ "outputs": [
235
+ {
236
+ "name": "stdout",
237
+ "output_type": "stream",
238
+ "text": [
239
+ "All libraries are working correctly!\n"
240
+ ]
241
+ }
242
+ ],
243
+ "source": [
244
+ "import pandas as pd\n",
245
+ "import numpy as np\n",
246
+ "import sklearn\n",
247
+ "import flask\n",
248
+ "import matplotlib.pyplot as plt\n",
249
+ "\n",
250
+ "print(\"All libraries are working correctly!\")\n"
251
+ ]
252
+ },
253
+ {
254
+ "cell_type": "code",
255
+ "execution_count": 5,
256
+ "id": "e81ec52b-879f-4f43-9c06-68d6e23d4c6f",
257
+ "metadata": {},
258
+ "outputs": [
259
+ {
260
+ "ename": "ModuleNotFoundError",
261
+ "evalue": "No module named 'tensorflow'",
262
+ "output_type": "error",
263
+ "traceback": [
264
+ "\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
265
+ "\u001b[1;31mModuleNotFoundError\u001b[0m Traceback (most recent call last)",
266
+ "Cell \u001b[1;32mIn[5], line 1\u001b[0m\n\u001b[1;32m----> 1\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01mtensorflow\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m \u001b[38;5;21;01mtf\u001b[39;00m\n\u001b[0;32m 4\u001b[0m \u001b[38;5;28mprint\u001b[39m(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mAll libraries are working correctly!\u001b[39m\u001b[38;5;124m\"\u001b[39m)\n",
267
+ "\u001b[1;31mModuleNotFoundError\u001b[0m: No module named 'tensorflow'"
268
+ ]
269
+ }
270
+ ],
271
+ "source": [
272
+ "\n",
273
+ "import tensorflow as tf\n",
274
+ "\n",
275
+ "\n",
276
+ "print(\"All libraries are working correctly!\")\n"
277
+ ]
278
+ },
279
+ {
280
+ "cell_type": "code",
281
+ "execution_count": 7,
282
+ "id": "86fce768-4f2d-47d5-b285-df4efb0f6b7b",
283
+ "metadata": {},
284
+ "outputs": [
285
+ {
286
+ "name": "stdout",
287
+ "output_type": "stream",
288
+ "text": [
289
+ "Channels:\n",
290
+ " - defaults\n",
291
+ "Platform: win-64\n",
292
+ "Collecting package metadata (repodata.json): ...working... done\n",
293
+ "Solving environment: ...working... failed\n"
294
+ ]
295
+ },
296
+ {
297
+ "name": "stderr",
298
+ "output_type": "stream",
299
+ "text": [
300
+ "warning libmamba Added empty dependency for problem type SOLVER_RULE_UPDATE\n",
301
+ "\n",
302
+ "LibMambaUnsatisfiableError: Encountered problems while solving:\n",
303
+ " - nothing provides bleach 1.5.0 needed by tensorboard-1.7.0-py35he025d50_1\n",
304
+ "\n",
305
+ "Could not solve for environment specs\n",
306
+ "The following packages are incompatible\n",
307
+ "\\u251c\\u2500 pin-1 is installable and it requires\n",
308
+ "\\u2502 \\u2514\\u2500 python 3.12.* , which can be installed;\n",
309
+ "\\u2514\\u2500 tensorflow is not installable because there are no viable options\n",
310
+ " \\u251c\\u2500 tensorflow [1.10.0|1.9.0] would require\n",
311
+ " \\u2502 \\u2514\\u2500 python 3.5.* , which conflicts with any installable versions previously reported;\n",
312
+ " \\u251c\\u2500 tensorflow [1.10.0|1.11.0|...|2.1.0] would require\n",
313
+ " \\u2502 \\u2514\\u2500 python 3.6.* , which conflicts with any installable versions previously reported;\n",
314
+ " \\u251c\\u2500 tensorflow [1.13.1|1.14.0|...|2.9.1] would require\n",
315
+ " \\u2502 \\u2514\\u2500 python 3.7.* , which conflicts with any installable versions previously reported;\n",
316
+ " \\u251c\\u2500 tensorflow [1.7.0|1.7.1|1.8.0] would require\n",
317
+ " \\u2502 \\u2514\\u2500 tensorboard [>=1.7.0,<1.8.0 |>=1.8.0,<1.9.0 ], which requires\n",
318
+ " \\u2502 \\u2514\\u2500 bleach 1.5.0 , which does not exist (perhaps a missing channel);\n",
319
+ " \\u251c\\u2500 tensorflow [2.10.0|2.8.2|2.9.1] would require\n",
320
+ " \\u2502 \\u2514\\u2500 python 3.10.* , which conflicts with any installable versions previously reported;\n",
321
+ " \\u251c\\u2500 tensorflow [2.10.0|2.3.0|...|2.9.1] would require\n",
322
+ " \\u2502 \\u2514\\u2500 python 3.8.* , which conflicts with any installable versions previously reported;\n",
323
+ " \\u2514\\u2500 tensorflow [2.10.0|2.5.0|2.6.0|2.8.2|2.9.1] would require\n",
324
+ " \\u2514\\u2500 python 3.9.* , which conflicts with any installable versions previously reported.\n",
325
+ "\n",
326
+ "Pins seem to be involved in the conflict. Currently pinned specs:\n",
327
+ " - python 3.12.* (labeled as 'pin-1')\n",
328
+ "\n",
329
+ "\n"
330
+ ]
331
+ }
332
+ ],
333
+ "source": [
334
+ "!conda install tensorflow -y\n"
335
+ ]
336
+ },
337
+ {
338
+ "cell_type": "code",
339
+ "execution_count": 9,
340
+ "id": "df0c53b0-622d-44b5-872f-2f70cfcf0849",
341
+ "metadata": {},
342
+ "outputs": [
343
+ {
344
+ "ename": "error",
345
+ "evalue": "incomplete escape \\U at position 28",
346
+ "output_type": "error",
347
+ "traceback": [
348
+ "\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
349
+ "\u001b[1;31merror\u001b[0m Traceback (most recent call last)",
350
+ "Cell \u001b[1;32mIn[9], line 1\u001b[0m\n\u001b[1;32m----> 1\u001b[0m get_ipython()\u001b[38;5;241m.\u001b[39mrun_line_magic(\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mconda\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mcreate --name tf_env python=3.10 -y\u001b[39m\u001b[38;5;124m'\u001b[39m)\n",
351
+ "File \u001b[1;32m~\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py:2480\u001b[0m, in \u001b[0;36mInteractiveShell.run_line_magic\u001b[1;34m(self, magic_name, line, _stack_depth)\u001b[0m\n\u001b[0;32m 2478\u001b[0m kwargs[\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mlocal_ns\u001b[39m\u001b[38;5;124m'\u001b[39m] \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mget_local_scope(stack_depth)\n\u001b[0;32m 2479\u001b[0m \u001b[38;5;28;01mwith\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mbuiltin_trap:\n\u001b[1;32m-> 2480\u001b[0m result \u001b[38;5;241m=\u001b[39m fn(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs)\n\u001b[0;32m 2482\u001b[0m \u001b[38;5;66;03m# The code below prevents the output from being displayed\u001b[39;00m\n\u001b[0;32m 2483\u001b[0m \u001b[38;5;66;03m# when using magics with decorator @output_can_be_silenced\u001b[39;00m\n\u001b[0;32m 2484\u001b[0m \u001b[38;5;66;03m# when the last Python token in the expression is a ';'.\u001b[39;00m\n\u001b[0;32m 2485\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;28mgetattr\u001b[39m(fn, magic\u001b[38;5;241m.\u001b[39mMAGIC_OUTPUT_CAN_BE_SILENCED, \u001b[38;5;28;01mFalse\u001b[39;00m):\n",
352
+ "File \u001b[1;32m~\\anaconda3\\Lib\\site-packages\\IPython\\core\\magics\\packaging.py:30\u001b[0m, in \u001b[0;36mis_conda_environment.<locals>.wrapper\u001b[1;34m(*args, **kwargs)\u001b[0m\n\u001b[0;32m 25\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m Path(sys\u001b[38;5;241m.\u001b[39mprefix, \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mconda-meta\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mhistory\u001b[39m\u001b[38;5;124m\"\u001b[39m)\u001b[38;5;241m.\u001b[39mexists():\n\u001b[0;32m 26\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m \u001b[38;5;167;01mValueError\u001b[39;00m(\n\u001b[0;32m 27\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mThe python kernel does not appear to be a conda environment. \u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[0;32m 28\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mPlease use ``\u001b[39m\u001b[38;5;124m%\u001b[39m\u001b[38;5;124mpip install`` instead.\u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[0;32m 29\u001b[0m )\n\u001b[1;32m---> 30\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m func(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs)\n",
353
+ "File \u001b[1;32m~\\anaconda3\\Lib\\site-packages\\IPython\\core\\magics\\packaging.py:128\u001b[0m, in \u001b[0;36mPackagingMagics.conda\u001b[1;34m(self, line)\u001b[0m\n\u001b[0;32m 120\u001b[0m \u001b[38;5;129m@line_magic\u001b[39m\n\u001b[0;32m 121\u001b[0m \u001b[38;5;129m@is_conda_environment\u001b[39m\n\u001b[0;32m 122\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mconda\u001b[39m(\u001b[38;5;28mself\u001b[39m, line):\n\u001b[0;32m 123\u001b[0m \u001b[38;5;250m \u001b[39m\u001b[38;5;124;03m\"\"\"Run the conda package manager within the current kernel.\u001b[39;00m\n\u001b[0;32m 124\u001b[0m \n\u001b[0;32m 125\u001b[0m \u001b[38;5;124;03m Usage:\u001b[39;00m\n\u001b[0;32m 126\u001b[0m \u001b[38;5;124;03m %conda install [pkgs]\u001b[39;00m\n\u001b[0;32m 127\u001b[0m \u001b[38;5;124;03m \"\"\"\u001b[39;00m\n\u001b[1;32m--> 128\u001b[0m conda \u001b[38;5;241m=\u001b[39m _get_conda_like_executable(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mconda\u001b[39m\u001b[38;5;124m\"\u001b[39m)\n\u001b[0;32m 129\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_run_command(conda, line)\n",
354
+ "File \u001b[1;32m~\\anaconda3\\Lib\\site-packages\\IPython\\core\\magics\\packaging.py:53\u001b[0m, in \u001b[0;36m_get_conda_like_executable\u001b[1;34m(command)\u001b[0m\n\u001b[0;32m 50\u001b[0m \u001b[38;5;66;03m# Otherwise, attempt to extract the executable from conda history.\u001b[39;00m\n\u001b[0;32m 51\u001b[0m \u001b[38;5;66;03m# This applies in any conda environment.\u001b[39;00m\n\u001b[0;32m 52\u001b[0m history \u001b[38;5;241m=\u001b[39m Path(sys\u001b[38;5;241m.\u001b[39mprefix, \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mconda-meta\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mhistory\u001b[39m\u001b[38;5;124m\"\u001b[39m)\u001b[38;5;241m.\u001b[39mread_text(encoding\u001b[38;5;241m=\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mutf-8\u001b[39m\u001b[38;5;124m\"\u001b[39m)\n\u001b[1;32m---> 53\u001b[0m match \u001b[38;5;241m=\u001b[39m re\u001b[38;5;241m.\u001b[39msearch(\n\u001b[0;32m 54\u001b[0m \u001b[38;5;124mrf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m^#\u001b[39m\u001b[38;5;124m\\\u001b[39m\u001b[38;5;124ms*cmd:\u001b[39m\u001b[38;5;124m\\\u001b[39m\u001b[38;5;124ms*(?P<command>.*\u001b[39m\u001b[38;5;132;01m{\u001b[39;00mexecutable\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;124m)\u001b[39m\u001b[38;5;124m\\\u001b[39m\u001b[38;5;124ms[create|install]\u001b[39m\u001b[38;5;124m\"\u001b[39m,\n\u001b[0;32m 55\u001b[0m history,\n\u001b[0;32m 56\u001b[0m flags\u001b[38;5;241m=\u001b[39mre\u001b[38;5;241m.\u001b[39mMULTILINE,\n\u001b[0;32m 57\u001b[0m )\n\u001b[0;32m 58\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m match:\n\u001b[0;32m 59\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m match\u001b[38;5;241m.\u001b[39mgroupdict()[\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mcommand\u001b[39m\u001b[38;5;124m\"\u001b[39m]\n",
355
+ "File \u001b[1;32m~\\anaconda3\\Lib\\re\\__init__.py:177\u001b[0m, in \u001b[0;36msearch\u001b[1;34m(pattern, string, flags)\u001b[0m\n\u001b[0;32m 174\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21msearch\u001b[39m(pattern, string, flags\u001b[38;5;241m=\u001b[39m\u001b[38;5;241m0\u001b[39m):\n\u001b[0;32m 175\u001b[0m \u001b[38;5;250m \u001b[39m\u001b[38;5;124;03m\"\"\"Scan through string looking for a match to the pattern, returning\u001b[39;00m\n\u001b[0;32m 176\u001b[0m \u001b[38;5;124;03m a Match object, or None if no match was found.\"\"\"\u001b[39;00m\n\u001b[1;32m--> 177\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m _compile(pattern, flags)\u001b[38;5;241m.\u001b[39msearch(string)\n",
356
+ "File \u001b[1;32m~\\anaconda3\\Lib\\re\\__init__.py:307\u001b[0m, in \u001b[0;36m_compile\u001b[1;34m(pattern, flags)\u001b[0m\n\u001b[0;32m 301\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01mwarnings\u001b[39;00m\n\u001b[0;32m 302\u001b[0m warnings\u001b[38;5;241m.\u001b[39mwarn(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mThe re.TEMPLATE/re.T flag is deprecated \u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[0;32m 303\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mas it is an undocumented flag \u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[0;32m 304\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mwithout an obvious purpose. \u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[0;32m 305\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mDon\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mt use it.\u001b[39m\u001b[38;5;124m\"\u001b[39m,\n\u001b[0;32m 306\u001b[0m \u001b[38;5;167;01mDeprecationWarning\u001b[39;00m)\n\u001b[1;32m--> 307\u001b[0m p \u001b[38;5;241m=\u001b[39m _compiler\u001b[38;5;241m.\u001b[39mcompile(pattern, flags)\n\u001b[0;32m 308\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m flags \u001b[38;5;241m&\u001b[39m DEBUG:\n\u001b[0;32m 309\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m p\n",
357
+ "File \u001b[1;32m~\\anaconda3\\Lib\\re\\_compiler.py:745\u001b[0m, in \u001b[0;36mcompile\u001b[1;34m(p, flags)\u001b[0m\n\u001b[0;32m 743\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m isstring(p):\n\u001b[0;32m 744\u001b[0m pattern \u001b[38;5;241m=\u001b[39m p\n\u001b[1;32m--> 745\u001b[0m p \u001b[38;5;241m=\u001b[39m _parser\u001b[38;5;241m.\u001b[39mparse(p, flags)\n\u001b[0;32m 746\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[0;32m 747\u001b[0m pattern \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;01mNone\u001b[39;00m\n",
358
+ "File \u001b[1;32m~\\anaconda3\\Lib\\re\\_parser.py:979\u001b[0m, in \u001b[0;36mparse\u001b[1;34m(str, flags, state)\u001b[0m\n\u001b[0;32m 976\u001b[0m state\u001b[38;5;241m.\u001b[39mflags \u001b[38;5;241m=\u001b[39m flags\n\u001b[0;32m 977\u001b[0m state\u001b[38;5;241m.\u001b[39mstr \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mstr\u001b[39m\n\u001b[1;32m--> 979\u001b[0m p \u001b[38;5;241m=\u001b[39m _parse_sub(source, state, flags \u001b[38;5;241m&\u001b[39m SRE_FLAG_VERBOSE, \u001b[38;5;241m0\u001b[39m)\n\u001b[0;32m 980\u001b[0m p\u001b[38;5;241m.\u001b[39mstate\u001b[38;5;241m.\u001b[39mflags \u001b[38;5;241m=\u001b[39m fix_flags(\u001b[38;5;28mstr\u001b[39m, p\u001b[38;5;241m.\u001b[39mstate\u001b[38;5;241m.\u001b[39mflags)\n\u001b[0;32m 982\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m source\u001b[38;5;241m.\u001b[39mnext \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m:\n",
359
+ "File \u001b[1;32m~\\anaconda3\\Lib\\re\\_parser.py:460\u001b[0m, in \u001b[0;36m_parse_sub\u001b[1;34m(source, state, verbose, nested)\u001b[0m\n\u001b[0;32m 458\u001b[0m start \u001b[38;5;241m=\u001b[39m source\u001b[38;5;241m.\u001b[39mtell()\n\u001b[0;32m 459\u001b[0m \u001b[38;5;28;01mwhile\u001b[39;00m \u001b[38;5;28;01mTrue\u001b[39;00m:\n\u001b[1;32m--> 460\u001b[0m itemsappend(_parse(source, state, verbose, nested \u001b[38;5;241m+\u001b[39m \u001b[38;5;241m1\u001b[39m,\n\u001b[0;32m 461\u001b[0m \u001b[38;5;129;01mnot\u001b[39;00m nested \u001b[38;5;129;01mand\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m items))\n\u001b[0;32m 462\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m sourcematch(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m|\u001b[39m\u001b[38;5;124m\"\u001b[39m):\n\u001b[0;32m 463\u001b[0m \u001b[38;5;28;01mbreak\u001b[39;00m\n",
360
+ "File \u001b[1;32m~\\anaconda3\\Lib\\re\\_parser.py:862\u001b[0m, in \u001b[0;36m_parse\u001b[1;34m(source, state, verbose, nested, first)\u001b[0m\n\u001b[0;32m 859\u001b[0m group \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;01mNone\u001b[39;00m\n\u001b[0;32m 860\u001b[0m sub_verbose \u001b[38;5;241m=\u001b[39m ((verbose \u001b[38;5;129;01mor\u001b[39;00m (add_flags \u001b[38;5;241m&\u001b[39m SRE_FLAG_VERBOSE)) \u001b[38;5;129;01mand\u001b[39;00m\n\u001b[0;32m 861\u001b[0m \u001b[38;5;129;01mnot\u001b[39;00m (del_flags \u001b[38;5;241m&\u001b[39m SRE_FLAG_VERBOSE))\n\u001b[1;32m--> 862\u001b[0m p \u001b[38;5;241m=\u001b[39m _parse_sub(source, state, sub_verbose, nested \u001b[38;5;241m+\u001b[39m \u001b[38;5;241m1\u001b[39m)\n\u001b[0;32m 863\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m source\u001b[38;5;241m.\u001b[39mmatch(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m)\u001b[39m\u001b[38;5;124m\"\u001b[39m):\n\u001b[0;32m 864\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m source\u001b[38;5;241m.\u001b[39merror(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mmissing ), unterminated subpattern\u001b[39m\u001b[38;5;124m\"\u001b[39m,\n\u001b[0;32m 865\u001b[0m source\u001b[38;5;241m.\u001b[39mtell() \u001b[38;5;241m-\u001b[39m start)\n",
361
+ "File \u001b[1;32m~\\anaconda3\\Lib\\re\\_parser.py:460\u001b[0m, in \u001b[0;36m_parse_sub\u001b[1;34m(source, state, verbose, nested)\u001b[0m\n\u001b[0;32m 458\u001b[0m start \u001b[38;5;241m=\u001b[39m source\u001b[38;5;241m.\u001b[39mtell()\n\u001b[0;32m 459\u001b[0m \u001b[38;5;28;01mwhile\u001b[39;00m \u001b[38;5;28;01mTrue\u001b[39;00m:\n\u001b[1;32m--> 460\u001b[0m itemsappend(_parse(source, state, verbose, nested \u001b[38;5;241m+\u001b[39m \u001b[38;5;241m1\u001b[39m,\n\u001b[0;32m 461\u001b[0m \u001b[38;5;129;01mnot\u001b[39;00m nested \u001b[38;5;129;01mand\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m items))\n\u001b[0;32m 462\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m sourcematch(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m|\u001b[39m\u001b[38;5;124m\"\u001b[39m):\n\u001b[0;32m 463\u001b[0m \u001b[38;5;28;01mbreak\u001b[39;00m\n",
362
+ "File \u001b[1;32m~\\anaconda3\\Lib\\re\\_parser.py:544\u001b[0m, in \u001b[0;36m_parse\u001b[1;34m(source, state, verbose, nested, first)\u001b[0m\n\u001b[0;32m 541\u001b[0m \u001b[38;5;28;01mcontinue\u001b[39;00m\n\u001b[0;32m 543\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m this[\u001b[38;5;241m0\u001b[39m] \u001b[38;5;241m==\u001b[39m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;130;01m\\\\\u001b[39;00m\u001b[38;5;124m\"\u001b[39m:\n\u001b[1;32m--> 544\u001b[0m code \u001b[38;5;241m=\u001b[39m _escape(source, this, state)\n\u001b[0;32m 545\u001b[0m subpatternappend(code)\n\u001b[0;32m 547\u001b[0m \u001b[38;5;28;01melif\u001b[39;00m this \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;129;01min\u001b[39;00m SPECIAL_CHARS:\n",
363
+ "File \u001b[1;32m~\\anaconda3\\Lib\\re\\_parser.py:398\u001b[0m, in \u001b[0;36m_escape\u001b[1;34m(source, escape, state)\u001b[0m\n\u001b[0;32m 396\u001b[0m escape \u001b[38;5;241m+\u001b[39m\u001b[38;5;241m=\u001b[39m source\u001b[38;5;241m.\u001b[39mgetwhile(\u001b[38;5;241m8\u001b[39m, HEXDIGITS)\n\u001b[0;32m 397\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;28mlen\u001b[39m(escape) \u001b[38;5;241m!=\u001b[39m \u001b[38;5;241m10\u001b[39m:\n\u001b[1;32m--> 398\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m source\u001b[38;5;241m.\u001b[39merror(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mincomplete escape \u001b[39m\u001b[38;5;132;01m%s\u001b[39;00m\u001b[38;5;124m\"\u001b[39m \u001b[38;5;241m%\u001b[39m escape, \u001b[38;5;28mlen\u001b[39m(escape))\n\u001b[0;32m 399\u001b[0m c \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mint\u001b[39m(escape[\u001b[38;5;241m2\u001b[39m:], \u001b[38;5;241m16\u001b[39m)\n\u001b[0;32m 400\u001b[0m \u001b[38;5;28mchr\u001b[39m(c) \u001b[38;5;66;03m# raise ValueError for invalid code\u001b[39;00m\n",
364
+ "\u001b[1;31merror\u001b[0m: incomplete escape \\U at position 28"
365
+ ]
366
+ }
367
+ ],
368
+ "source": [
369
+ "conda create --name tf_env python=3.10 -y\n"
370
+ ]
371
+ },
372
+ {
373
+ "cell_type": "code",
374
+ "execution_count": 1,
375
+ "id": "7fe537b3-f35d-4699-ae77-af4eb467dc97",
376
+ "metadata": {},
377
+ "outputs": [
378
+ {
379
+ "ename": "ModuleNotFoundError",
380
+ "evalue": "No module named 'tensorflow'",
381
+ "output_type": "error",
382
+ "traceback": [
383
+ "\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
384
+ "\u001b[1;31mModuleNotFoundError\u001b[0m Traceback (most recent call last)",
385
+ "Cell \u001b[1;32mIn[1], line 4\u001b[0m\n\u001b[0;32m 2\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01mnumpy\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m \u001b[38;5;21;01mnp\u001b[39;00m\n\u001b[0;32m 3\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01msklearn\u001b[39;00m\n\u001b[1;32m----> 4\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01mtensorflow\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m \u001b[38;5;21;01mtf\u001b[39;00m\n\u001b[0;32m 5\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01mflask\u001b[39;00m\n\u001b[0;32m 6\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01mmatplotlib\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mpyplot\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m \u001b[38;5;21;01mplt\u001b[39;00m\n",
386
+ "\u001b[1;31mModuleNotFoundError\u001b[0m: No module named 'tensorflow'"
387
+ ]
388
+ }
389
+ ],
390
+ "source": [
391
+ "import pandas as pd\n",
392
+ "import numpy as np\n",
393
+ "import sklearn\n",
394
+ "import tensorflow as tf\n",
395
+ "import flask\n",
396
+ "import matplotlib.pyplot as plt\n",
397
+ "\n",
398
+ "print(\"All libraries are working correctly!\")\n",
399
+ "\n"
400
+ ]
401
+ },
402
+ {
403
+ "cell_type": "code",
404
+ "execution_count": null,
405
+ "id": "ddbf983a-7e08-40b0-9ef7-03490960b4dd",
406
+ "metadata": {},
407
+ "outputs": [],
408
+ "source": []
409
+ }
410
+ ],
411
+ "metadata": {
412
+ "kernelspec": {
413
+ "display_name": "Python [conda env:base] *",
414
+ "language": "python",
415
+ "name": "conda-base-py"
416
+ },
417
+ "language_info": {
418
+ "codemirror_mode": {
419
+ "name": "ipython",
420
+ "version": 3
421
+ },
422
+ "file_extension": ".py",
423
+ "mimetype": "text/x-python",
424
+ "name": "python",
425
+ "nbconvert_exporter": "python",
426
+ "pygments_lexer": "ipython3",
427
+ "version": "3.12.7"
428
+ }
429
+ },
430
+ "nbformat": 4,
431
+ "nbformat_minor": 5
432
+ }
sale_forecasting.ipynb ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": null,
6
+ "id": "8def5e67-36fc-405b-a915-05328f9737b9",
7
+ "metadata": {},
8
+ "outputs": [],
9
+ "source": []
10
+ }
11
+ ],
12
+ "metadata": {
13
+ "kernelspec": {
14
+ "display_name": "Python [conda env:base] *",
15
+ "language": "python",
16
+ "name": "conda-base-py"
17
+ },
18
+ "language_info": {
19
+ "codemirror_mode": {
20
+ "name": "ipython",
21
+ "version": 3
22
+ },
23
+ "file_extension": ".py",
24
+ "mimetype": "text/x-python",
25
+ "name": "python",
26
+ "nbconvert_exporter": "python",
27
+ "pygments_lexer": "ipython3",
28
+ "version": "3.12.7"
29
+ }
30
+ },
31
+ "nbformat": 4,
32
+ "nbformat_minor": 5
33
+ }