Saturday, September 30, 2023
HomeSoftware EngineeringFind out how to clear up AttributeError: ‘int’ object has no attribute...

Find out how to clear up AttributeError: ‘int’ object has no attribute ‘cut up’ – make: [sharedmods] Error 1


In the event you get the next error whereas making an attempt to put in one thing through Homebrew

AttributeError: 'int' object has no attribute 'cut up' - make: *** [sharedmods] Error 1

The answer to this Homebrew difficulty

First attempt to clear up the precise Homebrew points:

git -C /usr/native/Homebrew/Library/Faucets/homebrew/homebrew-core fetch --unshallow

It will then help you replace:

homebrew replace

Then:

brew faucet aws/faucet
brew set up aws-sam-cli

Worst case situation answer

Then you’ll be able to clear up it like this:

sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
brew physician
brew replace

How the error seems to be

==> Putting in dependencies for aws/faucet/aws-sam-cli: [email protected]
==> Putting in aws/faucet/aws-sam-cli dependency: [email protected]
==> ./configure --prefix=/usr/native/Cellar/[email protected]/3.8.6_2 --enable-ipv6 --datarootdir=/usr/native/Cellar/[email protected]/3.8.6_2/share --datadir=/usr/native/Cellar/python
==> make
Final 15 strains from ~/Library/Logs/Homebrew/[email protected]/02.make:
    self.run_command(cmd_name)
  File "/personal/tmp/[email protected]/Python-3.8.6/Lib/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/personal/tmp/[email protected]/Python-3.8.6/Lib/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/personal/tmp/[email protected]/Python-3.8.6/Lib/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "./setup.py", line 320, in build_extensions
    self.detect_modules()
  File "./setup.py", line 1695, in detect_modules
    self.detect_readline_curses()
  File "./setup.py", line 930, in detect_readline_curses
    (tuple(int(n) for n in dep_target.cut up('.')[0:2])
AttributeError: 'int' object has no attribute 'cut up'
make: *** [sharedmods] Error 1
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments