Is not a supported wheel on this platform windows

If you are totally new to Python, read step by step or go directly to 5th step directly.

Follow the below method to install SciPy 0.18.1 on Windows 64-bit, Python 64-bit.

Be careful with the versions of

  1. Python

  2. Windows

  3. .whl version of NumPy and SciPy files

  4. First install NumPy and then SciPy.

     pip install FileName.whl
    
  5. For NumPy: http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy
    For SciPy: http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy

Be aware of the file name (what I mean is check the «cp» number).
Example: scipy-0.18.1-cp35-cp35m-win_amd64.whl

To check which «cp» number is supported by your pip. Go to point number 2 below.

If you are using .whl file, the following errors are likely to occur.

  1. You are using pip version 7.1.0, however version 8.1.2 is available.

You should consider upgrading via the ‘python -m pip install —upgrade pip’ command

  1. scipy-0.15.1-cp33-none-win_amd64.whl.whl is not supported wheel on this platform

For the above error: start Python (in my case 3.5), and type:

import pip print(pip.pep425tags.get_supported())

Output:

[(‘cp35’, ‘cp35m’, ‘win_amd64’), (‘cp35’, ‘none’, ‘win_amd64’), (‘py3’, ‘none’, ‘win_amd64’), (‘cp35’, ‘none’, ‘any’), (‘cp3’, ‘none’, ‘any’), (‘py35’, ‘none’, ‘any’), (‘py3’, ‘none’, ‘any’), (‘py34’, ‘none’, ‘any’), (‘py33’, ‘none’, ‘any’), (‘py32’, ‘none’, ‘any’), (‘py31’, ‘none’, ‘any’), (‘py30’, ‘none’, ‘any’)]

In the output you will observe «cp35» is there, so download «cp35» for NumPy as well as SciPy.

If you are totally new to Python, read step by step or go directly to 5th step directly.

Follow the below method to install SciPy 0.18.1 on Windows 64-bit, Python 64-bit.

Be careful with the versions of

  1. Python

  2. Windows

  3. .whl version of NumPy and SciPy files

  4. First install NumPy and then SciPy.

     pip install FileName.whl
    
  5. For NumPy: http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy
    For SciPy: http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy

Be aware of the file name (what I mean is check the «cp» number).
Example: scipy-0.18.1-cp35-cp35m-win_amd64.whl

To check which «cp» number is supported by your pip. Go to point number 2 below.

If you are using .whl file, the following errors are likely to occur.

  1. You are using pip version 7.1.0, however version 8.1.2 is available.

You should consider upgrading via the ‘python -m pip install —upgrade pip’ command

  1. scipy-0.15.1-cp33-none-win_amd64.whl.whl is not supported wheel on this platform

For the above error: start Python (in my case 3.5), and type:

import pip print(pip.pep425tags.get_supported())

Output:

[(‘cp35’, ‘cp35m’, ‘win_amd64’), (‘cp35’, ‘none’, ‘win_amd64’), (‘py3’, ‘none’, ‘win_amd64’), (‘cp35’, ‘none’, ‘any’), (‘cp3’, ‘none’, ‘any’), (‘py35’, ‘none’, ‘any’), (‘py3’, ‘none’, ‘any’), (‘py34’, ‘none’, ‘any’), (‘py33’, ‘none’, ‘any’), (‘py32’, ‘none’, ‘any’), (‘py31’, ‘none’, ‘any’), (‘py30’, ‘none’, ‘any’)]

In the output you will observe «cp35» is there, so download «cp35» for NumPy as well as SciPy.

‘Что делать, если is not a supported wheel on this platform при установке?’

Если вы занимаетесь программированием, то вы, вероятно, сталкивались с проблемой ‘is not a supported wheel on this platform’. Эта проблема может возникнуть, когда вы пытаетесь установить пакет Python, который не поддерживается вашей операционной системой.

Существует несколько причин, по которым может появиться сообщение об ошибке ‘is not a supported wheel on this platform’. Мы рассмотрим некоторые наиболее распространенные причины и способы их решения.

1. Неправильная версия Python

Ошибка ‘is not a supported wheel on this platform’ может возникнуть, если вы пытаетесь установить пакет, который не соответствует версии Python, установленной на вашем компьютере. Например, если вы пытаетесь установить пакет для Python 3.x на компьютере с Python 2.x, это может вызвать ошибку.

Если вы не уверены, какую версию Python вы установили, вы можете проверить это, запустив команду ‘python —version’ в командной строке.

Чтобы решить эту проблему, убедитесь, что вы устанавливаете пакет, который поддерживает вашу версию Python. Например, если у вас установлена Python 3.7, вы можете попробовать установить пакет для Python 3.7.

2. Несовместимость с операционной системой

Еще одной причиной ошибки ‘is not a supported wheel on this platform’ может быть несовместимость пакета с вашей операционной системой. Например, если вы пытаетесь установить пакет для Windows на компьютере с ОС Linux, это может вызвать ошибку.

Чтобы решить эту проблему, убедитесь, что вы устанавливаете пакет, который поддерживает вашу операционную систему. Некоторые пакеты могут иметь различные версии для разных операционных систем, проверьте совместимость перед установкой.

3. Несоответствие архитектуры процессора

Еще одной причиной ошибки ‘is not a supported wheel on this platform’ может быть несоответствие архитектуры процессора. Например, если вы пытаетесь установить пакет для 64-битного процессора на компьютере с 32-битным процессором, это может вызвать ошибку.

Чтобы решить эту проблему, убедитесь, что вы устанавливаете пакет, который поддерживает вашу архитектуру процессора. Некоторые пакеты могут иметь различные версии для разных архитектур процессоров, проверьте совместимость перед установкой.

4. Обновление pip

Если все вышеупомянутые способы не помогли решить проблему, то вы можете попробовать обновить pip. pip — это инструмент для управления пакетами в Python. Если у вас установлена устаревшая версия pip, это может вызвать ошибку ‘is not a supported wheel on this platform’.

Чтобы обновить pip, вы можете запустить команду ‘pip install —upgrade pip’ в командной строке.

5. Использование виртуальной среды

Если вы все еще сталкиваетесь с ошибкой ‘is not a supported wheel on this platform’, вы можете попробовать установить пакет в виртуальную среду. Виртуальная среда — это изолированное пространство, где вы можете установить пакеты, не влияя на глобальную установку Python.

Чтобы создать виртуальную среду, вы можете запустить команду ‘python -m venv имя_среды’ в командной строке. Здесь имя_среды — это имя, которое вы хотите дать вашей виртуальной среде.

Затем вы можете активировать виртуальную среду, запустив команду ‘source имя_среды/bin/activate’ для Linux или ‘имя_среды\Scripts\activate’ для Windows.

После активации виртуальной среды вы можете попробовать установить пакеты с помощью pip.

В заключение

Ошибка ‘is not a supported wheel on this platform’ — это довольно распространенная проблема в Python. В этой статье мы рассмотрели некоторые из наиболее распространенных причин этой ошибки и способы их решения.

Если вы все еще сталкиваетесь с проблемой, вы можете задать вопрос в сообществе Python, чтобы получить помощь от опытных разработчиков. Важно не отчаиваться и продолжать искать решение проблемы, чтобы достичь успеха в программировании.

PyTorch Forums

Loading

In this comprehensive guide, we’ll explore the causes of the 'Is not a supported wheel on this platform' error and provide step-by-step instructions on how to resolve it. This error typically occurs when trying to install a Python package using pip, and the package’s wheel file is not compatible with your platform or Python version.

Table of Contents

  • Understanding the Error
  • Step-by-Step Solutions
  • Solution 1: Update pip
  • Solution 2: Install the Correct Wheel
  • Solution 3: Install from Source
  • FAQs

Understanding the Error

Before diving into the solutions, it’s essential to understand why the 'Is not a supported wheel on this platform' error occurs. This error is usually caused by one of the following issues:

  1. The wheel file (.whl) for the package you’re trying to install is not compatible with your operating system or platform.
  2. The wheel file is not compatible with your Python version.
  3. Your pip installation is outdated.

Now that we have a better understanding of the error, let’s explore the solutions.

Step-by-Step Solutions

Solution 1: Update pip

An outdated pip installation may cause compatibility issues with wheel files. To update pip, run the following command in your terminal or command prompt:

python -m pip install --upgrade pip

After updating pip, try installing the package again. If you still encounter the error, proceed to the next solution.

Solution 2: Install the Correct Wheel

You may be trying to install a wheel file that is not compatible with your platform or Python version. In this case, you’ll need to find and download the appropriate wheel file for your system.

  1. Visit the Python Package Index (PyPI) and search for the package you want to install.
  2. Navigate to the package’s page and click on the «Download files» tab.
  3. Look for a wheel file compatible with your platform and Python version. The wheel file’s name follows this convention: {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.whl
  4. Download the correct wheel file, and install it using pip:
pip install /path/to/your/downloaded_file.whl

If you still encounter the error, proceed to the next solution.

Solution 3: Install from Source

If none of the available wheel files are compatible with your system or Python version, you can try installing the package from its source code.

  1. Visit the package’s GitHub repository or its source code hosting platform.
  2. Download the source code as a ZIP archive or clone the repository using git.
  3. Extract the ZIP archive (if applicable) and navigate to the package’s root directory.
  4. Run the following command to install the package from the source code:
pip install .

FAQs

1. What is a wheel file?

A wheel file is a binary package format for Python packages, with a .whl file extension. Wheel files allow for faster and more efficient package installations compared to installing from source code.

2. How do I find my Python version?

To check your Python version, run the following command in your terminal or command prompt:

python --version

3. How do I find my platform?

To check your platform, you can use Python’s platform module:

import platform
print(platform.system())

4. Can I install multiple Python versions on my system?

Yes, you can install multiple Python versions on your system. However, you may need to manage the different versions using a tool like pyenv to avoid conflicts and ensure that packages are installed with the correct Python version.

5. Can I force pip to install a package despite the error?

It is not recommended to force pip to install a package if it’s not compatible with your platform or Python version. Doing so may result in unexpected behavior or crashes. Instead, try to find a compatible wheel file or install the package from its source code.

Related: Installing packages using pip and virtual environments

Related: How to use pip with multiple Python versions

  • Ipv4 не подключено windows 10 что делать
  • Irbis nb51 как установить windows
  • Irql gt zero at system service windows 10
  • Irbis tw43 прошивка windows 10
  • Iron not less or equal windows 10