Skip to content

Commit 8efbd46

Browse files
lambertaCopybara-Service
authored andcommitted
Add enable long paths to Windows pip install guide.
PiperOrigin-RevId: 234158489
1 parent 1f422cc commit 8efbd46

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

site/en/install/errors.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,4 +305,8 @@ ImportError: cannot import name 'descriptor'</pre>
305305
<td><a href="https://github.com/tensorflow/tensorflow/issues/22512">22512</a>, <a href="https://github.com/tensorflow/tensorflow/issues/22794">22794</a></td>
306306
<td><pre>ImportError: DLL load failed: The specified module could not be found.</pre></td>
307307
</tr>
308+
<tr>
309+
<td><a href="https://github.com/tensorflow/tensorflow/issues/24835">24835</a></td>
310+
<td><pre>Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: [long path name]</pre></td>
311+
</tr>
308312
</table>

site/en/install/pip.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ <h3>Windows</h3><!--python3-->
144144
<li>Select <em>Redistributables and Build Tools</em>,</li>
145145
<li>Download and install the <em>Microsoft Visual C++ 2015 Redistributable Update 3</em>.</li>
146146
</ol>
147+
<p>Make sure <a href="https://superuser.com/questions/1119883/windows-10-enable-ntfs-long-paths-policy-option-missing" class="external">long paths are enabled</a> on Windows.</p>
147148
<p>Install the <em>64-bit</em> <a href="https://www.python.org/downloads/windows/" class="external">Python 3 release for Windows</a> (select <code>pip</code> as an optional feature).</p>
148149
<pre class="devsite-terminal tfo-terminal-windows devsite-click-to-copy">pip3 install -U pip virtualenv</pre>
149150
</section>

0 commit comments

Comments
 (0)