Hi,
I want to build pytorch from the source on the ubuntu machine. I am using aliyun. But whether I use pip or conda to install the packages required, I always encounter some problems.

pip
when I run

pip install mkl

the error is
Looking in indexes: http://mirrors.cloud.aliyuncs.com/pypi/simple/
Collecting mkl
  Could not find a version that satisfies the requirement mkl (from versions: )
No matching distribution found for mkl

I also check https://pypi.org/project/mkl/ 74, and download the file mkl-2018.0.3-py2.py3-none-manylinux1_x86_64.whl. Then I
pip install mkl-2018.0.3-py2.py3-none-manylinux1_x86_64.whl

And I got an error
mkl-2018.0.3-py2.py3-none-manylinux1_x86_64.whl is not a supported wheel on this platform.

Strange.

conda

➜  ~ conda install -c mingfeima mkldnn
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - mkldnn

Current channels:

  - https://conda.anaconda.org/mingfeima/linux-32
  - https://conda.anaconda.org/mingfeima/noarch
  - https://repo.anaconda.com/pkgs/main/linux-32
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/free/linux-32
  - https://repo.anaconda.com/pkgs/free/noarch
  - https://repo.anaconda.com/pkgs/r/linux-32
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://repo.anaconda.com/pkgs/pro/linux-32
  - https://repo.anaconda.com/pkgs/pro/noarch
  - https://conda.anaconda.org/conda-forge/linux-32
  - https://conda.anaconda.org/conda-forge/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

Has anyone encountered this problem?