Quantcast
Viewing all articles
Browse latest Browse all 4909

Beginners • Re: Dataplicity error

Hi,

i am using dataplicity for my home project. Suddenly it stopped working. After looking in log file i am getting the following error message:

Code:

`Failed to find compatible interpreter on path /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin.Examined the following working interpreters:1.) /usr/bin/python2.7 CPython==2.7.16Skipped the following broken interpreters:1.) /usr/bin/python3.7:Traceback (most recent call last):File "", line 5, inFile "/home/dataplicity/.pex/isolated/a327...c09/pex/interpreter.py", line 22, infrom pex.dist_metadata import DistMetadata, Distribution, Requirement, RequirementParseErrorFile "/home/dataplicity/.pex/isolated/a327...c09/pex/dist_metadata.py", line 25, infrom pex.pep_440 import VersionFile "/home/dataplicity/.pex/isolated/a327...c09/pex/pep_440.py", line 18, infrom pex.third_party.packaging import utils as packaging_utilsFile "/home/dataplicity/.pex/isolated/a327...c09/pex/vendor/_vendored/packaging/packaging/utils.py", line 9, infrom .tags import Tag, parse_tagFile "/home/dataplicity/.pex/isolated/a327...c09/pex/vendor/_vendored/packaging/packaging/tags.py", line 7, inimport distutils.utilModuleNotFoundError: No module named 'distutils.util'2.) /usr/bin/python3.7m:Traceback (most recent call last):File "", line 5, inFile "/home/dataplicity/.pex/isolated/a327...c09/pex/interpreter.py", line 22, infrom pex.dist_metadata import DistMetadata, Distribution, Requirement, RequirementParseErrorFile "/home/dataplicity/.pex/isolated/a327...c09/pex/dist_metadata.py", line 25, infrom pex.pep_440 import VersionFile "/home/dataplicity/.pex/isolated/a327...c09/pex/pep_440.py", line 18, infrom pex.third_party.packaging import utils as packaging_utilsFile "/home/dataplicity/.pex/isolated/a327...c09/pex/vendor/_vendored/packaging/packaging/utils.py", line 9, infrom .tags import Tag, parse_tagFile "/home/dataplicity/.pex/isolated/a327...c09/pex/vendor/_vendored/packaging/packaging/tags.py", line 7, inimport distutils.utilModuleNotFoundError: No module named 'distutils.util'(See pex-tool/pex#1027 for a list of known breaks and workarounds.)No working interpreter compatible with the requested constraints was found:A distribution for backports-ssl-match-hostname could not be resolved for /usr/bin/python2.7.Found 1 distribution for backports-ssl-match-hostname that do not apply:1.) The wheel tags for backports.ssl-match-hostname 3.4.0.2 are py3-none-any which do not match the supported tags of /usr/bin/python2.7:cp27-cp27mu-manylinux_2_28_armv7l... 162 more ...
i have tried uninstall and reinstall but nothing.



"i have tried uninstall and reinstall but nothing."

Un/re-install of what?


What model of RPi board is involved?

What Operating System is it running?

It seems that changes have been made to the as-installed configuration of the unspecified OS on your system. What changes, and why?


If your running Operating System has a version of Python2 available then the OS itself is old. For troubleshooting/diagnostic purposes, perhaps try installing a fresh download of the current RasPiOS Bookworm release onto a new or spare bootable medium and see if the issue is still present in that scenario.


As a comparison, I have Dataplicity access to an RPi3B+ running 'Raspbian' Stretch (Debian9-based). Connection to Dataplicity was re-established automatically after a mains power supply failure here 2 days ago, and I can access the shell interface on that target at the time of writing.

Statistics: Posted by B.Goode — Sun Sep 29, 2024 9:19 am



Viewing all articles
Browse latest Browse all 4909

Trending Articles