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.

Install setuptools 36.2.1 through exception

See original GitHub issue

OS:[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Python version: 3.6.2 pip version: 9.0.1 setuptools install version : 36.2.0

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip/commands/install.py", line 342, in run
    prefix=options.prefix_path,
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip/req/req_set.py", line 784, in install
    **kwargs
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip/req/req_install.py", line 851, in install
    self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
    isolated=self.isolated,
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip/wheel.py", line 247, in move_wheel_files
    prefix=prefix,
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip/locations.py", line 140, in distutils_scheme
    d = Distribution(dist_args)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/setuptools/dist.py", line 365, in __init__
    self._finalize_requires()
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/setuptools/dist.py", line 372, in _finalize_requires
    if not self.install_requires:
AttributeError: 'Distribution' object has no attribute 'install_requires'

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
akszydelkocommented, Jul 24, 2017

Getting the same error on new version 36.2.2, which were suppose to fix that as described in #1086. I’m trying to update form version 36.2.0.

0reactions
benoit-pierrecommented, Aug 6, 2017

Duplicate of #1086.

Read more comments on GitHub >

github_iconTop Results From Across the Web

setuptools 3.6 - PyPI
The recommended way to install setuptools on Windows is to download ez_setup.py and run it. The script will download the appropriate .egg file...
Read more >
setuptools 36.2.0 upgrading/downgrading uninstall rollback ...
A build on Travis CI of one of my side projects got error AttributeError: 'Distribution' object has no attribute 'install_requires' while ...
Read more >
setup.py: require a recent version of setuptools before trying to ...
The easy solution is to tell the users to pip install 'setuptools>=36.2.1' before pip install my-package . (Note that 36.2.1 is just a ......
Read more >
historic AWS QS CFT Crowd hash fails to install Ansible ... - Jira
dc-deployments-automation - historic AWS QS CFT Crowd hash fails to install Ansible dependencies due to issue with pipfile.lock. Needs Triage: Assignee:.
Read more >
Unable to get ancillary data/luts using scripts (or, this old guy ...
execution exception: java.io. ... Error - Could not install luts for seawifs ... Requirement already satisfied: setuptools>=36.2.1 in ...
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