holzschu / holzschu/a-shell

Ptpython install fails

Open
#217 17 comments 0 reactions 0 assignees View on GitHub
fix committed
Dominant language
Perl
Stars
3.9k
Forks
213
Avg merge
1m
Merged PRs (30d)
1

Description

I tried installing ptpython via pip and got:

Building wheel for regex (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /private/var/containers/Bundle/Application/0D2ED635-057F-476E-B7BA-9FE1C7BA2537/a-Shell.app/Library/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/mobile/Containers/Data/Application/9A89E63C-AC7D-4079-A455-862123C66D73/tmp/pip-install-4d033nzk/regex_3902b453275544fe8b648337638336af/setup.py'"'"'; __file__='"'"'/private/var/mobile/Containers/Data/Application/9A89E63C-AC7D-4079-A455-862123C66D73/tmp/pip-install-4d033nzk/regex_3902b453275544fe8b648337638336af/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/mobile/Containers/Data/Application/9A89E63C-AC7D-4079-A455-862123C66D73/tmp/pip-wheel-xhhzsw42
cwd: /private/var/mobile/Containers/Data/Application/9A89E63C-AC7D-4079-A455-862123C66D73/tmp/pip-install-4d033nzk/regex_3902b453275544fe8b648337638336af/
Complete output (15 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-11.2-x86_64-3.9
creating build/lib.macosx-11.2-x86_64-3.9/regex
copying regex_3/__init__.py -> build/lib.macosx-11.2-x86_64-3.9/regex
copying regex_3/regex.py -> build/lib.macosx-11.2-x86_64-3.9/regex
copying regex_3/_regex_core.py -> build/lib.macosx-11.2-x86_64-3.9/regex
copying regex_3/test_regex.py -> build/lib.macosx-11.2-x86_64-3.9/regex
running build_ext
building 'regex._regex' extension
creating build/temp.macosx-11.2-x86_64-3.9
creating build/temp.macosx-11.2-x86_64-3.9/regex_3
error: ('There are no compilers available on iOS, sorry. Command was: ', ['-I/private/var/containers/Bundle/Application/0D2ED635-057F-476E-B7BA-9FE1C7BA2537/a-Shell.app/Library/include/python3.9', '-c'])
----------------------------------------
ERROR: Failed building wheel for regex
Running setup.py clean for regex
Failed to build regex
Installing collected packages: regex, pathspec, mypy-extensions, click, appdirs, prompt-toolkit, black, ptpython
Running setup.py install for regex ... error
ERROR: Command errored out with exit status 1:
command: /private/var/containers/Bundle/Application/0D2ED635-057F-476E-B7BA-9FE1C7BA2537/a-Shell.app/Library/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/mobile/Containers/Data/Application/9A89E63C-AC7D-4079-A455-862123C66D73/tmp/pip-install-4d033nzk/regex_3902b453275544fe8b648337638336af/setup.py'"'"'; __file__='"'"'/private/var/mobile/Containers/Data/Application/9A89E63C-AC7D-4079-A455-862123C66D73/tmp/pip-install-4d033nzk/regex_3902b453275544fe8b648337638336af/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/mobile/Containers/Data/Application/9A89E63C-AC7D-4079-A455-862123C66D73/tmp/pip-record-fn_d8m0k/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /var/mobile/Containers/Data/Application/9A89E63C-AC7D-4079-A455-862123C66D73/Library/include/python3.9/regex
cwd: /private/var/mobile/Containers/Data/Application/9A89E63C-AC7D-4079-A455-862123C66D73/tmp/pip-install-4d033nzk/regex_3902b453275544fe8b648337638336af/
Complete output (15 lines):
running install
running build
running build_py
creating build
creating build/lib.macosx-11.2-x86_64-3.9
creating build/lib.macosx-11.2-x86_64-3.9/regex
copying regex_3/__init__.py -> build/lib.macosx-11.2-x86_64-3.9/regex
copying regex_3/regex.py -> build/lib.macosx-11.2-x86_64-3.9/regex
copying regex_3/_regex_core.py -> build/lib.macosx-11.2-x86_64-3.9/regex
copying regex_3/test_regex.py -> build/lib.macosx-11.2-x86_64-3.9/regex
running build_ext
building 'regex._regex' extension
creating build/temp.macosx-11.2-x86_64-3.9
creating build/temp.macosx-11.2-x86_64-3.9/regex_3
error: ('There are no compilers available on iOS, sorry. Command was: ', ['-I/private/var/containers/Bundle/Application/0D2ED6
35-057F-476E-B7BA-9FE1C7BA2537/a-Shell.app/Library/include/python3.9', '-c'])
----------------------------------------
ERROR: Command errored out with exit status 1: /private/var/containers/Bundle/Application/0D2ED635-057F-476E-B7BA-9FE1C7BA2537/a-S
hell.app/Library/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/mobile/Containers/Data/Appli
cation/9A89E63C-AC7D-4079-A455-862123C66D73/tmp/pip-install-4d033nzk/regex_3902b453275544fe8b648337638336af/setup.py'"'"'; __file_
_='"'"'/private/var/mobile/Containers/Data/Application/9A89E63C-AC7D-4079-A455-862123C66D73/tmp/pip-install-4d033nzk/regex_3902b45
3275544fe8b648337638336af/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/mobile/Containers/Data/Applic
ation/9A89E63C-AC7D-4079-A455-862123C66D73/tmp/pip-record-fn_d8m0k/install-record.txt --single-version-externally-managed --user -
-prefix= --compile --install-headers /var/mobile/Containers/Data/Application/9A89E63C-AC7D-4079-A455-862123C66D73/Library/include/
python3.9/regex Check the logs for full command output.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.