You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I have installed cosmpy and faced this error. Can anyone explain to me about this error? How to fix it?
Context
python3 --version
Python 3.11.2
Mac os version 12.5 Chip Apple M1 pro
Failure Logs
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/private/var/folders/x5/cp6j19k57ll8bvr0nxjwgscw0000gn/T/pip-install-f8vh8fnh/grpcio_46a95b6e150e45928599ee4f2a5cdbe7/setup.py", line 541, in <module>
setuptools.setup(
File "/opt/homebrew/lib/python3.11/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/opt/homebrew/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/opt/homebrew/lib/python3.11/site-packages/setuptools/dist.py", line 1208, in run_command
super().run_command(command)
File "/opt/homebrew/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/opt/homebrew/lib/python3.11/site-packages/setuptools/command/install.py", line 68, in run
return orig.install.run(self)
^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/setuptools/_distutils/command/install.py", line 698, in run
self.run_command('build')
File "/opt/homebrew/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/opt/homebrew/lib/python3.11/site-packages/setuptools/dist.py", line 1208, in run_command
super().run_command(command)
File "/opt/homebrew/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/opt/homebrew/lib/python3.11/site-packages/setuptools/_distutils/command/build.py", line 132, in run
self.run_command(cmd_name)
File "/opt/homebrew/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/opt/homebrew/lib/python3.11/site-packages/setuptools/dist.py", line 1208, in run_command
super().run_command(command)
File "/opt/homebrew/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/opt/homebrew/lib/python3.11/site-packages/setuptools/command/build_ext.py", line 84, in run
_build_ext.run(self)
File "/opt/homebrew/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 346, in run
self.build_extensions()
File "/private/var/folders/x5/cp6j19k57ll8bvr0nxjwgscw0000gn/T/pip-install-f8vh8fnh/grpcio_46a95b6e150e45928599ee4f2a5cdbe7/src/python/grpcio/commands.py", line 283, in build_extensions
support.diagnose_build_ext_error(self, error, formatted_exception)
File "/private/var/folders/x5/cp6j19k57ll8bvr0nxjwgscw0000gn/T/pip-install-f8vh8fnh/grpcio_46a95b6e150e45928599ee4f2a5cdbe7/src/python/grpcio/support.py", line 117, in diagnose_build_ext_error
diagnostic(build_ext, error)
File "/private/var/folders/x5/cp6j19k57ll8bvr0nxjwgscw0000gn/T/pip-install-f8vh8fnh/grpcio_46a95b6e150e45928599ee4f2a5cdbe7/src/python/grpcio/support.py", line 96, in diagnose_attribute_error
raise commands.CommandError(
commands.CommandError: We expect a missing `_needs_stub` attribute from older versions of setuptools. Consider upgrading setuptools.
[end of output]
The text was updated successfully, but these errors were encountered:
lehieuhust
changed the title
Bug report: <short description>
Bug report: Can not install cosmpy
Apr 12, 2023
Prerequisites
Expected Behavior
Success install cosmpy
Current Behavior
pip3 install cosmpy
To Reproduce
Hello, I have installed cosmpy and faced this error. Can anyone explain to me about this error? How to fix it?
Context
Mac os version 12.5 Chip Apple M1 pro
Failure Logs
The text was updated successfully, but these errors were encountered: