{"id":277,"date":"2021-06-27T21:38:00","date_gmt":"2021-06-27T13:38:00","guid":{"rendered":"https:\/\/cn1.club\/?p=277"},"modified":"2025-03-15T22:59:19","modified_gmt":"2025-03-15T14:59:19","slug":"python-pip-install-spleeter%e6%93%8d%e4%bd%9c%e5%87%ba%e7%8e%b0could-not-find-a-version-that-satisfies-the-requirement-tensorflow","status":"publish","type":"post","link":"http:\/\/cn1.club\/?p=277","title":{"rendered":"Python pip install spleeter\u64cd\u4f5c\u51fa\u73b0:Could not find a version that satisfies the requirement tensorflow"},"content":{"rendered":"\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u5f15\u8a00\uff1a Tensorflow\u5927\u540d\u9f0e\u9f0e\uff0c\u8fd9\u91cc\u4e0d\u518d\u8d58\u8ff0\u5176\u4e3a\u4f55\u7269\u3002\u8fd9\u91cc\u8bb2\u63cf\u8ff0\u5728\u5b89\u88c5python\u5305\u7684\u65f6\u5019\u78b0\u5230\u7684\u201cNo matching distribution found for tensorflow\u201d\uff0c\u5176\u539f\u56e0\u4ee5\u53ca\u5982\u4f55\u89e3\u51b3\u3002<\/p>\n<\/blockquote>\n\n\n\n<p><strong>\u7b80\u5355\u7684\u5b89\u88c5tensorflow<\/strong><br>\u8fd9\u91cc\u5b89\u88c5\u7684tensorflow\u7684cpu\u7248\u672c\uff0cgpu\u7248\u672c\u53ef\u4ee5\u81ea\u884c\u641c\u7d22\u5b89\u88c5\u6307\u5357\uff0c\u6216\u8005\u53c2\u8003\u5982\u4e0b\u6307\u4ee4\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" >pip3 install tensorflow #cpu<\/code><\/pre>\n\n\n\n<p>\u8fd9\u91cc\u4f7f\u7528\u7684python 3.6.3\u7248\u672c\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" >pip3 install tensorflow-gpu<\/code><\/pre>\n\n\n\n<p>\u8fd9\u91cc\u662fgpu\u7684\u7248\u672c\u3002<\/p>\n\n\n\n<p>Windows\u7684\u73af\u5883Windows 7<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u95ee\u9898\u63cf\u8ff0\uff1a<br>pip3 install tensorflow<\/p>\n\n\n\n<p>\u5982\u6b64\u7b80\u5355\u7684\u6307\u4ee4\uff0c\u5e94\u8be5\u4e0d\u4f1a\u51fa\u9519\u5427\uff0c\u7ed3\u679c\u5f97\u5230\u5982\u4e0b\u9519\u8bef\u4fe1\u606f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" >Collecting tensorflow\nCould not find a version that satisfies the requirement tensorflow (from versions: ) No matching distribution found for tensorflow<\/code><\/pre>\n\n\n\n<p>\u4e3a\u4ec0\u4e48\u6ca1\u6709\u627e\u5230tensorflow\u5462\uff1f\u90a3\u6211\u4eec\u81ea\u884c\u627e\u627e\u770b\u5427\uff1f<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" >pip3 search tensorflow<\/code><\/pre>\n\n\n\n<p>\u5177\u4f53\u7684\u8f93\u51fa\u4fe1\u606f\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" >tensorbase (0.3) - Minimalistic TensorFlow\nFramework\ntensorbayes (0.3.0) - Deep Variational Inference in\nTensorFlow\ntensorflow-tensorboard (0.4.0rc3) - TensorBoard lets you watch\nTensors Flow\ntensorboard_logger (0.0.4) - Log TensorBoard events without\nTensorflow\ntensorboardX (0.8) - TensorBoardX lets you watch\nTensors Flow without Tensorflow\ntensorbuilder (0.3.6) - A light wrapper over TensorFlow\nthat enables you to easily\ncreate complex deep neural\nnetworks using the Builder\nPattern through a functional\nfluent immutable API\ntensorflow-utils (0.1.0) - Classes and methods to make\nusing TensorFlow easier\ntensorflow-transform (0.4.0) - A library for data\npreprocessing with TensorFlow\ntensorflow (1.5.0rc0) - TensorFlow helps the tensors\nflow\ntensorflow_forward_ad (0.3.3) - TensorFlow forward-mode\nautomatic differentiation\ntensorflow_hmm (0.4.1) - Tensorflow and numpy\nimplementations of the HMM\nviterbi and forward\/backward\nalgorithms\ntensorflow_nlp (0.0.1) - Deep Learning NLP Tasks\nimplemented on Tensorflow\ntensorflowonspark (1.1.0) - Deep learning with TensorFlow\non Apache Spark clusters\ntensorflowservingclient (0.5.1.post2) - Prebuilt tensorflow serving\nclient\ntensorforce (0.3.4) - Reinforcement learning for\nTensorFlow\ntensorfunk (0.0.0) - tensorflow model converter to\ncreate tensorflow-independent\nprediction functions.\ntensorfuse (0.0.1) - Common interface for Theano,\nCGT, and TensorFlow\ntensorgraph (3.5.8) - A high level tensorflow library\nfor building deep learning\nmodels\ntensorhive (0.1.1) - Lightweight computing resource\nmanagement tool for executing\ndistributed TensorFlow programs\ntensorlm (0.3) - TensorFlow wrapper for deep\nneural text generation on\ncharacter or word level with\nRNNs \/ LSTMs\nTensorMol (0.1) - TensorFlow+Molecules =\nTensorMol\ntensorpack (0.8.0) - Neural Network Toolbox on\nTensorFlow\ntensorpy (1.1.0) - Easy Image Classification with\nTensorFlow!\ntensorrec (0.1) - A TensorFlow recommendation\nalgorithm and framework in\nPython.\ntensorspark (1.0.6) - Tensorflow on Spark, a scalable\nsystem for high-performance\nmachine learning\ntensorvision (0.1.dev1) - A library to build and train\nneural networks in with\nTensorFlow for Computer Vision\nTFANN (1.0.1) - A neural network module\ncontaining implementations of\nMLP, and CNN networks in\nTensorFlow.\nTFBOYS (0.0.1) - TensorFlow BOYS\ntfcf (0.0.0) - A tensorflow-based recommender\nsystem.\ntfcoreml (0.1.0) - Tensorflow to Core ML converter\ntfdebugger (0.1.1) - TensorFlow Debugger\ntfdeploy (0.4.2) - Deploy tensorflow graphs for\nfast evaluation and export to\ntensorflow-less environments\nrunning numpy.\ntfgraph (0.2) - Python\u2019s Tensorflow Graph\nLibrary\ntfgraphviz (0.0.6) - A visualization tool to show a\ngraph like TensorFlow and\nTensorBoard<\/code><\/pre>\n\n\n\n<p>\u60b2\u4f24\u7684\u6211\u5982\u6b64\u96be\u4ee5\u81ea\u6291\uff0c\u660e\u660e\u53ef\u4ee5\u627e\u5230\u7684\uff0c\u600e\u4e48\u5374\u65e0\u6cd5\u5b89\u88c5\u55ef\uff1f\u6211\u9700\u8981\u81ea\u884c\u597d\u597d\u627e\u627e\u660e\u660e\u662f\u8c01\uff1f \uff1a-\uff09<\/p>\n\n\n\n<p>\u95ee\u9898\u5206\u6790<\/p>\n\n\n\n<p>\u4e8c\u8bdd\u4e0d\u8bf4\uff0c\u76f4\u63a5\u4e0a\u5b98\u7f51\u4e0a\u67e5\u67e5\u770b\uff0c\u867d\u7136\u5b98\u7f51\u79bb\u6211\u671d\u8fdc\u9694\u4e07\u91cc\uff0c\u9700\u8981\u8dcb\u5c71\u6d89\u6c34\u4e4b\u540e\u65b9\u53ef\u8fbe\u5230\u3002\u7ffb\u8fc7\u62ff\u5230\u770b\u4e0d\u89c1\u7684\u5899\u4e4b\u540e\uff0c\u91cd\u8981\u53ef\u4ee5\u770b\u5230\u5b98\u65b9\u4fe1\u606f\u4e86\u3002<br>\u5b98\u65b9\u8def\u6807\u5982\u4e0b\uff1a https:\/\/www.tensorflow.org\/install\/install_windows<br>\u5176\u4e2d\u6240\u63d0\u5b89\u88c5\u6b65\u9aa4\u975e\u5e38\u7b80\u6d01\uff0c\u5982\u6b64\u7b80\u6d01\u7684\u6b65\u9aa4\uff0c\u600e\u4e48\u53ef\u80fd\u51fa\u9519\uff1f \u4e8e\u662f\u91cd\u65b0\u68b3\u7406\u4e86\u4e00\u4e0b\uff0c\u96be\u9053\u662fPython\u6216\u8005pip3\u672c\u8eab\u7684\u95ee\u9898\u5417\uff1f<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" >check pip3\n\npip \u2013version<\/code><\/pre>\n\n\n\n<p>\u53d1\u73b0\u5176\u4e3a\u6700\u65b0\u7248\u672c\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" >pip 9.0.1 from d:\\program files (x86)\\python\\lib\\site-packages (python 3.6)<\/code><\/pre>\n\n\n\n<p>\u90a3Python\u5462\uff1f \u5b98\u65b9\u6587\u6863\u4e2d\u63d0\u5230\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" >If one of the following versions of Python is not installed on your machine, install it now:\n* Python 3.5.x 64-bit from python.org\n* Python 3.6.x 64-bit from python.org<\/code><\/pre>\n\n\n\n<p>\u96be\u9053\u6211\u5b89\u88c5\u7684python\u662f\u5047python\u4e0d\u6210\uff1f \u4f30\u8ba1\u6709\u53ef\u80fd\u5427\uff0c\u96be\u9053\u662f64bit\u7684\u95ee\u9898\uff1f<\/p>\n\n\n\n<p>\u68c0\u67e5python\u7684\u7248\u672c<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" >python -v<\/code><\/pre>\n\n\n\n<p>\u5f97\u5230\u4e86python\u7684\u5b8c\u6574\u4fe1\u606f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" >&gt; D:\\Program Files (x86)\\python\\lib\\__pycache__\\sysconfig.cpython-36.pyc matches D:\\Program Files (x86)\\python\\lib\\sysconfig.py\n&gt;  code object from &#039;D:\\\\Program Files (x86)\\\\python\\\\lib\\\\__pycache__\\\\sysconfig.cpython-36.pyc&#039;\nimport &#039;sysconfig&#039; # &lt;_frozen_importlib_external.SourceFileLoader object at 0x006A1230&gt;\n&gt; D:\\Program Files (x86)\\python\\lib\\__pycache__\\_bootlocale.cpython-36.pyc matches D:\\Program Files (x86)\\python\\lib\\_bootlocale.py\n&gt; code object from &#039;D:\\\\Program Files (x86)\\\\python\\\\lib\\\\__pycache__\\\\_bootlocale.cpython-36.pyc&#039;\nimport &#039;_locale&#039; # &lt;class &#039;_frozen_importlib.BuiltinImporter&#039;&gt;\nimport &#039;_bootlocale&#039; # &lt;_frozen_importlib_external.SourceFileLoader object at 0x007911D0&gt;\n&gt; D:\\Program Files (x86)\\python\\lib\\encodings\\__pycache__\\gbk.cpython-36.pyc matches D:\\Program Files (x86)\\python\\lib\\encodings\\gbk.py\n&gt; code object from &#039;D:\\\\Program Files (x86)\\\\python\\\\lib\\\\encodings\\\\__pycache__\\\\gbk.cpython-36.pyc&#039;\nimport &#039;_codecs_cn&#039; # &lt;class &#039;_frozen_importlib.BuiltinImporter&#039;&gt;\nimport &#039;_multibytecodec&#039; # &lt;class &#039;_frozen_importlib.BuiltinImporter&#039;&gt;\nimport &#039;encodings.gbk&#039; # &lt;_frozen_importlib_external.SourceFileLoader object at 0x00791490&gt;\nimport &#039;site&#039; # &lt;_frozen_importlib_external.SourceFileLoader object at 0x004F73D0&gt;\nPython 3.6.3 (v3.6.3:2c5fed8, Oct  3 2017, 17:26:49) &#091;MSC v.1900 32 bit (Intel)] on win32\nType &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.\nimport &#039;atexit&#039; # &lt;class &#039;_frozen_importlib.BuiltinImporter&#039;&gt;<\/code><\/pre>\n\n\n\n<p>\u5176\u4e2d\u5173\u4e8epython\u7684\u5173\u952e\u4fe1\u606f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" >Python 3.6.3 (v3.6.3:2c5fed8, Oct 3 2017, 17:26:49) &#091;MSC v.1900 32 bit (Intel)] on win32<\/code><\/pre>\n\n\n\n<p>\u201c32bit\u201d !!! \u4e00\u53e3\u8001\u8840\u55b7\u51fa\uff0c\u4f17\u91cc\u5bfb\u4ed6\u5343\u767e\u5ea6\uff0c\u84e6\u7136\u56de\u9996bug\u6b63\u5728\u8fd9\u706f\u706b\u9611\u73ca\u5904\u3002\u539f\u6765\u662fpython\u7248\u672c\u7684\u95ee\u9898\u5bfc\u81f4\u7684\u3002<\/p>\n\n\n\n<p>\u4fee\u590d\u95ee\u9898<br>\u91cd\u65b0\u4e0b\u8f7d\u4e00\u4e2a64bit\u7684python\u7248\u672c\uff0c\u4e4b\u540e\u91cd\u65b0\u64cd\u4f5c\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n\n\n\n<p>python -v<\/p>\n\n\n\n<p>\u67e5\u770b\u5176\u4e2d\u7684\u5173\u952e\u4fe1\u606f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" >Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) &#091;MSC v.1900 64 bit (AMD64)] on win32<\/code><\/pre>\n\n\n\n<p>\u786e\u8ba4\u662f64\u4f4d\uff0c\u6ca1\u6709\u95ee\u9898\u3002\u7136\u540e\u76f4\u63a5\u5b89\u88c5tensorflow:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" >pip3 install tensorflow<\/code><\/pre>\n\n\n\n<p>\u5b89\u88c5\u8fc7\u7a0b\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" >C:\\windows\\system32&gt;pip3 install tensorflow\nCollecting tensorflow\n  Downloading tensorflow-1.4.0-cp36-cp36m-win_amd64.whl (28.3MB)\n    100% |\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 28.3MB 39kB\/s\nCollecting enum34&gt;=1.1.6 (from tensorflow)\n  Downloading enum34-1.1.6-py3-none-any.whl\nRequirement already satisfied: wheel&gt;=0.26 in d:\\program files (x86)\\python\\lib\\site-packages (from tensorflow)\nCollecting protobuf&gt;=3.3.0 (from tensorflow)\n  Downloading protobuf-3.5.1-py2.py3-none-any.whl (388kB)\n    100% |\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 389kB 593kB\/s\nCollecting tensorflow-tensorboard&lt;0.5.0,&gt;=0.4.0rc1 (from tensorflow)\n  Downloading tensorflow_tensorboard-0.4.0rc3-py3-none-any.whl (1.7MB)\n    100% |\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 1.7MB 182kB\/s\nRequirement already satisfied: six&gt;=1.10.0 in d:\\program files (x86)\\python\\lib\\site-packages (from tensorflow)\nCollecting numpy&gt;=1.12.1 (from tensorflow)\n  Downloading numpy-1.13.3-cp36-none-win_amd64.whl (13.1MB)\n    100% |\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 13.1MB 81kB\/s\nRequirement already satisfied: setuptools in d:\\program files (x86)\\python\\lib\\site-packages (from protobuf&gt;=3.3.0-&gt;tensorflow)\nCollecting html5lib==0.9999999 (from tensorflow-tensorboard&lt;0.5.0,&gt;=0.4.0rc1-&gt;tensorflow)\n  Downloading html5lib-0.9999999.tar.gz (889kB)\n    100% |\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 890kB 504kB\/s\nCollecting bleach==1.5.0 (from tensorflow-tensorboard&lt;0.5.0,&gt;=0.4.0rc1-&gt;tensorflow)\n  Downloading bleach-1.5.0-py2.py3-none-any.whl\nRequirement already satisfied: werkzeug&gt;=0.11.10 in d:\\program files (x86)\\python\\lib\\site-packages (from tensorflow-tensorboard&lt;0.5.0,&gt;=0.4.0rc1-&gt;tensorflow)\nCollecting markdown&gt;=2.6.8 (from tensorflow-tensorboard&lt;0.5.0,&gt;=0.4.0rc1-&gt;tensorflow)\n  Downloading Markdown-2.6.11-py2.py3-none-any.whl (78kB)\n    100% |\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 81kB 583kB\/s\nBuilding wheels for collected packages: html5lib\n  Running setup.py bdist_wheel for html5lib ... done\n  Stored in directory: C:\\Users\\chenjunfeng1\\AppData\\Local\\pip\\Cache\\wheels\\6f\\85\\6c\\56b8e1292c6214c4eb73b9dda50f53e8e977bf65989373c962\nSuccessfully built html5lib\nInstalling collected packages: enum34, protobuf, html5lib, numpy, bleach, markdown, tensorflow-tensorboard, tensorflow\nSuccessfully installed bleach-1.5.0 enum34-1.1.6 html5lib-0.9999999 markdown-2.6.11 numpy-1.13.3 protobuf-3.5.1 tensorflow-1.4.0 tensorflow-tensorboard-0.4.0rc3\n<\/code><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5f15\u8a00\uff1a Tensorflow\u5927\u540d\u9f0e\u9f0e\uff0c\u8fd9\u91cc\u4e0d\u518d\u8d58\u8ff0\u5176\u4e3a\u4f55\u7269\u3002\u8fd9\u91cc\u8bb2\u63cf\u8ff0\u5728\u5b89\u88c5python\u5305\u7684\u65f6\u5019\u78b0\u5230\u7684\u201cNo  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"class_list":["post-277","post","type-post","status-publish","format-standard","hentry","category-coder"],"_links":{"self":[{"href":"http:\/\/cn1.club\/index.php?rest_route=\/wp\/v2\/posts\/277","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/cn1.club\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/cn1.club\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/cn1.club\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/cn1.club\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=277"}],"version-history":[{"count":0,"href":"http:\/\/cn1.club\/index.php?rest_route=\/wp\/v2\/posts\/277\/revisions"}],"wp:attachment":[{"href":"http:\/\/cn1.club\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=277"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/cn1.club\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=277"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/cn1.club\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}