"'int' object has no attribute 'split'" when pip installing ...
github.com › Homebrew › homebrew-coreDec 02, 2020 · AttributeError: 'int' object has no attribute 'split' ----- ERROR: Failed building wheel for zstandard Running setup.py clean for zstandard Failed to build zstandard Installing collected packages: zstandard Running setup.py install for zstandard ... error ERROR: Command errored out with exit status 1: command: /usr/local/opt/python@3.9/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/bl/f1zf29l94f570sc6ljd4j3rh0000gn/T/pip-install-e6kqd258 ...
AttributeError: 'int' object has no attribute 'split ...
www.reddit.com › r › learnpythondef main(): print("This program converts a sequence of Unicode numbers into") print("the string of text that it represents. ") # Get the message to encode inString = input("Please enter the Unicode-encoded message: ") # Loop through each substring and build Unicode message message = "" for numStr in inString.split(): codeNum = eval(numStr) # convert digits to a number message = message + chr(codeNum) # concatentate character to message print(" The decoded message is:", message) main()