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

FYI: Re-appearance of installation issues with OleFileIO-PL & olefile #123

Open
follower opened this issue Aug 14, 2019 · 0 comments
Open
Assignees
Milestone

Comments

@follower
Copy link

Describe the bug

This issue is essentially an FYI and "Google juice" for future searchers. But it might be nice to add a note to the OleFileIO_PL project PyPI page and/or output.

It is essentially a re-appearance of #23 with Python3 possibly due to OleFileIO_PL becoming an alias for olefile & caching.

The underlying syntax error due to raise ValueError, 'Need to fix a bug with 32 bit arrays, please contact author...' is not shown by pip which also complicates diagnosis.

(While researching I found another instance of the #23 fix not detecting a situation where it was required: python-pillow/Pillow#2335.)

I encountered this issue while attempting to use https://github.com/vadmium/python-altium due to no longer current installation advice and have suggested updating to reflect current olefile project status: vadmium/python-altium#12.

File or Malware sample to reproduce the bug

N/A

How To Reproduce the bug

$ pip3 install olefile
$ pip3 install OleFileIO_PL

See Console output/Screenshots section below for the full sequence of commands.

Expected behavior

Library installation without error.

Console output / Screenshots

Initial olefile install:

$ pip3 install olefile
Collecting olefile
Installing collected packages: olefile
Successfully installed olefile-0.46

Initial OleFileIO_PL install attempt (because I discovered the python-altium project doesn't currently support latest olefile directly):

$ pip3 install OleFileIO_PL
Collecting OleFileIO_PL
  Downloading https://files.pythonhosted.org/packages/a0/05/f124ecb536ae2090891d3bcb6a65facd1358f4fd10422c1354357687e8dc/OleFileIO_PL-0.42.1.zip (120kB)
    100% |████████████████████████████████| 122kB 1.3MB/s 
  Generating metadata for package OleFileIO-PL produced metadata for project name olefile. Fix your #egg=OleFileIO-PL fragments.
Requirement already satisfied (use --upgrade to upgrade): olefile from https://files.pythonhosted.org/packages/a0/05/f124ecb536ae2090891d3bcb6a65facd1358f4fd10422c1354357687e8dc/OleFileIO_PL-0.42.1.zip#sha256=3466f8e9bce80bbe447aef69cb5653d40d425944cb9f9052bbd8f1511eeca98e in /usr/local/lib/python3.7/site-packages
Building wheels for collected packages: olefile, olefile
  Building wheel for olefile (setup.py) ... done
  Stored in directory: /Users/<User>/Library/Caches/pip/wheels/7f/a6/17/86b00b33e526659bb900323f8563ccff99193af07457a31dd9
  Building wheel for olefile (setup.py) ... error
  Complete output from command /usr/local/opt/python/bin/python3.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/r9/jclb4tss1zqftv37t_ks9qzm0000gn/T/pip-install-8jcbvzkn/olefile/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 /private/var/folders/r9/jclb4tss1zqftv37t_ks9qzm0000gn/T/pip-wheel-g3fe9h01 --python-tag cp37:
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/tokenize.py", line 447, in open
      buffer = _builtin_open(filename, 'rb')
  FileNotFoundError: [Errno 2] No such file or directory: '/private/var/folders/r9/jclb4tss1zqftv37t_ks9qzm0000gn/T/pip-install-8jcbvzkn/olefile/setup.py'
  
  ----------------------------------------
  Failed building wheel for olefile
  Running setup.py clean for olefile
  Complete output from command /usr/local/opt/python/bin/python3.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/r9/jclb4tss1zqftv37t_ks9qzm0000gn/T/pip-install-8jcbvzkn/olefile/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" clean --all:
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/tokenize.py", line 447, in open
      buffer = _builtin_open(filename, 'rb')
  FileNotFoundError: [Errno 2] No such file or directory: '/private/var/folders/r9/jclb4tss1zqftv37t_ks9qzm0000gn/T/pip-install-8jcbvzkn/olefile/setup.py'
  
  ----------------------------------------
  Failed cleaning build dir for olefile
Successfully built olefile
Failed to build olefile

Note this warning and the general conflation of olefile with OleFileIO-PL:

  Generating metadata for package OleFileIO-PL produced metadata for project name olefile. Fix your #egg=OleFileIO-PL fragments.

Attempt to uninstall:

$ pip3 uninstall OleFileIO_PL
Skipping OleFileIO-PL as it is not installed.

Attempt to uninstall something:

$ pip3 uninstall olefile
Uninstalling olefile-0.46:
  Would remove:
    /usr/local/lib/python3.7/site-packages/olefile-0.46.dist-info/*
    /usr/local/lib/python3.7/site-packages/olefile/*
Proceed (y/n)? y
  Successfully uninstalled olefile-0.46

Attempt to install:

$ pip3 install OleFileIO_PL
Collecting OleFileIO_PL
Installing collected packages: OleFileIO-PL
Exception:
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 179, in main
    status = self.run(options, args)
  File "/usr/local/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 393, in run
    use_user_site=options.use_user_site,
  File "/usr/local/lib/python3.7/site-packages/pip/_internal/req/__init__.py", line 57, in install_given_reqs
    **kwargs
  File "/usr/local/lib/python3.7/site-packages/pip/_internal/req/req_install.py", line 913, in install
    use_user_site=use_user_site, pycompile=pycompile,
  File "/usr/local/lib/python3.7/site-packages/pip/_internal/req/req_install.py", line 445, in move_wheel_files
    warn_script_location=warn_script_location,
  File "/usr/local/lib/python3.7/site-packages/pip/_internal/wheel.py", line 428, in move_wheel_files
    assert info_dir, "%s .dist-info directory not found" % req
AssertionError: OleFileIO_PL .dist-info directory not found

Attempt to uninstall something (note what is actually uninstalled):

$ pip3 uninstall olefile
Uninstalling olefile-0.42.1:
  Would remove:
    /usr/local/lib/python3.7/site-packages/OleFileIO_PL.py
    /usr/local/lib/python3.7/site-packages/olefile-0.42.1.dist-info/*
    /usr/local/lib/python3.7/site-packages/olefile/*
Proceed (y/n)? y
  Successfully uninstalled olefile-0.42.1

Still an error on install attempt:

$ pip3 install OleFileIO_PL
Collecting OleFileIO_PL
Installing collected packages: OleFileIO-PL
Exception:
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 179, in main
    status = self.run(options, args)
  File "/usr/local/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 393, in run
    use_user_site=options.use_user_site,
  File "/usr/local/lib/python3.7/site-packages/pip/_internal/req/__init__.py", line 57, in install_given_reqs
    **kwargs
  File "/usr/local/lib/python3.7/site-packages/pip/_internal/req/req_install.py", line 913, in install
    use_user_site=use_user_site, pycompile=pycompile,
  File "/usr/local/lib/python3.7/site-packages/pip/_internal/req/req_install.py", line 445, in move_wheel_files
    warn_script_location=warn_script_location,
  File "/usr/local/lib/python3.7/site-packages/pip/_internal/wheel.py", line 428, in move_wheel_files
    assert info_dir, "%s .dist-info directory not found" % req
AssertionError: OleFileIO_PL .dist-info directory not found

Attempt uninstall:

$ pip3 uninstall OleFileIO_PL
Skipping OleFileIO-PL as it is not installed.

Uninstall something (so something was installed earlier):

$ pip3 uninstall olefile
Uninstalling olefile-0.42.1:
  Would remove:
    /usr/local/lib/python3.7/site-packages/OleFileIO_PL.py
    /usr/local/lib/python3.7/site-packages/olefile-0.42.1.dist-info/*
    /usr/local/lib/python3.7/site-packages/olefile/*
Proceed (y/n)? y
  Successfully uninstalled olefile-0.42.1

Attempt to install and discover the underlying error that was masked by pip:

$ pip3 --verbose --verbose --verbose install OleFileIO_PL
Created temporary directory: /private/var/folders/r9/jclb4tss1zqftv37t_ks9qzm0000gn/T/pip-ephem-wheel-cache-p7t63x2l
Created temporary directory: /private/var/folders/r9/jclb4tss1zqftv37t_ks9qzm0000gn/T/pip-req-tracker-qwfmb4zd
Created requirements tracker '/private/var/folders/r9/jclb4tss1zqftv37t_ks9qzm0000gn/T/pip-req-tracker-qwfmb4zd'
Created temporary directory: /private/var/folders/r9/jclb4tss1zqftv37t_ks9qzm0000gn/T/pip-install-ypaw8uui
Collecting OleFileIO_PL
  1 location(s) to search for versions of OleFileIO-PL:
  * https://pypi.org/simple/olefileio-pl/
  Getting page https://pypi.org/simple/olefileio-pl/
  Looking up "https://pypi.org/simple/olefileio-pl/" in the cache
  Request header has "max_age" as 0, cache bypassed
  Starting new HTTPS connection (1): pypi.org:443
  https://pypi.org:443 "GET /simple/olefileio-pl/ HTTP/1.1" 304 0
  Analyzing links from page https://pypi.org/simple/olefileio-pl/
    Found link https://files.pythonhosted.org/packages/03/08/23407d96587f9a6272cc5593c502ed4adfc07c020636ddc396a2f1766d2b/OleFileIO_PL-0.23.zip#sha256=bd16227be93e72a728694f17b6d95803b00c3a3702129634335a8ba10319d761 (from https://pypi.org/simple/olefileio-pl/), version: 0.23
    Found link https://files.pythonhosted.org/packages/30/ca/9b9ddc4a880d17481be1c1106bed1dea184cf4cd5cbdc7f2cdcf93463fd0/OleFileIO_PL-0.24.zip#sha256=0284a0078ecbfe506b63bc31e6a80793f368bab9256375e1baf68710d07d3b23 (from https://pypi.org/simple/olefileio-pl/), version: 0.24
    Found link https://files.pythonhosted.org/packages/18/82/990da3eeccb6a503f472f120d1904c799f40cdb9df73ef433dbb31566d40/OleFileIO_PL-0.25.zip#sha256=8c8219333ddf78d786c7f9e43a141934ddbd5a20e0e627e4b992ad54550b828a (from https://pypi.org/simple/olefileio-pl/), version: 0.25
    Found link https://files.pythonhosted.org/packages/f5/dd/9dca4b81a7480e283ff2b617a0e2b308026f9312f459dc0bbe0b248f75f1/OleFileIO_PL-0.26.zip#sha256=4933cdd181a2506678dd2b01743c33ceec2ec8ecb813fc5e7fa50ea4d6b88fa4 (from https://pypi.org/simple/olefileio-pl/), version: 0.26
    Found link https://files.pythonhosted.org/packages/9d/e5/cc03d56395a3d685567512198dd3a5a9d95a1678134e9068badf28f60967/OleFileIO_PL-0.30.zip#sha256=9f2e556f33d5843d3ce03316958b0502d558f08f8a9a4c18a63b842134cdaaa3 (from https://pypi.org/simple/olefileio-pl/), version: 0.30
    Found link https://files.pythonhosted.org/packages/59/53/62b83a487b0ef8d6e310b124647681d84aa8ff64d866d4602712fe49cfe0/OleFileIO_PL-0.31.zip#sha256=f58c11cafccb93eb845e6a08b4a80cfd4bf56ba536edc2105041b61c2528184a (from https://pypi.org/simple/olefileio-pl/), version: 0.31
    Found link https://files.pythonhosted.org/packages/1b/8b/26fe3d9215c4c88f9b8c925b235b352269e59ba81a97951f4a80470967ef/OleFileIO_PL-0.40.zip#sha256=965737cc1a7a3f516d5fedfb9837eda751d51f20e427336c4e5b36f9a4ea165b (from https://pypi.org/simple/olefileio-pl/), version: 0.40
    Found link https://files.pythonhosted.org/packages/1a/5b/3c6803bb51336b71525bce4c811c598107073dc642c9fafffc6a79b0e4b7/OleFileIO_PL-0.41.zip#sha256=cb868de3ce6adb7727a4d6ec7510c151c51cdbde875f70a696d772d425b093f6 (from https://pypi.org/simple/olefileio-pl/), version: 0.41
    Found link https://files.pythonhosted.org/packages/a0/05/f124ecb536ae2090891d3bcb6a65facd1358f4fd10422c1354357687e8dc/OleFileIO_PL-0.42.1.zip#sha256=3466f8e9bce80bbe447aef69cb5653d40d425944cb9f9052bbd8f1511eeca98e (from https://pypi.org/simple/olefileio-pl/), version: 0.42.1
  Using version 0.42.1 (newest of versions: 0.23, 0.24, 0.25, 0.26, 0.30, 0.31, 0.40, 0.41, 0.42.1)
  Using cached wheel link: file:///Users/<User>/Library/Caches/pip/wheels/7f/a6/17/86b00b33e526659bb900323f8563ccff99193af07457a31dd9/olefile-0.42.1-cp37-none-any.whl
  Added OleFileIO_PL from file:///Users/<User>/Library/Caches/pip/wheels/7f/a6/17/86b00b33e526659bb900323f8563ccff99193af07457a31dd9/olefile-0.42.1-cp37-none-any.whl to build tracker '/private/var/folders/r9/jclb4tss1zqftv37t_ks9qzm0000gn/T/pip-req-tracker-qwfmb4zd'
  Removed OleFileIO_PL from file:///Users/<User>/Library/Caches/pip/wheels/7f/a6/17/86b00b33e526659bb900323f8563ccff99193af07457a31dd9/olefile-0.42.1-cp37-none-any.whl from build tracker '/private/var/folders/r9/jclb4tss1zqftv37t_ks9qzm0000gn/T/pip-req-tracker-qwfmb4zd'
Installing collected packages: OleFileIO-PL
  *** Error compiling '/private/var/folders/r9/jclb4tss1zqftv37t_ks9qzm0000gn/T/pip-install-ypaw8uui/OleFileIO-PL/olefile/olefile2.py'...
    File "/private/var/folders/r9/jclb4tss1zqftv37t_ks9qzm0000gn/T/pip-install-ypaw8uui/OleFileIO-PL/olefile/olefile2.py", line 225
      raise ValueError, 'Need to fix a bug with 32 bit arrays, please contact author...'
                      ^
  SyntaxError: invalid syntax
  

Cleaning up...
Removed build tracker '/private/var/folders/r9/jclb4tss1zqftv37t_ks9qzm0000gn/T/pip-req-tracker-qwfmb4zd'
Exception:
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 179, in main
    status = self.run(options, args)
  File "/usr/local/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 393, in run
    use_user_site=options.use_user_site,
  File "/usr/local/lib/python3.7/site-packages/pip/_internal/req/__init__.py", line 57, in install_given_reqs
    **kwargs
  File "/usr/local/lib/python3.7/site-packages/pip/_internal/req/req_install.py", line 913, in install
    use_user_site=use_user_site, pycompile=pycompile,
  File "/usr/local/lib/python3.7/site-packages/pip/_internal/req/req_install.py", line 445, in move_wheel_files
    warn_script_location=warn_script_location,
  File "/usr/local/lib/python3.7/site-packages/pip/_internal/wheel.py", line 428, in move_wheel_files
    assert info_dir, "%s .dist-info directory not found" % req
AssertionError: OleFileIO_PL .dist-info directory not found

Finally install without error:

$ pip3 --no-cache-dir --verbose --verbose --verbose install OleFileIO_PL
Created temporary directory: /private/var/folders/r9/jclb4tss1zqftv37t_ks9qzm0000gn/T/pip-ephem-wheel-cache-rbciupjc
Created temporary directory: /private/var/folders/r9/jclb4tss1zqftv37t_ks9qzm0000gn/T/pip-req-tracker-5onaw1m3
Created requirements tracker '/private/var/folders/r9/jclb4tss1zqftv37t_ks9qzm0000gn/T/pip-req-tracker-5onaw1m3'
Created temporary directory: /private/var/folders/r9/jclb4tss1zqftv37t_ks9qzm0000gn/T/pip-install-nmby5f0_
Collecting OleFileIO_PL
  1 location(s) to search for versions of OleFileIO-PL:
  * https://pypi.org/simple/olefileio-pl/
  Getting page https://pypi.org/simple/olefileio-pl/
  Starting new HTTPS connection (1): pypi.org:443
  https://pypi.org:443 "GET /simple/olefileio-pl/ HTTP/1.1" 200 1011
  Analyzing links from page https://pypi.org/simple/olefileio-pl/
    Found link https://files.pythonhosted.org/packages/03/08/23407d96587f9a6272cc5593c502ed4adfc07c020636ddc396a2f1766d2b/OleFileIO_PL-0.23.zip#sha256=bd16227be93e72a728694f17b6d95803b00c3a3702129634335a8ba10319d761 (from https://pypi.org/simple/olefileio-pl/), version: 0.23
    Found link https://files.pythonhosted.org/packages/30/ca/9b9ddc4a880d17481be1c1106bed1dea184cf4cd5cbdc7f2cdcf93463fd0/OleFileIO_PL-0.24.zip#sha256=0284a0078ecbfe506b63bc31e6a80793f368bab9256375e1baf68710d07d3b23 (from https://pypi.org/simple/olefileio-pl/), version: 0.24
    Found link https://files.pythonhosted.org/packages/18/82/990da3eeccb6a503f472f120d1904c799f40cdb9df73ef433dbb31566d40/OleFileIO_PL-0.25.zip#sha256=8c8219333ddf78d786c7f9e43a141934ddbd5a20e0e627e4b992ad54550b828a (from https://pypi.org/simple/olefileio-pl/), version: 0.25
    Found link https://files.pythonhosted.org/packages/f5/dd/9dca4b81a7480e283ff2b617a0e2b308026f9312f459dc0bbe0b248f75f1/OleFileIO_PL-0.26.zip#sha256=4933cdd181a2506678dd2b01743c33ceec2ec8ecb813fc5e7fa50ea4d6b88fa4 (from https://pypi.org/simple/olefileio-pl/), version: 0.26
    Found link https://files.pythonhosted.org/packages/9d/e5/cc03d56395a3d685567512198dd3a5a9d95a1678134e9068badf28f60967/OleFileIO_PL-0.30.zip#sha256=9f2e556f33d5843d3ce03316958b0502d558f08f8a9a4c18a63b842134cdaaa3 (from https://pypi.org/simple/olefileio-pl/), version: 0.30
    Found link https://files.pythonhosted.org/packages/59/53/62b83a487b0ef8d6e310b124647681d84aa8ff64d866d4602712fe49cfe0/OleFileIO_PL-0.31.zip#sha256=f58c11cafccb93eb845e6a08b4a80cfd4bf56ba536edc2105041b61c2528184a (from https://pypi.org/simple/olefileio-pl/), version: 0.31
    Found link https://files.pythonhosted.org/packages/1b/8b/26fe3d9215c4c88f9b8c925b235b352269e59ba81a97951f4a80470967ef/OleFileIO_PL-0.40.zip#sha256=965737cc1a7a3f516d5fedfb9837eda751d51f20e427336c4e5b36f9a4ea165b (from https://pypi.org/simple/olefileio-pl/), version: 0.40
    Found link https://files.pythonhosted.org/packages/1a/5b/3c6803bb51336b71525bce4c811c598107073dc642c9fafffc6a79b0e4b7/OleFileIO_PL-0.41.zip#sha256=cb868de3ce6adb7727a4d6ec7510c151c51cdbde875f70a696d772d425b093f6 (from https://pypi.org/simple/olefileio-pl/), version: 0.41
    Found link https://files.pythonhosted.org/packages/a0/05/f124ecb536ae2090891d3bcb6a65facd1358f4fd10422c1354357687e8dc/OleFileIO_PL-0.42.1.zip#sha256=3466f8e9bce80bbe447aef69cb5653d40d425944cb9f9052bbd8f1511eeca98e (from https://pypi.org/simple/olefileio-pl/), version: 0.42.1
  Using version 0.42.1 (newest of versions: 0.23, 0.24, 0.25, 0.26, 0.30, 0.31, 0.40, 0.41, 0.42.1)
  Created temporary directory: /private/var/folders/r9/jclb4tss1zqftv37t_ks9qzm0000gn/T/pip-unpack-26yc6egx
  Starting new HTTPS connection (1): files.pythonhosted.org:443
  https://files.pythonhosted.org:443 "GET /packages/a0/05/f124ecb536ae2090891d3bcb6a65facd1358f4fd10422c1354357687e8dc/OleFileIO_PL-0.42.1.zip HTTP/1.1" 200 120042
  Downloading https://files.pythonhosted.org/packages/a0/05/f124ecb536ae2090891d3bcb6a65facd1358f4fd10422c1354357687e8dc/OleFileIO_PL-0.42.1.zip (120kB)
  Downloading from URL https://files.pythonhosted.org/packages/a0/05/f124ecb536ae2090891d3bcb6a65facd1358f4fd10422c1354357687e8dc/OleFileIO_PL-0.42.1.zip#sha256=3466f8e9bce80bbe447aef69cb5653d40d425944cb9f9052bbd8f1511eeca98e (from https://pypi.org/simple/olefileio-pl/)
    100% |████████████████████████████████| 122kB 927kB/s 
  Added OleFileIO_PL from https://files.pythonhosted.org/packages/a0/05/f124ecb536ae2090891d3bcb6a65facd1358f4fd10422c1354357687e8dc/OleFileIO_PL-0.42.1.zip#sha256=3466f8e9bce80bbe447aef69cb5653d40d425944cb9f9052bbd8f1511eeca98e to build tracker '/private/var/folders/r9/jclb4tss1zqftv37t_ks9qzm0000gn/T/pip-req-tracker-5onaw1m3'
    Running setup.py (path:/private/var/folders/r9/jclb4tss1zqftv37t_ks9qzm0000gn/T/pip-install-nmby5f0_/OleFileIO-PL/setup.py) egg_info for package OleFileIO-PL
    Running command python setup.py egg_info
    running egg_info
    creating pip-egg-info/olefile.egg-info
    writing pip-egg-info/olefile.egg-info/PKG-INFO
    writing dependency_links to pip-egg-info/olefile.egg-info/dependency_links.txt
    writing top-level names to pip-egg-info/olefile.egg-info/top_level.txt
    writing manifest file 'pip-egg-info/olefile.egg-info/SOURCES.txt'
    reading manifest file 'pip-egg-info/olefile.egg-info/SOURCES.txt'
    writing manifest file 'pip-egg-info/olefile.egg-info/SOURCES.txt'
  Generating metadata for package OleFileIO-PL produced metadata for project name olefile. Fix your #egg=OleFileIO-PL fragments.
  Source in /private/var/folders/r9/jclb4tss1zqftv37t_ks9qzm0000gn/T/pip-install-nmby5f0_/OleFileIO-PL has version 0.42.1, which satisfies requirement olefile from https://files.pythonhosted.org/packages/a0/05/f124ecb536ae2090891d3bcb6a65facd1358f4fd10422c1354357687e8dc/OleFileIO_PL-0.42.1.zip#sha256=3466f8e9bce80bbe447aef69cb5653d40d425944cb9f9052bbd8f1511eeca98e
  Removed olefile from https://files.pythonhosted.org/packages/a0/05/f124ecb536ae2090891d3bcb6a65facd1358f4fd10422c1354357687e8dc/OleFileIO_PL-0.42.1.zip#sha256=3466f8e9bce80bbe447aef69cb5653d40d425944cb9f9052bbd8f1511eeca98e from build tracker '/private/var/folders/r9/jclb4tss1zqftv37t_ks9qzm0000gn/T/pip-req-tracker-5onaw1m3'
Installing collected packages: olefile
  Created temporary directory: /private/var/folders/r9/jclb4tss1zqftv37t_ks9qzm0000gn/T/pip-record-gkv3k5l3
  Running setup.py install for olefile ...     Running command /usr/local/opt/python/bin/python3.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/r9/jclb4tss1zqftv37t_ks9qzm0000gn/T/pip-install-nmby5f0_/OleFileIO-PL/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/r9/jclb4tss1zqftv37t_ks9qzm0000gn/T/pip-record-gkv3k5l3/install-record.txt --single-version-externally-managed --compile
    running install
    running build
    running build_py
    creating build
    creating build/lib
    copying OleFileIO_PL.py -> build/lib
    creating build/lib/olefile
    copying olefile/__init__.py -> build/lib/olefile
    copying olefile/olefile.py -> build/lib/olefile
    copying olefile/olefile2.py -> build/lib/olefile
    copying olefile/README.rst -> build/lib/olefile
    copying olefile/README.html -> build/lib/olefile
    copying olefile/LICENSE.txt -> build/lib/olefile
    copying olefile/CONTRIBUTORS.txt -> build/lib/olefile
    copying olefile/olefile.html -> build/lib/olefile
    copying olefile/olefile2.html -> build/lib/olefile
    creating build/lib/olefile/doc
    copying olefile/doc/API.html -> build/lib/olefile/doc
    copying olefile/doc/Contribute.html -> build/lib/olefile/doc
    copying olefile/doc/Home.html -> build/lib/olefile/doc
    copying olefile/doc/Install.html -> build/lib/olefile/doc
    copying olefile/doc/License.html -> build/lib/olefile/doc
    copying olefile/doc/OLE_Overview.html -> build/lib/olefile/doc
    copying olefile/doc/API.md -> build/lib/olefile/doc
    copying olefile/doc/Contribute.md -> build/lib/olefile/doc
    copying olefile/doc/Home.md -> build/lib/olefile/doc
    copying olefile/doc/Install.md -> build/lib/olefile/doc
    copying olefile/doc/License.md -> build/lib/olefile/doc
    copying olefile/doc/OLE_Overview.md -> build/lib/olefile/doc
    copying olefile/doc/OLE_VBA_sample.png -> build/lib/olefile/doc
    running install_lib
    creating /usr/local/lib/python3.7/site-packages/olefile
    copying build/lib/olefile/__init__.py -> /usr/local/lib/python3.7/site-packages/olefile
    copying build/lib/olefile/CONTRIBUTORS.txt -> /usr/local/lib/python3.7/site-packages/olefile
    creating /usr/local/lib/python3.7/site-packages/olefile/doc
    copying build/lib/olefile/doc/API.html -> /usr/local/lib/python3.7/site-packages/olefile/doc
    copying build/lib/olefile/doc/API.md -> /usr/local/lib/python3.7/site-packages/olefile/doc
    copying build/lib/olefile/doc/Contribute.html -> /usr/local/lib/python3.7/site-packages/olefile/doc
    copying build/lib/olefile/doc/Contribute.md -> /usr/local/lib/python3.7/site-packages/olefile/doc
    copying build/lib/olefile/doc/Home.html -> /usr/local/lib/python3.7/site-packages/olefile/doc
    copying build/lib/olefile/doc/Home.md -> /usr/local/lib/python3.7/site-packages/olefile/doc
    copying build/lib/olefile/doc/Install.html -> /usr/local/lib/python3.7/site-packages/olefile/doc
    copying build/lib/olefile/doc/Install.md -> /usr/local/lib/python3.7/site-packages/olefile/doc
    copying build/lib/olefile/doc/License.html -> /usr/local/lib/python3.7/site-packages/olefile/doc
    copying build/lib/olefile/doc/License.md -> /usr/local/lib/python3.7/site-packages/olefile/doc
    copying build/lib/olefile/doc/OLE_Overview.html -> /usr/local/lib/python3.7/site-packages/olefile/doc
    copying build/lib/olefile/doc/OLE_Overview.md -> /usr/local/lib/python3.7/site-packages/olefile/doc
    copying build/lib/olefile/doc/OLE_VBA_sample.png -> /usr/local/lib/python3.7/site-packages/olefile/doc
    copying build/lib/olefile/LICENSE.txt -> /usr/local/lib/python3.7/site-packages/olefile
    copying build/lib/olefile/olefile.html -> /usr/local/lib/python3.7/site-packages/olefile
    copying build/lib/olefile/olefile.py -> /usr/local/lib/python3.7/site-packages/olefile
    copying build/lib/olefile/olefile2.html -> /usr/local/lib/python3.7/site-packages/olefile
    copying build/lib/olefile/olefile2.py -> /usr/local/lib/python3.7/site-packages/olefile
    copying build/lib/olefile/README.html -> /usr/local/lib/python3.7/site-packages/olefile
    copying build/lib/olefile/README.rst -> /usr/local/lib/python3.7/site-packages/olefile
    copying build/lib/OleFileIO_PL.py -> /usr/local/lib/python3.7/site-packages
    running install_egg_info
    running egg_info
    creating olefile.egg-info
    writing olefile.egg-info/PKG-INFO
    writing dependency_links to olefile.egg-info/dependency_links.txt
    writing top-level names to olefile.egg-info/top_level.txt
    writing manifest file 'olefile.egg-info/SOURCES.txt'
    reading manifest file 'olefile.egg-info/SOURCES.txt'
    writing manifest file 'olefile.egg-info/SOURCES.txt'
    Copying olefile.egg-info to /usr/local/lib/python3.7/site-packages/olefile-0.42.1-py3.7.egg-info
    running install_scripts
    writing list of installed files to '/private/var/folders/r9/jclb4tss1zqftv37t_ks9qzm0000gn/T/pip-record-gkv3k5l3/install-record.txt'
done
  Removing source in /private/var/folders/r9/jclb4tss1zqftv37t_ks9qzm0000gn/T/pip-install-nmby5f0_/OleFileIO-PL
Successfully installed olefile-0.42.1
Cleaning up...
Removed build tracker '/private/var/folders/r9/jclb4tss1zqftv37t_ks9qzm0000gn/T/pip-req-tracker-5onaw1m3'
1 location(s) to search for versions of pip:
[snip pip version -related verbose output]

Version information:

  • OS: Mac
  • OS version: x.xx - 32/64 bits
  • Python version: Python 3.7.3
  • olefile version: OleFileIO-PL-0.42.1 & olefile-0.46

Additional context

As mentioned initially, I'm not really expecting this to be "fixed" but hopefully at least reporting it might be helpful to someone in future.

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

No branches or pull requests

2 participants