Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pip3 Modules, Manual build too #16

Open
vladivanovic opened this issue Jun 20, 2021 · 2 comments
Open

Pip3 Modules, Manual build too #16

vladivanovic opened this issue Jun 20, 2021 · 2 comments

Comments

@vladivanovic
Copy link

Pip3 modules gives me the same issues as Panda in the other thread (#11 I believe) and so I tried to do a manual build but hit this on Ubuntu Mate on a Raspberry Pi 3B.

vlad@vlad-desktop:~/rssi_module$ sudo python3 setup.py install
Warning: 'classifiers' should be a list, got type 'tuple'
running install
running bdist_egg
running egg_info
writing rssi.egg-info/PKG-INFO
writing dependency_links to rssi.egg-info/dependency_links.txt
writing top-level names to rssi.egg-info/top_level.txt
reading manifest file 'rssi.egg-info/SOURCES.txt'
writing manifest file 'rssi.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-aarch64/egg
running install_lib
running build_py
creating build/lib
creating build/lib/rssi
copying rssi/init.py -> build/lib/rssi
creating build/bdist.linux-aarch64
creating build/bdist.linux-aarch64/egg
creating build/bdist.linux-aarch64/egg/rssi
copying build/lib/rssi/init.py -> build/bdist.linux-aarch64/egg/rssi
byte-compiling build/bdist.linux-aarch64/egg/rssi/init.py to init.cpython-38.pyc
File "build/bdist.linux-aarch64/egg/rssi/init.py", line 185
'mac': self.getMacAddress(raw_cell)
^
SyntaxError: invalid syntax

creating build/bdist.linux-aarch64/egg/EGG-INFO
copying rssi.egg-info/PKG-INFO -> build/bdist.linux-aarch64/egg/EGG-INFO
copying rssi.egg-info/SOURCES.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
copying rssi.egg-info/dependency_links.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
copying rssi.egg-info/top_level.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist/rssi-1.0.2-py3.8.egg' and adding 'build/bdist.linux-aarch64/egg' to it
removing 'build/bdist.linux-aarch64/egg' (and everything under it)
Processing rssi-1.0.2-py3.8.egg
Copying rssi-1.0.2-py3.8.egg to /usr/local/lib/python3.8/dist-packages
Adding rssi 1.0.2 to easy-install.pth file

Installed /usr/local/lib/python3.8/dist-packages/rssi-1.0.2-py3.8.egg
Processing dependencies for rssi==1.0.2
Finished processing dependencies for rssi==1.0.2

@vladivanovic
Copy link
Author

vladivanovic commented Jun 20, 2021

looks like a , was missing on line 184 after
'signal': self.getSignalLevel(raw_cell)

@vladivanovic
Copy link
Author

Yep that did it! Thanks for an awesome module, looking forward to playing with this some more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant