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

Cannot configure interpreter correctly #89

Closed
juanrad opened this issue Jun 1, 2020 · 1 comment
Closed

Cannot configure interpreter correctly #89

juanrad opened this issue Jun 1, 2020 · 1 comment

Comments

@juanrad
Copy link

juanrad commented Jun 1, 2020

Hi!

I am trying to use a pyenv and a pipenv inside the Flatpak Pycharm, just like in the local Pycharm.

First, I configured the base interpreter with the pyenv version from the host :

image

but I've realized that not even the python console runs properly:

/opt/pyenv/versions/3.8.3/bin/python /app/pycharm/plugins/python-ce/helpers/pydev/pydevconsole.py --mode=client --port=35017
/opt/pyenv/versions/3.8.3/bin/python: error while loading shared libraries: libcrypt.so.2: cannot open shared object file: No such file or directory
Process finished with exit code 127

and on the host:

$ ldd /opt/pyenv/versions/3.8.3/bin/python 
        linux-vdso.so.1 (0x00007ffef0d33000)
        libcrypt.so.2 => /lib64/libcrypt.so.2 (0x00007f9353416000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f93533f5000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f93533ef000)
        libutil.so.1 => /lib64/libutil.so.1 (0x00007f93533ea000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f93532a4000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f93530de000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f9353481000)

The pyenv it's installed in /opt to be shared between users and works fine in user shell and the PyCharm version installed with the Jetbrains Toolbox.

Some system info (Fedora 30):

$ uname -a
Linux HOSTNAME 5.6.13-100.fc30.x86_64 #1 SMP Fri May 15 00:36:06 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Is there something I am missing?

Thank you for your work!

@baudm
Copy link

baudm commented Jun 21, 2020

Essentially a duplicate of #14. See my comment there for the workaround.

@juanrad juanrad closed this as completed May 4, 2022
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

2 participants