reloadware / reloadium

Hot Reloading and Profiling for Python
https://reloadium.io
Apache License 2.0
2.74k stars 56 forks source link

MacOS M1, running Python 3.9 but Reloadium says version is not supported #144

Closed SHxKM closed 1 year ago

SHxKM commented 1 year ago

Describe the bug*

If I understand the error message correctly, Reloadium should support 3.9.x on MacOS M1. However, I'm getting the unsupported platform exception upon launching with the Debug button.

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Desktop or remote (please complete the following information):**

Additional context

exception:

Traceback (most recent call last):
  File "/Users/me/.pyenv/versions/3.9.11/lib/python3.9/runpy.py", line 188, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/Users/me/.pyenv/versions/3.9.11/lib/python3.9/runpy.py", line 147, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "/Users/me/.pyenv/versions/3.9.11/lib/python3.9/runpy.py", line 111, in _get_module_details
    __import__(pkg_name)
  File "/Users/me/.reloadium/package/3.9/reloadium/__init__.py", line 4, in <module>
    pre_import_check()
  File "/Users/me/.reloadium/package/3.9/reloadium/__utils__.py", line 21, in pre_import_check
    import reloadium.corium
ImportError: dlopen(/Users/me/.reloadium/package/3.9/reloadium/corium.cpython-39-darwin.so, 0x0002): tried: '/Users/me/.reloadium/package/3.9/reloadium/corium.cpython-39-darwin.so' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/me/.reloadium/package/3.9/reloadium/corium.cpython-39-darwin.so' (no such file), '/Users/me/.reloadium/package/3.9/reloadium/corium.cpython-39-darwin.so' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))
dkrystki commented 1 year ago

This issue has already been fixed. Please upgrade to the newest plugin version (1.1.0). Note that you may need to upgrade your PyCharm version to install this version