Hi Marc
the entire message I get is:-
Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/_distutils_hack/init.py:18: UserWarning: Distutils was imported before Setuptools, but importing Setuptools also replaces the distutils
module in sys.modules
. This may lead to undesirable behaviors or errors. To avoid these issues, avoid using distutils directly, ensure that setuptools is installed in the traditional way (e.g. not an editable install), and/or make sure that setuptools is always imported before distutils.
warnings.warn(
/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/_distutils_hack/init.py:33: UserWarning: Setuptools is replacing distutils.
warnings.warn(“Setuptools is replacing distutils.”)
Traceback (most recent call last):
File “/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py”, line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File “/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py”, line 86, in _run_code
exec(code, run_globals)
File “/Users/jonathanclark/pip.py”, line 23470, in
main()
File “/Users/jonathanclark/pip.py”, line 198, in main
bootstrap(tmpdir=tmpdir)
File “/Users/jonathanclark/pip.py”, line 120, in bootstrap
import setuptools # noqa
File “/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/init.py”, line 8, in
import _distutils_hack.override # noqa: F401
File “/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/_distutils_hack/override.py”, line 1, in
import(’_distutils_hack’).do_override()
File “/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/_distutils_hack/init.py”, line 77, in do_override
ensure_local_distutils()
File “/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/_distutils_hack/init.py”, line 64, in ensure_local_distutils
assert ‘_distutils’ in core.file, core.file
AssertionError: /Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.10/lib/python3.10/distutils/core.py
Process returned with code 1
Hope this helps. I’m really looking forward to using Scamp
Jonathan