You are not logged in.
Pages: 1
Hello,
I am working from a fresh arch linux install however I am cannot seem to install any python3 packages through pip. It does not matter if I am using a venv or the system installation, the same error persists. Any help would be appreciated.
python3 --version 3.10.1
pip --version 21.3.1
output of command - python3 -m pip install --user RPi.GPIO
https://pastebin.com/3aLQ7zHn
Last edited by unkn8wn (2021-12-15 00:22:06)
Offline
[deleted]
Last edited by zpg443 (2021-12-15 00:09:38)
Offline
https://sourceforge.net/p/raspberry-gpi … 50/#diff-1 so you need 0.7.1a2 alpha pre-release or newer. No stable release with the fix has been released.
Offline
Thank you Ioqs, I will mark this problem as solved. In the interest of learning to solve problems myself I wonder if you might enlighten me as to how you where able to analyze and solve the problem especially in such a timely manner!
Offline
From the log you provided
/usr/bin/ld: build/temp.linux-x86_64-3.10/source/constants.o:/tmp/pip-install-lkj2l815/rpi-gpio_c99af3706ec347e28f204db5e39fb43d/source/common.h:41: multiple definition of `module_setup'; build/temp.linux-x86_64-3.10/source/common.o:/tmp/pip-install-lkj2l815/rpi-gpio_c99af3706ec347e28f204db5e39fb43d/source/common.h:41: first defined hereI know that is an issue caused by a change of defaults with gcc 10. A search engine query for "gcc error 'multiple definition of'" produces results that should lead you to discover that as well.
https://pypi.org/project/RPi.GPIO/ -> https://sourceforge.net/projects/raspberry-gpio-python/ -> code -> history and find a commit helpfully labeled 'Fix build using GCC 10'.
Offline
Pages: 1