You are not logged in.

#1 2019-11-17 01:03:15

brando56894
Member
From: NYC
Registered: 2008-08-03
Posts: 681

[Solved] Two versions of Python3 installed

So apparently I forgot to upgrade my laptop for weeks and I just did, it upgraded over 600 packages. As a result I now have two python3 library directories: python3.7 and python3.8

I went to run  powerpill but it complains of missing libraries, which are installed for 3.7, but not 3.8

My server only has the 3.8 directory and it has no issues running powerpill

How can I fix this on my laptop? Reinstall all of the powepill python dependencies?

Last edited by brando56894 (2019-11-17 21:51:09)

Offline

#2 2019-11-17 01:21:55

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,530
Website

Re: [Solved] Two versions of Python3 installed

You need to rebuild AUR packages yourself, there is nothing new about this.

brando56894 wrote:

I went to run  powerpill but it complains of missing libraries, which are installed for 3.7, but not 3.8

Are you sure it's not the other way around?  Post the actual errors if rebuilding your AUR packages is not sufficient to solve this.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2019-11-17 11:36:14

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [Solved] Two versions of Python3 installed

You have to rebuild any python software you have installed from other sources than the official repositories.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#4 2019-11-17 21:36:40

brando56894
Member
From: NYC
Registered: 2008-08-03
Posts: 681

Re: [Solved] Two versions of Python3 installed

Mr.Elendig wrote:

You have to rebuild any python software you have installed from other sources than the official repositories.

Yup, this was it. I had to rebuild the python libraries from the AUR, not powerpill. I guess I never had them installed on my server so it happily built them for 3.8, whereas they were previously installed on my laptop as 3.7 and didn't rebuild them for some reason, I'm blaming yay haha

Thanks.

Last edited by brando56894 (2019-11-17 21:48:53)

Offline

#5 2019-11-17 21:48:11

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,530
Website

Re: [Solved] Two versions of Python3 installed

Trilby wrote:

You need to rebuild AUR packages yourself

This was deliberately plural.  Rebuild pm2ml and any other AUR packages you have that provide python modules.

Last edited by Trilby (2019-11-17 21:55:15)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#6 2019-11-17 21:50:54

brando56894
Member
From: NYC
Registered: 2008-08-03
Posts: 681

Re: [Solved] Two versions of Python3 installed

You beat me by a second, I had to rebuild python3-xcpf python3-memoizedb and python3-xcgf

Offline

#7 2019-11-18 04:10:19

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: [Solved] Two versions of Python3 installed

My pysolfc is broke as of today's update and its' dependencies.

Traceback (most recent call last):
  File "/usr/bin/pysol", line 36, in <module>
    from pysollib.main import main  # noqa: E402,I202
  File "/usr/lib/python3.8/site-packages/pysollib/main.py", line 30, in <module>
    from pysollib.app import Application
  File "/usr/lib/python3.8/site-packages/pysollib/app.py", line 31, in <module>
    from pysollib.gamedb import GAME_DB, GI, loadGame
  File "/usr/lib/python3.8/site-packages/pysollib/gamedb.py", line 28, in <module>
    from pysollib.mfxutil import Struct, print_err
  File "/usr/lib/python3.8/site-packages/pysollib/mfxutil.py", line 146, in <module>
    uclock = time.clock
AttributeError: module 'time' has no attribute 'clock'

Last edited by nomorewindows (2019-11-18 04:13:50)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#8 2019-11-18 04:18:10

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,559

Re: [Solved] Two versions of Python3 installed

nomorewindows wrote:

My pysolfc is broke as of today's update and its' dependencies.

Traceback (most recent call last):
  File "/usr/bin/pysol", line 36, in <module>
    from pysollib.main import main  # noqa: E402,I202
  File "/usr/lib/python3.8/site-packages/pysollib/main.py", line 30, in <module>
    from pysollib.app import Application
  File "/usr/lib/python3.8/site-packages/pysollib/app.py", line 31, in <module>
    from pysollib.gamedb import GAME_DB, GI, loadGame
  File "/usr/lib/python3.8/site-packages/pysollib/gamedb.py", line 28, in <module>
    from pysollib.mfxutil import Struct, print_err
  File "/usr/lib/python3.8/site-packages/pysollib/mfxutil.py", line 146, in <module>
    uclock = time.clock
AttributeError: module 'time' has no attribute 'clock'

File a bug report. Include any upstream tickets/fixes if available. time.clock isn't available in python 3.8.

This is completely off topic, though. You really shouldn't hijack threads.

Online

Board footer

Powered by FluxBB