Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS C:\Users\wasya> python --version
Python 3.13.1
PS C:\Users\wasya> python -m venv myenv
>>
PS C:\Users\wasya> .\myenv\Scripts\activate
(myenv) PS C:\Users\wasya> python -m pip install --upgrade pip
Requirement already satisfied: pip in c:\users\wasya\myenv\lib\site-packages (24.3.1)
Collecting pip
Downloading pip-25.0-py3-none-any.whl.metadata (3.7 kB)
Downloading pip-25.0-py3-none-any.whl (1.8 MB)
---------------------------------------- 1.8/1.8 MB 12.2 MB/s eta 0:00:00
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 24.3.1
Uninstalling pip-24.3.1:
Successfully uninstalled pip-24.3.1
Successfully installed pip-25.0
(myenv) PS C:\Users\wasya> pip install numpy
Collecting numpy
Using cached numpy-2.2.2-cp313-cp313-win_amd64.whl.metadata (60 kB)
Using cached numpy-2.2.2-cp313-cp313-win_amd64.whl (12.6 MB)
Installing collected packages: numpy
Successfully installed numpy-2.2.2
(myenv) PS C:\Users\wasya> pip install tensorflow
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow
(myenv) PS C:\Users\wasya> pip install tensorflowjs
Collecting tensorflowjs
Using cached tensorflowjs-4.22.0-py3-none-any.whl.metadata (3.2 kB)
Collecting flax>=0.7.2 (from tensorflowjs)
Using cached flax-0.10.2-py3-none-any.whl.metadata (11 kB)
Collecting importlib_resources>=5.9.0 (from tensorflowjs)
Using cached importlib_resources-6.5.2-py3-none-any.whl.metadata (3.9 kB)
Collecting jax>=0.4.13 (from tensorflowjs)
Using cached jax-0.5.0-py3-none-any.whl.metadata (22 kB)
Collecting jaxlib>=0.4.13 (from tensorflowjs)
Using cached jaxlib-0.5.0-cp313-cp313-win_amd64.whl.metadata (1.0 kB)
INFO: pip is looking at multiple versions of tensorflowjs to determine which version is compatible with other requirements. This could take a while.
Collecting tensorflowjs
Using cached tensorflowjs-4.21.0-py3-none-any.whl.metadata (3.2 kB)
Using cached tensorflowjs-4.20.0-py3-none-any.whl.metadata (3.2 kB)
Using cached tensorflowjs-4.19.0-py3-none-any.whl.metadata (3.2 kB)
...................
...................
Using cached tensorflowjs-2.4.0-py3-none-any.whl.metadata (1.3 kB)
Collecting h5py>=2.8.0 (from tensorflowjs)
Using cached h5py-3.12.1-cp313-cp313-win_amd64.whl.metadata (2.5 kB)
Collecting numpy<1.19.0,>=1.16.4 (from tensorflowjs)
Using cached numpy-1.18.5.zip (5.4 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [31 lines of output]
Running from numpy source directory.
<string>:461: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
Traceback (most recent call last):
File "C:\Users\wasya\myenv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 389, in <module>
main()
~~~~^^
File "C:\Users\wasya\myenv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\wasya\myenv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 175, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
File "C:\Users\wasya\AppData\Local\Temp\pip-build-env-xzboyja9\overlay\Lib\site-packages\setuptools\build_meta.py", line 377, in prepare_metadata_for_build_wheel
self.run_setup()
~~~~~~~~~~~~~~^^
File "C:\Users\wasya\AppData\Local\Temp\pip-build-env-xzboyja9\overlay\Lib\site-packages\setuptools\build_meta.py", line 522, in run_setup
super().run_setup(setup_script=setup_script)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\wasya\AppData\Local\Temp\pip-build-env-xzboyja9\overlay\Lib\site-packages\setuptools\build_meta.py", line 320, in run_setup
exec(code, locals())
~~~~^^^^^^^^^^^^^^^^
File "<string>", line 488, in <module>
File "<string>", line 465, in setup_package
File "C:\Users\wasya\AppData\Local\Temp\pip-install-bb8xpbfo\numpy_a09741b2f1414b78abe1021e40fc4d57\numpy\distutils\core.py", line 26, in <module>
from numpy.distutils.command import config, config_compiler, \
...<2 lines>...
install_clib
File "C:\Users\wasya\AppData\Local\Temp\pip-install-bb8xpbfo\numpy_a09741b2f1414b78abe1021e40fc4d57\numpy\distutils\command\config.py", line 20, in <module>
from numpy.distutils.mingw32ccompiler import generate_manifest
File "C:\Users\wasya\AppData\Local\Temp\pip-install-bb8xpbfo\numpy_a09741b2f1414b78abe1021e40fc4d57\numpy\distutils\mingw32ccompiler.py", line 34, in <module>
from distutils.msvccompiler import get_build_version as get_build_msvc_version
ModuleNotFoundError: No module named 'distutils.msvccompiler'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
(myenv) PS C:\Users\wasya>