Skip to content

pip install blosc failing on Windows 10, Anaconda shell & MINGW64, Jupyter 5.0.0, Python 3.6.4 #176

@karlwbaker

Description

@karlwbaker

pip install blosc via Anaconda prompt and git bash (MINGW64) is failing on my Windows 10, Jupyter 5.0.0, Python 3.6.4. I have never tried to install it before tonight. Text of error (and "success") messages is below.

One of the errors in Anaconda shell references "The system cannot find the path specified: 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\PlatformSDK\lib`." I uninstalled Visual Studio some months ago, but then this is not the only error flagged on that attempt.

I also tried conda install blosc which returned "All requested packages already installed." I restarted Jupyter but unfortunately, import blosc still reports "ImportError: No module named blosc."

Finally, it's worth pointing out that my final attempt in MINGW64 seemed to be successful (see second message below). Yet even after restarting my machine I get a ModuleNotFoundError.

Looking forward to using this tool, hopefully in conjunction with pickle. Alone pickle is spitting out pickles that are 3 times the size of my PNG data files. Any help is appreciated.


In Anaconda shell:

(py36) C:\Users\karls>pip install blosc
Collecting blosc
  Using cached https://files.pythonhosted.org/packages/f4/8f/024a70d6af0b0dd736954a16b2a4be544a2b61ef6c0f660e5221accd4f8c/blosc-1.7.0.tar.gz
Building wheels for collected packages: blosc
  Building wheel for blosc (setup.py) ... error
  Complete output from command c:\users\karls\anaconda2\envs\py36\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\karls\\AppData\\Local\\Temp\\pip-install-wtukfagq\\blosc\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d C:\Users\karls\AppData\Local\Temp\pip-wheel-kxzq_yar --python-tag cp36:
  SSE2 detected
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win-amd64-3.6
  creating build\lib.win-amd64-3.6\blosc
  copying blosc\test.py -> build\lib.win-amd64-3.6\blosc
  copying blosc\toplevel.py -> build\lib.win-amd64-3.6\blosc
  copying blosc\version.py -> build\lib.win-amd64-3.6\blosc
  copying blosc\__init__.py -> build\lib.win-amd64-3.6\blosc
  running build_clib
  building 'lz4' library
  error: [WinError 3] The system cannot find the path specified: 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\PlatformSDK\\lib'
  SSE2 detected
  running bdist_wheel
  running build
  running build_py
  running build_clib
  building 'lz4' library
  error: [WinError 3] The system cannot find the path specified: 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\PlatformSDK\\lib'

  ----------------------------------------
  Failed building wheel for blosc
  Running setup.py clean for blosc
Failed to build blosc
Installing collected packages: blosc
  Running setup.py install for blosc ... error
    Complete output from command c:\users\karls\anaconda2\envs\py36\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\karls\\AppData\\Local\\Temp\\pip-install-wtukfagq\\blosc\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\karls\AppData\Local\Temp\pip-record-09pc3gyw\install-record.txt --single-version-externally-managed --compile:
    SSE2 detected
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.6
    creating build\lib.win-amd64-3.6\blosc
    copying blosc\test.py -> build\lib.win-amd64-3.6\blosc
    copying blosc\toplevel.py -> build\lib.win-amd64-3.6\blosc
    copying blosc\version.py -> build\lib.win-amd64-3.6\blosc
    copying blosc\__init__.py -> build\lib.win-amd64-3.6\blosc
    running build_clib
    building 'lz4' library
    error: [WinError 3] The system cannot find the path specified: 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\PlatformSDK\\lib'
    SSE2 detected
    running install
    running build
    running build_py
    running build_clib
    building 'lz4' library
    error: [WinError 3] The system cannot find the path specified: 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\PlatformSDK\\lib'

    ----------------------------------------
Command "c:\users\karls\anaconda2\envs\py36\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\karls\\AppData\\Local\\Temp\\pip-install-wtukfagq\\blosc\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\karls\AppData\Local\Temp\pip-record-09pc3gyw\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\karls\AppData\Local\Temp\pip-install-wtukfagq\blosc\

In MINGW64:

karls@DESKTOP-VAQRJL8 MINGW64 ~ (master)
$ activate py36

karls@DESKTOP-VAQRJL8 MINGW64 ~ (master)
$ conda install blosc
Solving environment: done

## Package Plan ##

  environment location: C:\Users\karls\Anaconda2

  added / updated specs:
    - blosc


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    snappy-1.1.7               |       he46498f_3          88 KB
    blosc-1.15.0               |       hc65f11a_0         422 KB
    ------------------------------------------------------------
                                           Total:         510 KB

The following NEW packages will be INSTALLED:

    blosc:           1.15.0-hc65f11a_0
    snappy:          1.1.7-he46498f_3

The following packages will be UPDATED:

    ca-certificates: 2018.03.07-0      --> 2018.12.5-0

Proceed ([y]/n)? y


Downloading and Extracting Packages
snappy-1.1.7         | 88 KB     | ######################################################## | 100%
blosc-1.15.0         | 422 KB    | ######################################################## | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done

Yet I still get ModuleNotFoundError.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions