seemoo-lab / opendrop

An open Apple AirDrop implementation written in Python
https://owlink.org
GNU General Public License v3.0
8.49k stars 265 forks source link

Error installing using pip3 on RPi 3 #62

Closed OAlsemari closed 3 years ago

OAlsemari commented 3 years ago

Hello, I'm a beginner to linux so excuse my ignorance. I'm trying to install OpenDrop using the following commands: git clone https://github.com/seemoo-lab/opendrop.git sudo pip3 install ./opendrop

But I've encountered this error code.

Processing ./opendrop
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-i3hc6998-build/setup.py", line 1, in <module>
        from opendrop import __version__
      File "/tmp/pip-i3hc6998-build/opendrop/__init__.py", line 29
        os.environ["DYLD_LIBRARY_PATH"] = f"{dyld_path}:{archive_path}"
                                                                      ^
    SyntaxError: invalid syntax

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-i3hc6998-build/

I've setup a virtualenv to install python 3.6.12 and used it to retry to install OpenDrop again, but the same error occurs. I think that I understand that I MAY need to hardcode the value for DYLD_LIBRARY_PATH since I don't have HomeBrew installed, but I don't know to what.

I'm running Raspbian 9 kernel version 4.14.79-v7+ on RPi 3