Python: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 139: Line 139:
<!--T:65-->
<!--T:65-->
In some cases, such as TensorFlow, we provide wheels for a specific host (cpu or gpu), suffixed with <code>_cpu</code> or <code>_gpu</code>. Packages dependent on <code>tensorflow</code> will then fail to install.  
In some cases, such as TensorFlow, we provide wheels for a specific host (cpu or gpu), suffixed with <code>_cpu</code> or <code>_gpu</code>. Packages dependent on <code>tensorflow</code> will then fail to install.  
If <code>my_package</code> depend on <code>numpy</code> and <code>tensorflow</code>, then the following will allow us to install it:
If <code>my_package</code> depends on <code>numpy</code> and <code>tensorflow</code>, then the following will allow us to install it:
{{Commands|prompt=(ENV) [name@server ~]
{{Commands|prompt=(ENV) [name@server ~]
|pip install numpy tensorflow_cpu --no-index
|pip install numpy tensorflow_cpu --no-index
Line 579: Line 579:


=== X is not a supported wheel on this platform === <!--T:93-->
=== X is not a supported wheel on this platform === <!--T:93-->
When installing a package you may encounter the following error: <tt>ERROR: package-3.8.1-cp311-cp311-manylinux_2_28_x86_64.whl is not a supported wheel on this platform.</tt>
When installing a package you may encounter the following error: <code>ERROR: package-3.8.1-cp311-cp311-manylinux_2_28_x86_64.whl is not a supported wheel on this platform.</code>


<!--T:94-->
<!--T:94-->
rsnt_translations
56,420

edits