Open
Description
s3torchconnector version
s3torchconnector-1.1.1
s3torchconnectorclient version
s3torchconnectorclient-1.1.1
AWS Region
No response
Describe the running environment
I try to install on my laptop Windows 11.
What happened?
I run this command python -m pip install s3torchconnector
but I have an error and I try to repair it with pip install --upgrade pip
. It doesn't work
Relevant log output
Collecting s3torchconnector
Using cached s3torchconnector-1.1.1-py3-none-any.whl
Collecting torch>=2.0.1 (from s3torchconnector)
Using cached torch-2.1.2-cp310-cp310-win_amd64.whl.metadata (26 kB)
Collecting s3torchconnectorclient>=1.1.1 (from s3torchconnector)
Using cached s3torchconnectorclient-1.1.1.tar.gz (48 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: filelock in c:\users\lazhar bouacha\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from torch>=2.0.1->s3torchconnector) (3.10.7)
Requirement already satisfied: typing-extensions in c:\users\lazhar bouacha\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from torch>=2.0.1->s3torchconnector) (4.5.0)
Requirement already satisfied: sympy in c:\users\lazhar bouacha\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from torch>=2.0.1->s3torchconnector) (1.11.1)
Requirement already satisfied: networkx in c:\users\lazhar bouacha\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from torch>=2.0.1->s3torchconnector) (2.8.8)
Requirement already satisfied: jinja2 in c:\users\lazhar bouacha\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from torch>=2.0.1->s3torchconnector) (3.1.2)
Requirement already satisfied: fsspec in c:\users\lazhar bouacha\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from torch>=2.0.1->s3torchconnector) (2023.3.0)
Requirement already satisfied: MarkupSafe>=2.0 in c:\users\lazhar bouacha\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from jinja2->torch>=2.0.1->s3torchconnector) (2.1.2)
Requirement already satisfied: mpmath>=0.19 in c:\users\lazhar bouacha\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from sympy->torch>=2.0.1->s3torchconnector) (1.3.0)
Using cached torch-2.1.2-cp310-cp310-win_amd64.whl (192.3 MB)
Building wheels for collected packages: s3torchconnectorclient
Building wheel for s3torchconnectorclient (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for s3torchconnectorclient (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [33 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-310
creating build\lib.win-amd64-cpython-310\s3torchconnectorclient
copying python\src\s3torchconnectorclient\_logger_patch.py -> build\lib.win-amd64-cpython-310\s3torchconnectorclient
copying python\src\s3torchconnectorclient\__init__.py -> build\lib.win-amd64-cpython-310\s3torchconnectorclient
running egg_info
writing python/src\s3torchconnectorclient.egg-info\PKG-INFO
writing dependency_links to python/src\s3torchconnectorclient.egg-info\dependency_links.txt
writing requirements to python/src\s3torchconnectorclient.egg-info\requires.txt
writing top-level names to python/src\s3torchconnectorclient.egg-info\top_level.txt
reading manifest file 'python/src\s3torchconnectorclient.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
adding license file 'THIRD-PARTY-LICENSES'
adding license file 'NOTICE'
writing manifest file 'python/src\s3torchconnectorclient.egg-info\SOURCES.txt'
copying python\src\s3torchconnectorclient\_mountpoint_s3_client.pyi -> build\lib.win-amd64-cpython-310\s3torchconnectorclient
running build_ext
running build_rust
error: can't find Rust compiler
If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
To update pip, run:
pip install --upgrade pip
and then retry package installation.
If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for s3torchconnectorclient
Failed to build s3torchconnectorclient
ERROR: Could not build wheels for s3torchconnectorclient, which is required to install pyproject.toml-based projects
Code of Conduct
- I agree to follow this project's Code of Conduct