question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

v2.2.0 can not install

See original GitHub issue

boxsdk v2.2.0 can not install.

$ pip install boxsdk==2.2.0
...
Exception:
Traceback (most recent call last):
  File "/Users/jumpei/workspace/temp/lib/python3.7/site-packages/pip/_internal/basecommand.py", line 228, in main
    status = self.run(options, args)
  File "/Users/jumpei/workspace/temp/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 335, in run
    use_user_site=options.use_user_site,
  File "/Users/jumpei/workspace/temp/lib/python3.7/site-packages/pip/_internal/req/__init__.py", line 49, in install_given_reqs
    **kwargs
  File "/Users/jumpei/workspace/temp/lib/python3.7/site-packages/pip/_internal/req/req_install.py", line 748, in install
    use_user_site=use_user_site, pycompile=pycompile,
  File "/Users/jumpei/workspace/temp/lib/python3.7/site-packages/pip/_internal/req/req_install.py", line 961, in move_wheel_files
    warn_script_location=warn_script_location,
  File "/Users/jumpei/workspace/temp/lib/python3.7/site-packages/pip/_internal/wheel.py", line 314, in move_wheel_files
    clobber(source, lib_dir, True)
  File "/Users/jumpei/workspace/temp/lib/python3.7/site-packages/pip/_internal/wheel.py", line 274, in clobber
    ', '.join(info_dir))
AssertionError: Multiple .dist-info directories: /Users/jumpei/workspace/temp/lib/python3.7/site-packages/boxsdk-2.2.0.dist-info, /Users/jumpei/workspace/temp/lib/python3.7/site-packages/boxsdk-2.1.0.dist-info

I investigated the cause of the error.

$ pip download boxsdk==2.2.0
Collecting boxsdk==2.2.0
  Using cached https://files.pythonhosted.org/packages/10/1c/89ee598ae557b5d482f686777e8e27c613c29b34c5d3c8046d19b84dae70/boxsdk-2.2.0-py2.py3-none-any.whl
  Saved ./boxsdk-2.2.0-py2.py3-none-any.whl
...
$ unzip -d boxsdk boxsdk-2.2.0-py2.py3-none-any.whl
$ cd boxsdk
$ ls 
boxsdk	boxsdk-2.1.0.dist-info	boxsdk-2.2.0.dist-info

boxsdk-2.1.0.dist-info/ and boxsdk-2.2.0.dist-info/ existed in the library. Probably boxsdk-2.1.0.dist-info/ is the cause of the error.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
mattwillercommented, Feb 15, 2019

@rawsk @mmarceau We’re on it — we’ll push out a v2.2.1 release today that should be identical to the v2.2.0 one (just without the erroneous .dist-info). In the meantime, you may want to consider using v2.1.0 until we can get a corrected release out.

1reaction
carychengcommented, Feb 15, 2019

Hey @rawsk @mmarceau,

We just pushed out v2.2.1 of the Python SDK that should resolve this issue. We apologize for any inconvenience this may have caused.

If you have any further issues or questions going forward please do not hesitate to reach out!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing the Windows PowerShell 2.0 Engine - Microsoft Learn
On the Installation Type page, select Role-based or feature-based installation. On the Features page, expand the Windows PowerShell (Installed) ...
Read more >
How To Enable .NET Framework 2.0 and 3.5 in Windows 10 ...
NET Framework, but this doesn't work. You still need to enable it. Install .NET. From the Windows 8 desktop, open the power user...
Read more >
iis 7 - Cannot install Microsoft Web Farm Framework v2.2
When I run the installer for the Web Farm Framework v2. 2 I get the following error: Web Deployment Tool is a pre-requisite...
Read more >
Installing or updating the latest version of the AWS CLI
This topic describes how to install or update the latest release of the AWS Command Line Interface (AWS CLI) on supported operating systems....
Read more >
Overwatch 2 Error: Unable to Install or Patch (PC) - Battle.net
Troubleshooting problems with installation or patching of Overwatch 2. ... 2 but can't install it; Can't install Overwatch 2; Can't patch Overwatch 2....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found