Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install on Windows 11 #101

Open
1 task done
bouachalazhar opened this issue Dec 18, 2023 · 3 comments
Open
1 task done

Can't install on Windows 11 #101

bouachalazhar opened this issue Dec 18, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@bouachalazhar
Copy link

bouachalazhar commented Dec 18, 2023

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
@bouachalazhar bouachalazhar added the bug Something isn't working label Dec 18, 2023
@dnanuti
Copy link
Contributor

dnanuti commented Dec 19, 2023

Hello, @bouachalazhar!
Thank you for your interest in Amazon S3 Connector for PyTorch. This currently works with linux x86 and arm for python versions 3.8-3.11. I will convert this into a feature request.

@dnanuti dnanuti added enhancement New feature or request and removed bug Something isn't working labels Dec 19, 2023
@bouachalazhar
Copy link
Author

Hello, @bouachalazhar! Thank you for your interest in Amazon S3 Connector for PyTorch. This currently works with linux x86 and arm for python versions 3.8-3.11. I will convert this into a feature request.

Yes, I thought it after posted. It's better for our like that I don't need to switch on WSL2. Do you have a time estimation for this feature?

@IsaevIlya
Copy link
Contributor

Hello, @bouachalazhar!
Sorry for the late reply. We're looking into what's possible for Windows support, but nothing concrete to share right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants