MetaGPT icon indicating copy to clipboard operation
MetaGPT copied to clipboard

Cannot install due to old numpy version being used by metagpt

Open Bluscream opened this issue 1 year ago • 4 comments

Collecting numpy==1.24.3 (from metagpt)
  Using cached numpy-1.24.3.tar.gz (10.9 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [32 lines of output]
      Traceback (most recent call last):
        File "C:\Users\blusc\AppData\Local\Programs\Python\Python313\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
          main()
          ~~~~^^
        File "C:\Users\blusc\AppData\Local\Programs\Python\Python313\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\blusc\AppData\Local\Programs\Python\Python313\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 112, in get_requires_for_build_wheel
          backend = _build_backend()
        File "C:\Users\blusc\AppData\Local\Programs\Python\Python313\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 77, in _build_backend
          obj = import_module(mod_path)
        File "C:\Users\blusc\AppData\Local\Programs\Python\Python313\Lib\importlib\__init__.py", line 88, in import_module
          return _bootstrap._gcd_import(name[level:], package, level)
                 ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
        File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
        File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked
        File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
        File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
        File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
        File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
        File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
        File "<frozen importlib._bootstrap_external>", line 1022, in exec_module
        File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
        File "C:\Users\blusc\AppData\Local\Temp\pip-build-env-hufjw5qu\overlay\Lib\site-packages\setuptools\__init__.py", line 16, in <module>
          import setuptools.version
        File "C:\Users\blusc\AppData\Local\Temp\pip-build-env-hufjw5qu\overlay\Lib\site-packages\setuptools\version.py", line 1, in <module>
          import pkg_resources
        File "C:\Users\blusc\AppData\Local\Temp\pip-build-env-hufjw5qu\overlay\Lib\site-packages\pkg_resources\__init__.py", line 2172, in <module>
          register_finder(pkgutil.ImpImporter, find_on_path)
                          ^^^^^^^^^^^^^^^^^^^
      AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Bluscream avatar Sep 10 '24 23:09 Bluscream

It is recommended to upgrade the existing numpy.

seehi avatar Sep 11 '24 09:09 seehi

I want to Work on this issue

b423016 avatar Oct 02 '24 13:10 b423016

Hi team,

I'm interested in working on this issue. Could someone please assign it to me? I'd be happy to contribute!

Thanks, Hariharan P R

PR-HARIHARAN avatar Oct 03 '24 12:10 PR-HARIHARAN

@PR-HARIHARAN Thank you very much, you can submit PR directly and I will review all PRs in the next few days.

geekan avatar Oct 03 '24 12:10 geekan

@PR-HARIHARAN @b423016 Are you ready for a PR to address this issue? We're looking forward to it

better629 avatar Oct 09 '24 16:10 better629

@better629 You can go ahead, Due to my family circumstances i can't work on it i'm sorry .

PR-HARIHARAN avatar Oct 10 '24 02:10 PR-HARIHARAN

@better629 Working on it will do the same soon

b423016 avatar Oct 10 '24 02:10 b423016

This issue has no activity in the past 30 days. Please comment on the issue if you have anything to add.

github-actions[bot] avatar Jan 02 '25 00:01 github-actions[bot]

This issue was closed due to 45 days of inactivity. If you feel this issue is still relevant, please reopen the issue to continue the discussion.

github-actions[bot] avatar Jan 17 '25 00:01 github-actions[bot]