mmpm icon indicating copy to clipboard operation
mmpm copied to clipboard

BUG: install fails, gallium (x64, ubuntu)

Open sdetweil opened this issue 3 years ago • 6 comments

Describe the Bug

python3 -m pip install mmpm Collecting mmpm Could not find a version that satisfies the requirement mmpm (from versions: ) No matching distribution found for mmpm Is this an issue with the CLI or GUI?

A clear and concise description of what the bug is.

can't install, mmpm not found

tried with and without python virtual env

uname -a Linux galliumos 4.16.18-galliumos #1 SMP PREEMPT Sun Jun 23 04:14:45 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux python3 --version Python 3.6.9

To Reproduce follow instruction steps.

doesn't say to clone repo, so install must be loading it from internet somewhere..

sdetweil avatar Sep 05 '22 13:09 sdetweil

Python 3.6.9 isn't supported, only Python >= 3.7. Give that a shot a let me know how it goes.

Bee-Mar avatar Sep 05 '22 14:09 Bee-Mar

I did this, using the wiki instructions

(venv) sam@galliumos:~$ sudo apt install python3.8
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python3.8 is already the newest version (3.8.13-1+bionic2).
0 upgraded, 0 newly installed, 0 to remove and 34 not upgraded.
(venv) sam@galliumos:~$ python3 --version
Python 3.6.9
(venv) sam@galliumos:~$ 

sdetweil avatar Sep 05 '22 14:09 sdetweil

and

sudo apt install python3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python3 is already the newest version (3.6.7-1~18.04).
0 upgraded, 0 newly installed, 0 to remove and 34 not upgraded.

sdetweil avatar Sep 05 '22 14:09 sdetweil

trying to help user on mm discord

sdetweil avatar Sep 05 '22 14:09 sdetweil

Based on the output you posted, it shows the system Python3 version is 3.8 but the version in the virtual env is 3.6.9. The virtual env would need to be recreated using Python 3.8. I'm not sure how your system or the other users system is setup, but possibly running "python3.8 -m venv venv" might be similar to what you'd need to create a virtual env with the right Python version. The MMPM executable isn't found because pip fails to install it using the Python version found in that virtual env. Hope that helps some.

Bee-Mar avatar Sep 05 '22 17:09 Bee-Mar

python3.8 -m venv venv
Error: Command '['/home/sam/venv/bin/python3.8', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.

sorry, know nothing about python

sdetweil avatar Sep 05 '22 18:09 sdetweil