geekan / MetaGPT

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
https://deepwisdom.ai/
MIT License
44.35k stars 5.28k forks source link

"python setup.py install" error #42

Closed shaowin16 closed 1 week ago

shaowin16 commented 1 year ago

Installed /Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/pytest-7.2.2-py3.10.egg Searching for pymilvus==2.2.8 Reading https://pypi.org/simple/pymilvus/ Download error on https://pypi.org/simple/pymilvus/: [Errno 54] Connection reset by peer -- Some packages may not be found! Couldn't find index page for 'pymilvus' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading https://pypi.org/simple/

Bylaew commented 1 year ago

I have this: Installed /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/metagpt-0.1-py3.11.egg Processing dependencies for metagpt==0.1 Searching for unstructured[local-inference] Reading https://pypi.org/simple/unstructured/ Download error on https://pypi.org/simple/unstructured/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1002) -- Some packages may not be found! Couldn't find index page for 'unstructured' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading https://pypi.org/simple/ Download error on https://pypi.org/simple/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1002) -- Some packages may not be found! No local packages or working download links found for unstructured[local-inference] error: Could not find suitable distribution for Requirement.parse('unstructured[local-inference]') Python 3.11

geekan commented 1 year ago

@shaowin16 pip install -i https://pypi.tuna.tsinghua.edu.cn/simple some-package

shaowin16 commented 1 year ago

@shaowin16 pip install -i https://pypi.tuna.tsinghua.edu.cn/simple some-package

ok,now another error has occurred. ` Installed /Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/pymilvus-2.2.8-py3.10.egg Searching for pygame==2.1.3 Reading https://pypi.org/simple/pygame/ Downloading https://files.pythonhosted.org/packages/8d/78/819c3665f1f3e0ac71aeacc9f63d6ece23138cbae6ce92ea9c8d06104f60/pygame-2.1.3.tar.gz#sha256=df29c4369df9231eebffac801fa7af021279d7e9dc4c1cae698cc4077c98d069 Best match: pygame 2.1.3 Processing pygame-2.1.3.tar.gz Writing /var/folders/fq/zpd0v5r92zj8608zbpj88xnc0000gn/T/easy_install-1ivkgat0/pygame-2.1.3/setup.cfg Running pygame-2.1.3/setup.py -q bdist_egg --dist-dir /var/folders/fq/zpd0v5r92zj8608zbpj88xnc0000gn/T/easy_install-1ivkgat0/pygame-2.1.3/egg-dist-tmp-0eic2nmh

WARNING, No "Setup" File Exists, Running "buildconfig/config.py" Using Darwin configuration...

/bin/sh: sdl2-config: command not found /bin/sh: sdl2-config: command not found /bin/sh: sdl2-config: command not found


For help with compilation see: https://www.pygame.org/wiki/MacCompile To contribute to pygame development see: https://www.pygame.org/contribute.html

Traceback (most recent call last): File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 152, in save_modules yield saved File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 193, in setup_context yield File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 254, in run_setup _execfile(setup_script, ns) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 43, in _execfile exec(code, globals, locals) File "/var/folders/fq/zpd0v5r92zj8608zbpj88xnc0000gn/T/easy_install-1ivkgat0/pygame-2.1.3/setup.py", line 400, in File "/var/folders/fq/zpd0v5r92zj8608zbpj88xnc0000gn/T/easy_install-1ivkgat0/pygame-2.1.3/buildconfig/config.py", line 231, in main File "/var/folders/fq/zpd0v5r92zj8608zbpj88xnc0000gn/T/easy_install-1ivkgat0/pygame-2.1.3/buildconfig/config_darwin.py", line 126, in main File "/var/folders/fq/zpd0v5r92zj8608zbpj88xnc0000gn/T/easy_install-1ivkgat0/pygame-2.1.3/buildconfig/config_unix.py", line 43, in init IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/shaowin/workspace/private/metagpt/setup.py", line 31, in setup( File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/init.py", line 153, in setup return distutils.core.setup(**attrs) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/distutils/core.py", line 148, in setup dist.run_commands() File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/command/install.py", line 67, in run self.do_egg_install() File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/command/install.py", line 117, in do_egg_install cmd.run(show_deprecation=False) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/command/easy_install.py", line 408, in run self.easy_install(spec, not self.no_deps) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/command/easy_install.py", line 650, in easy_install return self.install_item(None, spec, tmpdir, deps, True) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/command/easy_install.py", line 697, in install_item self.process_distribution(spec, dist, deps) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/command/easy_install.py", line 744, in process_distribution distros = WorkingSet([]).resolve( File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/pkg_resources/init.py", line 766, in resolve dist = best[req.key] = env.best_match( File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/pkg_resources/init.py", line 1051, in best_match return self.obtain(req, installer) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/pkg_resources/init.py", line 1063, in obtain return installer(requirement) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/command/easy_install.py", line 669, in easy_install return self.install_item(spec, dist.location, tmpdir, deps) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/command/easy_install.py", line 695, in install_item dists = self.install_eggs(spec, download, tmpdir) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/command/easy_install.py", line 890, in install_eggs return self.build_and_install(setup_script, setup_base) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/command/easy_install.py", line 1162, in build_and_install self.run_setup(setup_script, setup_base, args) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/command/easy_install.py", line 1146, in run_setup run_setup(setup_script, args) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 244, in run_setup with setup_context(setup_dir): File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/contextlib.py", line 153, in exit self.gen.throw(typ, value, traceback) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 185, in setup_context with save_modules(): File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/contextlib.py", line 153, in exit self.gen.throw(typ, value, traceback) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 164, in save_modules saved_exc.resume() File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 139, in resume raise exc.with_traceback(self._tb) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 152, in save_modules yield saved File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 193, in setup_context yield File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 254, in run_setup _execfile(setup_script, ns) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 43, in _execfile exec(code, globals, locals) File "/var/folders/fq/zpd0v5r92zj8608zbpj88xnc0000gn/T/easy_install-1ivkgat0/pygame-2.1.3/setup.py", line 400, in File "/var/folders/fq/zpd0v5r92zj8608zbpj88xnc0000gn/T/easy_install-1ivkgat0/pygame-2.1.3/buildconfig/config.py", line 231, in main File "/var/folders/fq/zpd0v5r92zj8608zbpj88xnc0000gn/T/easy_install-1ivkgat0/pygame-2.1.3/buildconfig/config_darwin.py", line 126, in main File "/var/folders/fq/zpd0v5r92zj8608zbpj88xnc0000gn/T/easy_install-1ivkgat0/pygame-2.1.3/buildconfig/config_unix.py", line 43, in init IndexError: list index out of range `

geekan commented 1 year ago

@Bylaew @shaowin16 I updated requirements.txt to comment out most of the possibly non-universal, conflict-causing dependencies. Please try again after pull.

shaowin16 commented 1 year ago

@Bylaew @shaowin16 I updated requirements.txt to comment out most of the possibly non-universal, conflict-causing dependencies. Please try again after pull.

Installed /Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/metagpt-0.1-py3.10.egg Processing dependencies for metagpt==0.1 Searching for pandas==1.4.1 Reading https://pypi.org/simple/pandas/ Downloading https://files.pythonhosted.org/packages/c4/eb/cfa96ba42695b3c28d4864a796d492f188471dd536df7e5e5e0c54b629a6/pandas-1.4.1.tar.gz#sha256=8db93ec98ac7cb5f8ac1420c10f5e3c43533153f253fe7fb6d891cf5aa2b80d2 Best match: pandas 1.4.1 Processing pandas-1.4.1.tar.gz Writing /tmp/easy_install-khble1aj/pandas-1.4.1/setup.cfg Running pandas-1.4.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-khble1aj/pandas-1.4.1/egg-dist-tmp-6o5d_qtx Traceback (most recent call last): File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 152, in save_modules yield saved File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 193, in setup_context yield File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 254, in run_setup _execfile(setup_script, ns) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 43, in _execfile exec(code, globals, locals) File "/tmp/easy_install-khble1aj/pandas-1.4.1/setup.py", line 651, in File "/tmp/easy_install-khble1aj/pandas-1.4.1/setup.py", line 415, in maybe_cythonize RuntimeError: Cannot cythonize without Cython installed.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/shaowin/workspace/private/metagpt/setup.py", line 31, in setup( File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/init.py", line 153, in setup return distutils.core.setup(**attrs) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/distutils/core.py", line 148, in setup dist.run_commands() File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/command/install.py", line 67, in run self.do_egg_install() File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/command/install.py", line 117, in do_egg_install cmd.run(show_deprecation=False) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/command/easy_install.py", line 408, in run self.easy_install(spec, not self.no_deps) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/command/easy_install.py", line 650, in easy_install return self.install_item(None, spec, tmpdir, deps, True) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/command/easy_install.py", line 697, in install_item self.process_distribution(spec, dist, deps) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/command/easy_install.py", line 744, in process_distribution distros = WorkingSet([]).resolve( File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/pkg_resources/init.py", line 766, in resolve dist = best[req.key] = env.best_match( File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/pkg_resources/init.py", line 1051, in best_match return self.obtain(req, installer) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/pkg_resources/init.py", line 1063, in obtain return installer(requirement) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/command/easy_install.py", line 669, in easy_install return self.install_item(spec, dist.location, tmpdir, deps) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/command/easy_install.py", line 695, in install_item dists = self.install_eggs(spec, download, tmpdir) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/command/easy_install.py", line 890, in install_eggs return self.build_and_install(setup_script, setup_base) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/command/easy_install.py", line 1162, in build_and_install self.run_setup(setup_script, setup_base, args) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/command/easy_install.py", line 1146, in run_setup run_setup(setup_script, args) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 244, in run_setup with setup_context(setup_dir): File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/contextlib.py", line 153, in exit self.gen.throw(typ, value, traceback) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 185, in setup_context with save_modules(): File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/contextlib.py", line 153, in exit self.gen.throw(typ, value, traceback) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 164, in save_modules saved_exc.resume() File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 139, in resume raise exc.with_traceback(self._tb) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 152, in save_modules yield saved File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 193, in setup_context yield File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 254, in run_setup _execfile(setup_script, ns) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 43, in _execfile exec(code, globals, locals) File "/tmp/easy_install-khble1aj/pandas-1.4.1/setup.py", line 651, in File "/tmp/easy_install-khble1aj/pandas-1.4.1/setup.py", line 415, in maybe_cythonize RuntimeError: Cannot cythonize without Cython installed.

geekan commented 1 year ago

Googled this: https://lazeecoder.medium.com/installing-pandas-1-3-3-on-emr-6-3-0-f11a2a1d895d @shaowin16

shaowin16 commented 1 year ago

Googled this: https://lazeecoder.medium.com/installing-pandas-1-3-3-on-emr-6-3-0-f11a2a1d895d @shaowin16

There are too many problems right now in MacBook pro M2.

Installed /Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/metagpt-0.1-py3.10.egg
Processing dependencies for metagpt==0.1
Searching for pandas==1.4.1
Reading https://pypi.org/simple/pandas/
Downloading https://files.pythonhosted.org/packages/c4/eb/cfa96ba42695b3c28d4864a796d492f188471dd536df7e5e5e0c54b629a6/pandas-1.4.1.tar.gz#sha256=8db93ec98ac7cb5f8ac1420c10f5e3c43533153f253fe7fb6d891cf5aa2b80d2
Best match: pandas 1.4.1
Processing pandas-1.4.1.tar.gz
Writing /tmp/easy_install-7twzds4o/pandas-1.4.1/setup.cfg
Running pandas-1.4.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-7twzds4o/pandas-1.4.1/egg-dist-tmp-07ia431k
Compiling pandas/_libs/algos.pyx because it changed.
Compiling pandas/_libs/arrays.pyx because it changed.
Compiling pandas/_libs/groupby.pyx because it changed.
Compiling pandas/_libs/hashing.pyx because it changed.
Compiling pandas/_libs/hashtable.pyx because it changed.
Compiling pandas/_libs/index.pyx because it changed.
Compiling pandas/_libs/indexing.pyx because it changed.
Compiling pandas/_libs/internals.pyx because it changed.
Compiling pandas/_libs/interval.pyx because it changed.
Compiling pandas/_libs/join.pyx because it changed.
Compiling pandas/_libs/lib.pyx because it changed.
Compiling pandas/_libs/missing.pyx because it changed.
Compiling pandas/_libs/parsers.pyx because it changed.
Compiling pandas/_libs/reduction.pyx because it changed.
Compiling pandas/_libs/ops.pyx because it changed.
Compiling pandas/_libs/ops_dispatch.pyx because it changed.
Compiling pandas/_libs/properties.pyx because it changed.
Compiling pandas/_libs/reshape.pyx because it changed.
Compiling pandas/_libs/sparse.pyx because it changed.
Compiling pandas/_libs/tslib.pyx because it changed.
Compiling pandas/_libs/tslibs/base.pyx because it changed.
Compiling pandas/_libs/tslibs/ccalendar.pyx because it changed.
Compiling pandas/_libs/tslibs/dtypes.pyx because it changed.
Compiling pandas/_libs/tslibs/conversion.pyx because it changed.
Compiling pandas/_libs/tslibs/fields.pyx because it changed.
Compiling pandas/_libs/tslibs/nattype.pyx because it changed.
Compiling pandas/_libs/tslibs/np_datetime.pyx because it changed.
Compiling pandas/_libs/tslibs/offsets.pyx because it changed.
Compiling pandas/_libs/tslibs/parsing.pyx because it changed.
Compiling pandas/_libs/tslibs/period.pyx because it changed.
Compiling pandas/_libs/tslibs/strptime.pyx because it changed.
Compiling pandas/_libs/tslibs/timedeltas.pyx because it changed.
Compiling pandas/_libs/tslibs/timestamps.pyx because it changed.
Compiling pandas/_libs/tslibs/timezones.pyx because it changed.
Compiling pandas/_libs/tslibs/tzconversion.pyx because it changed.
Compiling pandas/_libs/tslibs/vectorized.pyx because it changed.
Compiling pandas/_libs/testing.pyx because it changed.
Compiling pandas/_libs/window/aggregations.pyx because it changed.
Compiling pandas/_libs/window/indexers.pyx because it changed.
Compiling pandas/_libs/writers.pyx because it changed.
Compiling pandas/io/sas/sas.pyx because it changed.
Traceback (most recent call last):
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 152, in save_modules
    yield saved
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 193, in setup_context
    yield
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 254, in run_setup
    _execfile(setup_script, ns)
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 43, in _execfile
    exec(code, globals, locals)
  File "/tmp/easy_install-7twzds4o/pandas-1.4.1/setup.py", line 651, in <module>
  File "/tmp/easy_install-7twzds4o/pandas-1.4.1/setup.py", line 424, in maybe_cythonize
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1091, in cythonize
    pool = multiprocessing.Pool(
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/multiprocessing/context.py", line 119, in Pool
    return Pool(processes, initializer, initargs, maxtasksperchild,
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/multiprocessing/pool.py", line 212, in __init__
    self._repopulate_pool()
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/multiprocessing/pool.py", line 303, in _repopulate_pool
    return self._repopulate_pool_static(self._ctx, self.Process,
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/multiprocessing/pool.py", line 326, in _repopulate_pool_static
    w.start()
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/multiprocessing/process.py", line 121, in start
    self._popen = self._Popen(self)
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/multiprocessing/context.py", line 284, in _Popen
    return Popen(process_obj)
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/multiprocessing/popen_spawn_posix.py", line 32, in __init__
    super().__init__(process_obj)
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/multiprocessing/popen_fork.py", line 19, in __init__
    self._launch(process_obj)
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/multiprocessing/popen_spawn_posix.py", line 61, in _launch
    with open(parent_w, 'wb', closefd=False) as f:
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 421, in _open
    if mode not in ('r', 'rt', 'rb', 'rU', 'U') and not self._ok(path):
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 432, in _ok
    realpath = os.path.normcase(os.path.realpath(path))
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/posixpath.py", line 394, in realpath
    filename = os.fspath(filename)
TypeError: expected str, bytes or os.PathLike object, not int

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/shaowin/workspace/private/metagpt/setup.py", line 31, in <module>
    setup(
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/command/install.py", line 67, in run
    self.do_egg_install()
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/command/install.py", line 117, in do_egg_install
    cmd.run(show_deprecation=False)
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/command/easy_install.py", line 408, in run
    self.easy_install(spec, not self.no_deps)
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/command/easy_install.py", line 650, in easy_install
    return self.install_item(None, spec, tmpdir, deps, True)
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/command/easy_install.py", line 697, in install_item
    self.process_distribution(spec, dist, deps)
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/command/easy_install.py", line 744, in process_distribution
    distros = WorkingSet([]).resolve(
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/pkg_resources/__init__.py", line 766, in resolve
    dist = best[req.key] = env.best_match(
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1051, in best_match
    return self.obtain(req, installer)
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1063, in obtain
    return installer(requirement)
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/command/easy_install.py", line 669, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/command/easy_install.py", line 695, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/command/easy_install.py", line 890, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/command/easy_install.py", line 1162, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/command/easy_install.py", line 1146, in run_setup
    run_setup(setup_script, args)
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 244, in run_setup
    with setup_context(setup_dir):
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/contextlib.py", line 153, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 185, in setup_context
    with save_modules():
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/contextlib.py", line 153, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 164, in save_modules
    saved_exc.resume()
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 139, in resume
    raise exc.with_traceback(self._tb)
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 152, in save_modules
    yield saved
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 193, in setup_context
    yield
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 254, in run_setup
    _execfile(setup_script, ns)
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 43, in _execfile
    exec(code, globals, locals)
  File "/tmp/easy_install-7twzds4o/pandas-1.4.1/setup.py", line 651, in <module>
  File "/tmp/easy_install-7twzds4o/pandas-1.4.1/setup.py", line 424, in maybe_cythonize
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1091, in cythonize
    pool = multiprocessing.Pool(
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/multiprocessing/context.py", line 119, in Pool
    return Pool(processes, initializer, initargs, maxtasksperchild,
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/multiprocessing/pool.py", line 212, in __init__
    self._repopulate_pool()
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/multiprocessing/pool.py", line 303, in _repopulate_pool
    return self._repopulate_pool_static(self._ctx, self.Process,
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/multiprocessing/pool.py", line 326, in _repopulate_pool_static
    w.start()
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/multiprocessing/process.py", line 121, in start
    self._popen = self._Popen(self)
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/multiprocessing/context.py", line 284, in _Popen
    return Popen(process_obj)
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/multiprocessing/popen_spawn_posix.py", line 32, in __init__
    super().__init__(process_obj)
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/multiprocessing/popen_fork.py", line 19, in __init__
    self._launch(process_obj)
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/multiprocessing/popen_spawn_posix.py", line 61, in _launch
    with open(parent_w, 'wb', closefd=False) as f:
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 421, in _open
    if mode not in ('r', 'rt', 'rb', 'rU', 'U') and not self._ok(path):
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 432, in _ok
    realpath = os.path.normcase(os.path.realpath(path))
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/posixpath.py", line 394, in realpath
    filename = os.fspath(filename)
TypeError: expected str, bytes or os.PathLike object, not int
Traceback (most recent call last):
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/multiprocessing/resource_tracker.py", line 209, in main
    cache[rtype].remove(name)
KeyError: '/mp-9yzgit39'
Traceback (most recent call last):
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/multiprocessing/resource_tracker.py", line 209, in main
    cache[rtype].remove(name)
KeyError: '/mp-av3xqzeq'
Traceback (most recent call last):
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/multiprocessing/resource_tracker.py", line 209, in main
    cache[rtype].remove(name)
KeyError: '/mp-mdwd5ldj'
Traceback (most recent call last):
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/multiprocessing/resource_tracker.py", line 209, in main
    cache[rtype].remove(name)
KeyError: '/mp-bdet06zy'
Traceback (most recent call last):
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/multiprocessing/resource_tracker.py", line 209, in main
    cache[rtype].remove(name)
KeyError: '/mp-jxz_8pva'
Traceback (most recent call last):
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/multiprocessing/resource_tracker.py", line 209, in main
    cache[rtype].remove(name)
KeyError: '/mp-0t17bchf'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/multiprocessing/spawn.py", line 116, in spawn_main
    exitcode = _main(fd, parent_sentinel)
  File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/multiprocessing/spawn.py", line 124, in _main
    preparation_data = reduction.pickle.load(from_parent)
EOFError: Ran out of input
/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/multiprocessing/resource_tracker.py:224: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown          
  warnings.warn('resource_tracker: There appear to be %d '
/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/multiprocessing/resource_tracker.py:237: UserWarning: resource_tracker: '/mp-bdet06zy': [Errno 2] No such file or directory
  warnings.warn('resource_tracker: %r: %s' % (name, e))
/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/multiprocessing/resource_tracker.py:237: UserWarning: resource_tracker: '/mp-av3xqzeq': [Errno 2] No such file or directory
  warnings.warn('resource_tracker: %r: %s' % (name, e))
/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/multiprocessing/resource_tracker.py:237: UserWarning: resource_tracker: '/mp-0t17bchf': [Errno 2] No such file or directory
  warnings.warn('resource_tracker: %r: %s' % (name, e))
/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/multiprocessing/resource_tracker.py:237: UserWarning: resource_tracker: '/mp-9yzgit39': [Errno 2] No such file or directory
  warnings.warn('resource_tracker: %r: %s' % (name, e))
/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/multiprocessing/resource_tracker.py:237: UserWarning: resource_tracker: '/mp-mdwd5ldj': [Errno 2] No such file or directory
  warnings.warn('resource_tracker: %r: %s' % (name, e))
/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/multiprocessing/resource_tracker.py:237: UserWarning: resource_tracker: '/mp-jxz_8pva': [Errno 2] No such file or directory
  warnings.warn('resource_tracker: %r: %s' % (name, e))
geekan commented 1 year ago

Or try to use the docker version (smile)

@shaowin16

shaowin16 commented 1 year ago

Or try to use the docker version (smile)

@shaowin16

The docker image does not match the M2 chip.

geekan commented 1 year ago

@voidking

Tophness commented 1 year ago

@Bylaew @shaowin16 I updated requirements.txt to comment out most of the possibly non-universal, conflict-causing dependencies. Please try again after pull.

Installed /Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/metagpt-0.1-py3.10.egg Processing dependencies for metagpt==0.1 Searching for pandas==1.4.1 Reading https://pypi.org/simple/pandas/ Downloading https://files.pythonhosted.org/packages/c4/eb/cfa96ba42695b3c28d4864a796d492f188471dd536df7e5e5e0c54b629a6/pandas-1.4.1.tar.gz#sha256=8db93ec98ac7cb5f8ac1420c10f5e3c43533153f253fe7fb6d891cf5aa2b80d2 Best match: pandas 1.4.1 Processing pandas-1.4.1.tar.gz Writing /tmp/easy_install-khble1aj/pandas-1.4.1/setup.cfg Running pandas-1.4.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-khble1aj/pandas-1.4.1/egg-dist-tmp-6o5d_qtx Traceback (most recent call last): File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 152, in save_modules yield saved File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 193, in setup_context yield File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 254, in run_setup _execfile(setup_script, ns) File "/Users/shaowin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/sandbox.py", line 43, in _execfile exec(code, globals, locals) File "/tmp/easy_install-khble1aj/pandas-1.4.1/setup.py", line 651, in File "/tmp/easy_install-khble1aj/pandas-1.4.1/setup.py", line 415, in maybe_cythonize RuntimeError: Cannot cythonize without Cython installed.

On windows, I got around this by just manually installing cython, but now I get:

Traceback (most recent call last):
  File "E:\Downloads\MetaGPT\setup.py", line 31, in <module>
    setup(
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\site-packages\setuptools\__init__.py", line 107, in setup
    return distutils.core.setup(**attrs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
    return run_commands(dist)
           ^^^^^^^^^^^^^^^^^^
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
    dist.run_commands()
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\site-packages\setuptools\_distutils\dist.py", line 969, in run_commands
    self.run_command(cmd)
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\site-packages\setuptools\dist.py", line 1234, in run_command
    super().run_command(command)
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
    cmd_obj.run()
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\site-packages\setuptools\command\install.py", line 80, in run
    self.do_egg_install()
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\site-packages\setuptools\command\install.py", line 137, in do_egg_install
    cmd.run(show_deprecation=False)
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\site-packages\setuptools\command\easy_install.py", line 416, in run
    self.easy_install(spec, not self.no_deps)
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\site-packages\setuptools\command\easy_install.py", line 658, in easy_install
    return self.install_item(None, spec, tmpdir, deps, True)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\site-packages\setuptools\command\easy_install.py", line 705, in install_item
    self.process_distribution(spec, dist, deps)
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\site-packages\setuptools\command\easy_install.py", line 750, in process_distribution
    distros = WorkingSet([]).resolve(
              ^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\site-packages\pkg_resources\__init__.py", line 829, in resolve
    dist = self._resolve_dist(
           ^^^^^^^^^^^^^^^^^^^
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\site-packages\pkg_resources\__init__.py", line 865, in _resolve_dist
    dist = best[req.key] = env.best_match(
                           ^^^^^^^^^^^^^^^
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\site-packages\pkg_resources\__init__.py", line 1135, in best_match
    return self.obtain(req, installer)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\site-packages\pkg_resources\__init__.py", line 1147, in obtain
    return installer(requirement)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\site-packages\setuptools\command\easy_install.py", line 677, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\site-packages\setuptools\command\easy_install.py", line 703, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\site-packages\setuptools\command\easy_install.py", line 896, in install_eggs
    return self.build_and_install(setup_script, setup_base)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\site-packages\setuptools\command\easy_install.py", line 1170, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\site-packages\setuptools\command\easy_install.py", line 1154, in run_setup
    run_setup(setup_script, args)
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\site-packages\setuptools\sandbox.py", line 249, in run_setup
    with setup_context(setup_dir):
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\contextlib.py", line 155, in __exit__
    self.gen.throw(typ, value, traceback)
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\site-packages\setuptools\sandbox.py", line 190, in setup_context
    with save_modules():
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\contextlib.py", line 155, in __exit__
    self.gen.throw(typ, value, traceback)
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\site-packages\setuptools\sandbox.py", line 169, in save_modules
    saved_exc.resume()
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\site-packages\setuptools\sandbox.py", line 143, in resume
    raise exc.with_traceback(self._tb)
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\site-packages\setuptools\sandbox.py", line 156, in save_modules
    yield saved
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\site-packages\setuptools\sandbox.py", line 198, in setup_context
    yield
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\site-packages\setuptools\sandbox.py", line 259, in run_setup
    _execfile(setup_script, ns)
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\site-packages\setuptools\sandbox.py", line 46, in _execfile
    exec(code, globals, locals)
  File "C:\Users\chris\AppData\Local\Temp\easy_install-0o3yltpz\pandas-1.4.1\setup.py", line 651, in <module>
  File "C:\Users\chris\AppData\Local\Temp\easy_install-0o3yltpz\pandas-1.4.1\setup.py", line 424, in maybe_cythonize
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\site-packages\Cython\Build\Dependencies.py", line 1114, in cythonize
    pool = multiprocessing.Pool(
           ^^^^^^^^^^^^^^^^^^^^^
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\multiprocessing\context.py", line 119, in Pool
    return Pool(processes, initializer, initargs, maxtasksperchild,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\multiprocessing\pool.py", line 215, in __init__
    self._repopulate_pool()
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\multiprocessing\pool.py", line 306, in _repopulate_pool
    return self._repopulate_pool_static(self._ctx, self.Process,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\multiprocessing\pool.py", line 329, in _repopulate_pool_static
    w.start()
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\multiprocessing\process.py", line 121, in start
    self._popen = self._Popen(self)
                  ^^^^^^^^^^^^^^^^^
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\multiprocessing\context.py", line 336, in _Popen
    return Popen(process_obj)
           ^^^^^^^^^^^^^^^^^^
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\multiprocessing\popen_spawn_win32.py", line 71, in __init__
    with open(wfd, 'wb', closefd=True) as to_child:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\site-packages\setuptools\sandbox.py", line 453, in _open
    if mode not in ('r', 'rt', 'rb', 'rU', 'U') and not self._ok(path):
                                                        ^^^^^^^^^^^^^^
  File "C:\ProgramData\Anaconda3\envs\metagpt\Lib\site-packages\setuptools\sandbox.py", line 464, in _ok
    realpath = os.path.normcase(os.path.realpath(path))
                                ^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen ntpath>", line 675, in realpath
  File "<frozen ntpath>", line 540, in normpath
TypeError: expected str, bytes or os.PathLike object, not int
Tophness commented 1 year ago

Fixed by installing pandas (had to install 1.4.1)

iiiyu commented 1 year ago

Or try to use the docker version (smile) @shaowin16

The docker image does not match the M2 chip.

https://github.com/iiiyu/MetaGPT/tree/feature/support-Apple-silicon It supports Apple silicon.

wangjie5540 commented 1 year ago

how about build a docker image by youself on chip M2?

shaowin16 commented 1 year ago

已收到,谢谢!

esdream commented 1 year ago

Fixed by installing pandas (had to install 1.4.1)

It work, thanks!