EnsimmÀinen viesti tÀÀllÀ ja muutenkin nyyppÀ linuxin sÀÀtÀmisen kanssa.
Pahoittelut varmuuden vuoksi etukÀteen.
Eli kyseessÀ on Raspberry Pi 4 jossa on Raspberry Pi IOS ja MagicMirror2 asennettuina.
NĂ€iden suhteen kaikki on ok, mutta kun koetan asentaa ohjeiden mukaan ruuvitageille tarvittavia
juttuja tÀmÀn mukaan.
niin olen jumissa tÀssÀ kohdassa:
"Install ruuvitag-sensor package from the Python Package Index (PyPI) with pip (Python package management system). Because we are using Python 3, install ruuvitag-sensor package with pip3. Add --user to install for current user
$ sudo pip3 install --user ruuvitag-sensor"
Niin saan vaan tÀllÀisen ilmoituksen:
âpip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting ruuvitag-sensor
Could not fetch URL https://pypi.python.org/simple/ruuvitag-sensor/: There was a problem confirming the ssl certificate: Canât connect to HTTPS URL because the SSL module is not available. - skipping
Could not fetch URL https://www.piwheels.org/simple/ruuvitag-sensor/: There was a problem confirming the ssl certificate: Canât connect to HTTPS URL because the SSL module is not available. - skipping
Could not find a version that satisfies the requirement ruuvitag-sensor (from versions: )
No matching distribution found for ruuvitag-sensorâ
pi@raspberrypi:~ $ sudo pip3 install --upgrade setuptools
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://pypi.python.org/simple/setuptools/: There was a problem confirming the ssl certificate: Canât connect to HTTPS URL because the SSL module is not available. - skipping
Could not fetch URL https://www.piwheels.org/simple/setuptools/: There was a problem confirming the ssl certificate: Canât connect to HTTPS URL because the SSL module is not available. - skipping
Requirement already up-to-date: setuptools in /usr/local/lib/python3.6/site-packages
pi@raspberrypi:~ $ openssl version
OpenSSL 1.1.1d 10 Sep 2019
pi@raspberrypi:~ $ sudo apt install -t jessie-backports libssl-dev=1.0.2l-1~bpo8+1
Reading package lists⊠Done
E: The value âjessie-backportsâ is invalid for APT::Default-Release as such a release is not available in the sources
pi@raspberrypi:~ $
Edit: Olen koettanut hieman tutkia itsekin asiaa, mutta kuinkahan kaukaa haettua/haku ammuntaa tĂ€mĂ€kin onâŠ
pi@raspberrypi:~ $ sudo apt-get install python3-setuptools
Reading package lists⊠Done
Building dependency tree
Reading state information⊠Done
python3-setuptools is already the newest version (40.8.0-1).
python3-setuptools set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Ja tuo olisi uusin versio setuptools-51.1.0.tar.gz
Kyselin raspberry pi forumilta asiaa ja syy on tÀssÀ:
âRaspberry Pi OS has Python 3.7.3 by default so there would normally be no need to install an earlier 3.6 version.â
HirveĂ€ sÀÀtö, pelkĂ€stÀÀn sen takia ettĂ€ noudatin ohjeita (juu siellĂ€ luki âoptionalâ), mutta kun en tajunnut tarkastaa pythonin versiota ennenkuin aloin asentaa vanhempaa versiotaâŠ