Skip to content

Can't install 1.13.120+xpu in WSL2? Broken link? #361

@Mindset-Official

Description

@Mindset-Official

Describe the issue

I get this error when trying to install

python -m pip install torch==1.13.0a0+git6c9b55e torchvision==0.14.1a0 intel_extension_for_pytorch==1.13.120+xpu -f https://developer.intel.com/ipex-whl-stable-xpu
Defaulting to user installation because normal site-packages is not writeable
Looking in links: https://developer.intel.com/ipex-whl-stable-xpu
Requirement already satisfied: torch==1.13.0a0+git6c9b55e in ./.local/lib/python3.10/site-packages (1.13.0a0+git6c9b55e)
Requirement already satisfied: torchvision==0.14.1a0 in ./.local/lib/python3.10/site-packages (0.14.1a0+0504df5)
DEPRECATION: The HTML index page being used (https://www.intel.com/content/dam/develop/external/us/en/documents/ipex/whl-stable-xpu.html) is not a proper HTML 5 document. This is in violation of PEP 503 which requires these pages to be well-formed HTML 5 documents. Please reach out to the owners of this index page, and ask them to update this index page to a valid HTML 5 document. pip 22.2 will enforce this behaviour change. Discussion can be found at pypa/pip#10825
ERROR: Could not find a version that satisfies the requirement intel_extension_for_pytorch==1.13.120+xpu (from versions: 1.11.0, 1.11.100, 1.11.200, 1.12.0, 1.12.100, 1.12.200, 1.12.300, 1.13.0, 1.13.10+xpu, 1.13.100, 2.0.0, 2.0.100)
ERROR: No matching distribution found for intel_extension_for_pytorch==1.13.120+xpu

Seems the default location doesn't have the 1.13.120+xpu version available anymore?
Screenshot_20230528_010548

I also had the error with torch and torch vision but found them posted in a link in one of the support threads, but I can't find 1.13.120+xpu.

I have successfully installed this in native linux before but was trying to see if it would work in WSL2.

System
Windows 11
Intal Arc a750
wsl2 ubuntu 22.04
ryzen 5600

Activity

jingxu10

jingxu10 commented on May 28, 2023

@jingxu10
Contributor

seems to be a pip related issue? I got pip 23.1.2 working without problems.
Would you have a quick try?
image

Mindset-Official

Mindset-Official commented on May 28, 2023

@Mindset-Official
Author

same error for me after pip upgrade, maybe I just need to completely reinstall my wsl2 environment?

python -m pip install --upgrade pip
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pip in /usr/lib/python3/dist-packages (22.0.2)
Collecting pip
Downloading pip-23.1.2-py3-none-any.whl (2.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 23.4 MB/s eta 0:00:00
Installing collected packages: pip
Successfully installed pip-23.1.2

:~$ python -m pip install torch==1.13.0a0+git6c9b55e torchvision==0.14.1a0 intel_extension_for_pytorch==1.13.120+xpu -f https://developer.intel.com/ipex-whl-stable-xpu
Defaulting to user installation because normal site-packages is not writeable
Looking in links: https://developer.intel.com/ipex-whl-stable-xpu
Requirement already satisfied: torch==1.13.0a0+git6c9b55e in ./.local/lib/python3.10/site-packages (1.13.0a0+git6c9b55e)
Requirement already satisfied: torchvision==0.14.1a0 in ./.local/lib/python3.10/site-packages (0.14.1a0+0504df5)
ERROR: Could not find a version that satisfies the requirement intel_extension_for_pytorch==1.13.120+xpu (from versions: 1.11.0, 1.11.100, 1.11.200, 1.12.0, 1.12.100, 1.12.200, 1.12.300, 1.13.0, 1.13.10+xpu, 1.13.100, 2.0.0, 2.0.100)
ERROR: No matching distribution found for intel_extension_for_pytorch==1.13.120+xpu

jingxu10

jingxu10 commented on May 29, 2023

@jingxu10
Contributor

Do you see the links from your browser?

Mindset-Official

Mindset-Official commented on May 29, 2023

@Mindset-Official
Author

Screenshot_20230528_073454
These are the only ones that show up for me.

it may just be an issue with my wsl2 installation, I may try and start it over from scratch.

jingxu10

jingxu10 commented on May 29, 2023

@jingxu10
Contributor

Sure.
If you don't see them in your browser as well, it is also possible that the contents retrieved are either cached in your browser or in your ISP.

Mindset-Official

Mindset-Official commented on May 29, 2023

@Mindset-Official
Author

hmm, it seems it's definitely cached by my isp or something, I checked on my phone using mobile data and they show up? I guess I will try and download them to my phone and move them to my pc.

Mindset-Official

Mindset-Official commented on May 29, 2023

@Mindset-Official
Author

Well I finally got the files off my phone, appreciate the help.

jingxu10

jingxu10 commented on Jun 5, 2023

@jingxu10
Contributor

Good to know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @jingxu10@Mindset-Official

        Issue actions

          Can't install 1.13.120+xpu in WSL2? Broken link? · Issue #361 · intel/intel-extension-for-pytorch