Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about isort

Read more about isort

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - isort

pre-commit isort no module named 'setuptools'

I am trying to run pre-commit hooks, but they fail when they come across the isort hook which throws the error below: File "/home/el/.cache/pre-commit/repoffrjhcx0/py_env-python3/lib/python3.10...
test-img

coredumped0x

python

pre-commit-hook

pre-commit

pre-commit.com

isort

Votes: 0

Answers: 1

Latest Answer

this was a bug in setuptools which has already been fixed (see also the pinned issue on isort) you can work around this bug by setting the following environment variable: SETUPTOOLS_USE_DISTUTILS=std...
test-img

anthony sottile

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved