You are not logged in.

#1 2018-09-04 13:44:10

Cinbu
Member
Registered: 2016-12-27
Posts: 29

[Solved] Missing libpython3.6 library

Hello,

since an update my python version switched to 3.7 and thus I now have libpython3.7, but I have one application I often use which needs the older version libpython3.6.

Should I just make a symlink inside /usr/lib which points from version 3.6 to 3.7 and hope that there were no breaking changes, or is there a better way to keep the old and new library?

Last edited by Cinbu (2018-09-04 13:57:46)

Offline

#2 2018-09-04 13:48:21

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [Solved] Missing libpython3.6 library

Which application? Can it not be rebuilt against the newer python version?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2018-09-04 13:56:08

Cinbu
Member
Registered: 2016-12-27
Posts: 29

Re: [Solved] Missing libpython3.6 library

Sorry, I solved it myself, should have read better through the wiki.

You can install old python versions via pacman. That solved my problem.

@Slithery it is you complete me, the plugin for vim. After solving the library problem I still have issues with the different python versions, so I think I have to recompile it myself. Was hoping for an easier fix.

Last edited by Cinbu (2018-09-04 13:57:18)

Offline

#4 2018-09-04 14:02:13

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [Solved] Missing libpython3.6 library

Cinbu wrote:

You can install old python versions via pacman. That solved my problem.

Not from the official repos you can't. Which packages did you install?

Are you using the youcompleteme package from the AUR?
https://aur.archlinux.org/packages/vim- … leteme-git

If so then just rebuild and reinstall it.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#5 2018-09-04 14:15:26

Cinbu
Member
Registered: 2016-12-27
Posts: 29

Re: [Solved] Missing libpython3.6 library

My mistake, I used a package from the aur, not the official repositories: https://aur.archlinux.org/packages/python36/

I use the plugin manager "vim-plug" through which I install all plugins. But thank you a lot for your advice!

Offline

#6 2018-09-04 22:19:41

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 714

Re: [Solved] Missing libpython3.6 library

Cinbu wrote:

I use the plugin manager "vim-plug" through which I install all plugins. But thank you a lot for your advice!

If you are using vim-plug then it completely manages installation and update of all your plugins including YCM. So you don't need to install any system or AUR package. Just make sure you have the following line in your ~/.vimrc for YCM:

Plug 'Valloric/YouCompleteMe', { 'do': './install.py' }

Offline

Board footer

Powered by FluxBB