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

Upload opi module into pip repo ? #105

Open
Watynecc opened this issue Jul 3, 2022 · 1 comment
Open

Upload opi module into pip repo ? #105

Watynecc opened this issue Jul 3, 2022 · 1 comment

Comments

@Watynecc
Copy link

Watynecc commented Jul 3, 2022

Hi I'm using the python310 package instead of the python36 using alternative-update command
I wonder if we can use all python version up to 3.6 by using pip package manager ?

Traceback (most recent call last): File "/usr/bin/opi", line 10, in <module> import opi ModuleNotFoundError: No module named 'opi'

@asdil12
Copy link
Member

asdil12 commented Jul 4, 2022

I'm not 100% sure if I understood what you mean.

Opi is getting installed into a python version specific directory:

rpm -ql opi | head
/usr/bin/opi
/usr/lib/python3.8/site-packages/opi
/usr/lib/python3.8/site-packages/opi-2.4.7-py3.8.egg-info
/usr/lib/python3.8/site-packages/opi/__init__.py
/usr/lib/python3.8/site-packages/opi/__pycache__
/usr/lib/python3.8/site-packages/opi/__pycache__/__init__.cpython-38.pyc
/usr/lib/python3.8/site-packages/opi/__pycache__/pager.cpython-38.pyc
/usr/lib/python3.8/site-packages/opi/__pycache__/version.cpython-38.pyc
/usr/lib/python3.8/site-packages/opi/backends
/usr/lib/python3.8/site-packages/opi/backends/__init__.py

But you could try to clone this git repo and run python3.10 setup.py install (or whatever python version you prefere).

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