[Ovmsdev] MacOS Monterey

Tamás Kovács kommykt at gmail.com
Wed Dec 29 16:11:05 HKT 2021


I think my main problem with the python, because esp first step is:

sudo easy_install pip


and get the following:

Password:

Searching for pip

Reading https://pypi.org/simple/pip/

Downloading
https://files.pythonhosted.org/packages/da/f6/c83229dcc3635cdeb51874184241a9508ada15d8baa337a41093fab58011/pip-21.3.1.tar.gz#sha256=fd11ba3d0fdb4c07fbc5ecbba0b1b719809420f25038f8ee3cd913d3faa3033a

Best match: pip 21.3.1

Processing pip-21.3.1.tar.gz

Writing /tmp/easy_install-_tOHJQ/pip-21.3.1/setup.cfg

Running pip-21.3.1/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-_tOHJQ/pip-21.3.1/egg-dist-tmp-nFLUCL

Traceback (most recent call last):

  File "/usr/bin/easy_install", line 13, in <module>

    load_entry_point('setuptools==41.0.1', 'console_scripts',
'easy_install')()

  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py",
line 2319, in main

    **kw

  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/__init__.py",
line 145, in setup

    return distutils.core.setup(**attrs)

  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py",
line 151, in setup

    dist.run_commands()

  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py",
line 953, in run_commands

    self.run_command(cmd)

  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py",
line 972, in run_command

    cmd_obj.run()

  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py",
line 418, in run

    self.easy_install(spec, not self.no_deps)

  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py",
line 679, in easy_install

    return self.install_item(spec, dist.location, tmpdir, deps)

  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py",
line 705, in install_item

    dists = self.install_eggs(spec, download, tmpdir)

  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py",
line 890, in install_eggs

    return self.build_and_install(setup_script, setup_base)

  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py",
line 1158, in build_and_install

    self.run_setup(setup_script, setup_base, args)

  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py",
line 1144, in run_setup

    run_setup(setup_script, args)

  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/sandbox.py",
line 253, in run_setup

    raise

  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/contextlib.py",
line 35, in __exit__

    self.gen.throw(type, value, traceback)

  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/sandbox.py",
line 195, in setup_context

    yield

  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/contextlib.py",
line 35, in __exit__

    self.gen.throw(type, value, traceback)

  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/sandbox.py",
line 166, in save_modules

    saved_exc.resume()

  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/sandbox.py",
line 141, in resume

    six.reraise(type, exc, self._tb)

  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/sandbox.py",
line 154, in save_modules

    yield saved

  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/sandbox.py",
line 195, in setup_context

    yield

  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/sandbox.py",
line 250, in run_setup

    _execfile(setup_script, ns)

  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/sandbox.py",
line 44, in _execfile

    code = compile(script, filename, 'exec')

  File "/tmp/easy_install-_tOHJQ/pip-21.3.1/setup.py", line 7

    def read(rel_path: str) -> str:

                     ^

SyntaxError: invalid syntax







Monterey defaul python is:


kommykt at Tamass-Air esp % python --version

Python 2.7.18

kommykt at Tamass-Air esp %


Now i create a new fresh install.




Mark Webb-Johnson <mark at webb-johnson.net> ezt írta (időpont: 2021. dec.
29., Sze, 0:44):

> I build on Monterey ok.
>
> Perhaps double check the sdkconfig vs support/sdkconfig.default.hw31? And
> a ‘make clean’?
>
> Regards, Mark.
>
> > On 29 Dec 2021, at 12:26 AM, Tamás Kovács <kommykt at gmail.com> wrote:
> >
> > I now update (create a fresh install) my Mac  (Macbok air 2017) to macOS
> Monterey and developing not working.
> > I get a following when compile a code, this a main repo, without
> modification, fresh install.
> > Any suggestions? Go back to BigSur?
> > <Terminal>_______________________________________________
> > OvmsDev mailing list
> > OvmsDev at lists.openvehicles.com
> > http://lists.openvehicles.com/mailman/listinfo/ovmsdev
>
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.openvehicles.com
> http://lists.openvehicles.com/mailman/listinfo/ovmsdev
>


-- 
Üdvözlettel:
Kovács Tamás
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20211229/b10263de/attachment-0001.htm>


More information about the OvmsDev mailing list