tensorflow cpu 1.8
(base) F:> (base) F:> (base) F:>conda create wind_202104 python=3.7 CondaValueError: The target prefix is the base prefix. Aborting. (base) F:> (base) F:> (base) F:>conda create -n wind_202104 python=3.7 Collecting package metadata (current_repodata.json): done Solving environment: done ==> WARNING: A newer version of conda exists. <== current version: 4.9.2 latest version: 4.10.0 Please update conda by running $ conda update -n base -c defaults conda ## Package Plan ## environment location: E:Anaconda3installenvswind_202104 added / updated specs: - python=3.7 The following NEW packages will be INSTALLED: ca-certificates pkgs/main/win-64::ca-certificates-2021.1.19-haa95532_1 certifi pkgs/main/win-64::certifi-2020.12.5-py37haa95532_0 openssl pkgs/main/win-64::openssl-1.1.1k-h2bbff1b_0 pip pkgs/main/win-64::pip-21.0.1-py37haa95532_0 python pkgs/main/win-64::python-3.7.10-h6244533_0 setuptools pkgs/main/win-64::setuptools-52.0.0-py37haa95532_0 sqlite pkgs/main/win-64::sqlite-3.35.4-h2bbff1b_0 vc pkgs/main/win-64::vc-14.2-h21ff451_1 vs2015_runtime pkgs/main/win-64::vs2015_runtime-14.27.29016-h5e58377_2 wheel pkgs/main/noarch::wheel-0.36.2-pyhd3eb1b0_0 wincertstore pkgs/main/win-64::wincertstore-0.2-py37_0 Proceed ([y]/n)?
done # # To activate this environment, use # # $ conda activate wind_202104 # # To deactivate an active environment, use # # $ conda deactivate (base) F:> (base) F:>
安装tensorflow1.14.0 cpu
(wind_202104) F:> (wind_202104) F:> (wind_202104) F:> (wind_202104) F:> (wind_202104) F:> (wind_202104) F:> (wind_202104) F:> (wind_202104) F:> (wind_202104) F:> (wind_202104) F:> (wind_202104) F:> (wind_202104) F:> (wind_202104) F:> (wind_202104) F:> (wind_202104) F:> (wind_202104) F:> (wind_202104) F:> (wind_202104) F:> (wind_202104) F:> (wind_202104) F:> (wind_202104) F:>pip install tensorflow==1.14.0 Collecting tensorflow==1.14.0 Downloading tensorflow-1.14.0-cp37-cp37m-win_amd64.whl (68.3 MB) |████████████████████████████████| 68.3 MB 3.2 MB/s Collecting protobuf>=3.6.1 Using cached protobuf-3.15.8-cp37-cp37m-win_amd64.whl (904 kB) Collecting keras-applications>=1.0.6 Downloading Keras_Applications-1.0.8-py3-none-any.whl (50 kB) |████████████████████████████████| 50 kB 3.0 MB/s Collecting six>=1.10.0 Using cached six-1.15.0-py2.py3-none-any.whl (10 kB) Collecting astor>=0.6.0 Downloading astor-0.8.1-py2.py3-none-any.whl (27 kB) Collecting tensorflow-estimator<1.15.0rc0,>=1.14.0rc0 Downloading tensorflow_estimator-1.14.0-py2.py3-none-any.whl (488 kB) |████████████████████████████████| 488 kB 6.4 MB/s Collecting google-pasta>=0.1.6 Using cached google_pasta-0.2.0-py3-none-any.whl (57 kB) Collecting numpy<2.0,>=1.14.5 Downloading numpy-1.20.2-cp37-cp37m-win_amd64.whl (13.6 MB) |████████████████████████████████| 13.6 MB 3.2 MB/s Collecting tensorboard<1.15.0,>=1.14.0 Downloading tensorboard-1.14.0-py3-none-any.whl (3.1 MB) |████████████████████████████████| 3.1 MB ... Collecting grpcio>=1.8.6 Using cached grpcio-1.37.0-cp37-cp37m-win_amd64.whl (3.1 MB) Collecting gast>=0.2.0 Downloading gast-0.4.0-py3-none-any.whl (9.8 kB) Requirement already satisfied: wheel>=0.26 in e:anaconda3installenvswind_202104libsite-packages (from tensorflow==1.14.0) (0.36.2) Collecting termcolor>=1.1.0 Using cached termcolor-1.1.0-py3-none-any.whl Collecting absl-py>=0.7.0 Using cached absl_py-0.12.0-py3-none-any.whl (129 kB) Collecting wrapt>=1.11.1 Using cached wrapt-1.12.1-cp37-cp37m-win_amd64.whl Collecting keras-preprocessing>=1.0.5 Using cached Keras_Preprocessing-1.1.2-py2.py3-none-any.whl (42 kB) Collecting h5py Downloading h5py-3.2.1-cp37-cp37m-win_amd64.whl (2.7 MB) |████████████████████████████████| 2.7 MB ... Collecting werkzeug>=0.11.15 Using cached Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB) Requirement already satisfied: setuptools>=41.0.0 in e:anaconda3installenvswind_202104libsite-packages (from tensorboard<1.15.0,>=1.14.0->tensorflow==1.14.0) (52.0.0.post20210125) Collecting markdown>=2.6.8 Using cached Markdown-3.3.4-py3-none-any.whl (97 kB) Collecting importlib-metadata Using cached importlib_metadata-3.10.0-py3-none-any.whl (14 kB) Collecting cached-property Downloading cached_property-1.5.2-py2.py3-none-any.whl (7.6 kB) Collecting zipp>=0.5 Using cached zipp-3.4.1-py3-none-any.whl (5.2 kB) Collecting typing-extensions>=3.6.4 Using cached typing_extensions-3.7.4.3-py3-none-any.whl (22 kB) Installing collected packages: zipp, typing-extensions, six, numpy, importlib-metadata, cached-property, werkzeug, protobuf, markdown, h5py, grpcio, absl-py, wrapt, termcolor, tensorflow-estimator, tensorboard, keras-preprocessing, keras-applications, google-pasta, gast, astor, tensorflow Successfully installed absl-py-0.12.0 astor-0.8.1 cached-property-1.5.2 gast-0.4.0 google-pasta-0.2.0 grpcio-1.37.0 h5py-3.2.1 importlib-metadata-3.10.0 keras-applications-1.0.8 keras-preprocessing-1.1.2 markdown-3.3.4 numpy-1.20.2 protobuf-3.15.8 six-1.15.0 tensorboard-1.14.0 tensorflow-1.14.0 tensorflow-estimator-1.14.0 termcolor-1.1.0 typing-extensions-3.7.4.3 werkzeug-1.0.1 wrapt-1.12.1 zipp-3.4.1 (wind_202104) F:> (wind_202104) F:> (wind_202104) F:> (wind_202104) F:> (wind_202104) F:> (wind_202104) F:> (wind_202104) F:> (wind_202104) F:> (wind_202104) F:> (wind_202104) F:> (wind_202104) F:> (wind_202104) F:> (wind_202104) F:> (wind_202104) F:>
(wind_202104) F:TensorflowProjectmodels-1.12.0 esearch> (wind_202104) F:TensorflowProjectmodels-1.12.0 esearch> (wind_202104) F:TensorflowProjectmodels-1.12.0 esearch> (wind_202104) F:TensorflowProjectmodels-1.12.0 esearch> (wind_202104) F:TensorflowProjectmodels-1.12.0 esearch> (wind_202104) F:TensorflowProjectmodels-1.12.0 esearch> (wind_202104) F:TensorflowProjectmodels-1.12.0 esearch> (wind_202104) F:TensorflowProjectmodels-1.12.0 esearch> (wind_202104) F:TensorflowProjectmodels-1.12.0 esearch> (wind_202104) F:TensorflowProjectmodels-1.12.0 esearch> (wind_202104) F:TensorflowProjectmodels-1.12.0 esearch>pip install protobuf-compiler Collecting protobuf-compiler Downloading protobuf_compiler-1.0.20-py3-none-any.whl (8.6 kB) Collecting colorama==0.3.3 Downloading colorama-0.3.3.tar.gz (22 kB) Collecting grpcio-tools==1.18.0 Downloading grpcio_tools-1.18.0-cp37-cp37m-win_amd64.whl (1.4 MB) |████████████████████████████████| 1.4 MB 327 kB/s Collecting tqdm==4.31.1 Downloading tqdm-4.31.1-py2.py3-none-any.whl (48 kB) |████████████████████████████████| 48 kB 1.2 MB/s Requirement already satisfied: termcolor==1.1.0 in e:anaconda3installenvswind_202104libsite-packages (from protobuf-compiler) (1.1.0) Collecting grpcio==1.18.0 Downloading grpcio-1.18.0-cp37-cp37m-win_amd64.whl (1.5 MB) |████████████████████████████████| 1.5 MB 6.4 MB/s Collecting bleach==2.1.0 Downloading bleach-2.1-py2.py3-none-any.whl (27 kB) Requirement already satisfied: six in e:anaconda3installenvswind_202104libsite-packages (from bleach==2.1.0->protobuf-compiler) (1.15.0) Collecting html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,>=0.99999999pre Downloading html5lib-1.1-py2.py3-none-any.whl (112 kB) |████████████████████████████████| 112 kB ... Requirement already satisfied: protobuf>=3.5.0.post1 in e:anaconda3installenvswind_202104libsite-packages (from grpcio-tools==1.18.0->protobuf-compiler) (3.15.8) Collecting webencodings Downloading webencodings-0.5.1-py2.py3-none-any.whl (11 kB) Building wheels for collected packages: colorama Building wheel for colorama (setup.py) ... done Created wheel for colorama: filename=colorama-0.3.3-py3-none-any.whl size=14317 sha256=9fc1a24fafc34c96b66bf40ae2f3a4444e0b06e1c455aecb23f78543e88423c9 Stored in directory: c:usersimappdatalocalpipcachewheelsac429777eb85865f435ca81a91fe4c269471f5b4d50144344868f3b1 Successfully built colorama Installing collected packages: webencodings, html5lib, grpcio, tqdm, grpcio-tools, colorama, bleach, protobuf-compiler Attempting uninstall: grpcio Found existing installation: grpcio 1.37.0 Uninstalling grpcio-1.37.0: Successfully uninstalled grpcio-1.37.0 Successfully installed bleach-2.1 colorama-0.3.3 grpcio-1.18.0 grpcio-tools-1.18.0 html5lib-1.1 protobuf-compiler-1.0.20 tqdm-4.31.1 webencodings-0.5.1 (wind_202104) F:TensorflowProjectmodels-1.12.0 esearch> (wind_202104) F:TensorflowProjectmodels-1.12.0 esearch> (wind_202104) F:TensorflowProjectmodels-1.12.0 esearch> (wind_202104) F:TensorflowProjectmodels-1.12.0 esearch> (wind_202104) F:TensorflowProjectmodels-1.12.0 esearch> (wind_202104) F:TensorflowProjectmodels-1.12.0 esearch> (wind_202104) F:TensorflowProjectmodels-1.12.0 esearch>
参考:https://github.com/tensorflow/models/blob/v1.12.0/research/object_detection/g3doc/installation.md
#############