Addon Dependency Generation on Mac

Hi,

I am working on generating the addon dependency package on a M1 macbook pro. Python 3.9.13 is installed.

ashishdani@Ashishs-MacBook-Pro ayon-dependencies-tool % ./start.sh create --output-dir"/Users/ashishdani/ayon-dependency/"  -b Studio-Name-2024-02-01-13
>>> Using python Creating virtualenv ayon-dependencies-tool in /Users/ashishdani/Documents/ayon/ayon-dependencies-tool/.venv
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/Users/ashishdani/Documents/ayon/ayon-dependencies-tool/dependencies/__main__.py", line 7, in <module>
    from dependencies.cli import main
  File "/Users/ashishdani/Documents/ayon/ayon-dependencies-tool/dependencies/__init__.py", line 1, in <module>
    from .core import create_package
  File "/Users/ashishdani/Documents/ayon/ayon-dependencies-tool/dependencies/core.py", line 14, in <module>
    from packaging import version
ModuleNotFoundError: No module named 'packaging'

Are there any step by step guides available for mac / osx dependency generation ?

Thank you,

hey, try to stay away from the system python. You can install your own and manage it using excellent tool called pyenv. You can then specify what version of python should be used as system or local one (based on directory where you call pyenv local 3.9.13 for example.

Thank you, this worked !!