runsidekick / sidekick-agent-python

Python agent for Sidekick open-source live application debugger
GNU Affero General Public License v3.0
14 stars 2 forks source link

Can not install agent on Mac os m1 #10

Open alex-bender opened 1 year ago

alex-bender commented 1 year ago

Hello, i'm getting troubles with installation.

I've clonned repo to build an agent by ./build.sh script, but getting this error despite glog and gflags were installed via brew:

...
Installing collected packages: sidekick-agent-python
  Running setup.py develop for sidekick-agent-python
    error: subprocess-exited-with-error

    × python setup.py develop did not run successfully.
    │ exit code: 1
    ╰─> [46 lines of output]
        ['/Users/a27/src/sidekick-agent-python/build/third_party/lib/libgflags.a', '/Users/a27/src/sidekick-agent-python/build/third_party/lib/libglog.a'] ['libgflags.a', 'libglog.a']
        running develop
...
boroskoyo commented 1 year ago

Hi Alex, can you share your Python version info

alex-bender commented 1 year ago

Sure!


~ λ % brew info python
==> python@3.10: stable 3.10.8 (bottled)
Interpreted, interactive, object-oriented programming language
https://www.python.org/
/opt/homebrew/Cellar/python@3.10/3.10.8 (3,214 files, 59.0MB) *
  Poured from bottle on 2022-10-16 at 23:54:27
...
boroskoyo commented 1 year ago

Due to env issues building with PyCharm is a lot easier in the case of M1. Furthermore, you can check out our latest m1 builds from here https://pypi.org/project/sidekick-agent-python/0.1.1/ (files that end with "arm64.whl" are built & tested on M1 Monterey)

boroskoyo commented 1 year ago

Ah I see, currently we do not support Python 3.10. Can you try again with 3.6,3.7 or 3.8?

alex-bender commented 1 year ago

Will try that, thanks!

boroskoyo commented 1 year ago

No problem, cheers!