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

Error on Ubuntu Server 24.04.1 LTS (RPI4): pex ImportError #98

Open
JustAnEric opened this issue Oct 4, 2024 · 0 comments
Open

Error on Ubuntu Server 24.04.1 LTS (RPI4): pex ImportError #98

JustAnEric opened this issue Oct 4, 2024 · 0 comments

Comments

@JustAnEric
Copy link

JustAnEric commented Oct 4, 2024

Fresh Ubuntu Server install with updated package lists and latest upgrades. Displayed on my Kali Linux instance also with fresh installs.
Ran on a Raspberry Pi 4.
Used the install agent provided on the Dataplicity website.

sudo supervisorctl tail tuxtunnel displays:

ort Version
  File "/home/dataplicity/.pex/unzipped_pexes/0ead05278ab3d54afe6c974e5470f83061f0e860/.bootstrap/pex/pep_440.py", line 17, in <module>
    from pex.third_party import attr
ImportError: cannot import name 'attr' from 'pex.third_party' (/home/dataplicity/.pex/unzipped_pexes/0ead05278ab3d54afe6c974e5470f83061f0e860/.bootstrap/pex/third_party/__init__.py)
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88 in _run_code
  File "/home/dataplicity/.pex/unzipped_pexes/0ead05278ab3d54afe6c974e5470f83061f0e860/__main__.py", line 85, in <module>
    from pex.pex_bootstrapper import bootstrap_pex
  File "/home/dataplicity/.pex/unzipped_pexes/0ead05278ab3d54afe6c974e5470f83061f0e860/.bootstrap/pex/pex_bootstrapper.py", line 12, in <module>
    from pex.environment import ResolveError
  File "/home/dataplicity/.pex/unzipped_pexes/0ead05278ab3d54afe6c974e5470f83061f0e860/.bootstrap/pex/environment.py", line 12, in <module>
    from pex import dist_metadata, pex_warnings, targets
  File "/home/dataplicity/.pex/unzipped_pexes/0ead05278ab3d54afe6c974e5470f83061f0e860/.bootstrap/pex/dist_metadata.py", line 25, in <module>
    from pex.pep_440 import Version
  File "/home/dataplicity/.pex/unzipped_pexes/0ead05278ab3d54afe6c974e5470f83061f0e860/.bootstrap/pex/pep_440.py", line 17, in <module>
    from pex.third_party import attr
ImportError: cannot import name 'attr' from 'pex.third_party' (/home/dataplicity/.pex/unzipped_pexes/0ead05278ab3d54afe6c974e5470f83061f0e860/.bootstrap/pex/third_party/__init__.py)

From cat /etc/os-release: (not complete file)

PRETTY_NAME="Ubuntu 24.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.1 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian

From sudo supervisorctl tail tuxtunnel:

tuxtunnel        FATAL    Exited too quickly (process log may have details)
@JustAnEric JustAnEric changed the title Error on Ubuntu Server 24.04.1 LTS: pex ImportError Error on Ubuntu Server 24.04.1 LTS (RPI4): pex ImportError Oct 4, 2024
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