Article 4YKJN Python problem

Python problem

by
business_kid
from LinuxQuestions.org on (#4YKJN)
No python expert here. I'm trying to install openshot, a python-heavy application. I found Slackware64 -Current precompiled packaged on the ponce.cc website and installed them on my Slackware64-Current system. Slackware does not do dependency tracking. It's easier overall, but can be a pain occasionally.

First run, it complained for the lack of 'PyQt5' and 'classes' modules. I installed them with pip3, but made the mistake of doing it as a luser, so it put them in /home/user/.local/bin, which didn't solve things. So I installed them as root, but it preferred the user versions :/

Then I uninstalled them all, installed as root, and that satisfied PyQt5, but it still bellyaches over the classes module thusly Code:bash-5.0$ openshot-qt
Traceback (most recent call last):
File "/usr/lib64/python3.8/site-packages/openshot_qt/launch.py", line 47, in <module>
from classes import info
ImportError: cannot import name 'info' from 'classes' (/usr/lib64/python3.8/site-packages/classes/__init__.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/bin/openshot-qt", line 11, in <module>
load_entry_point('openshot-qt==2.4.4.dev2', 'gui_scripts', 'openshot-qt')()
File "/usr/lib64/python3.8/site-packages/pkg_resources/__init__.py", line 490, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib64/python3.8/site-packages/pkg_resources/__init__.py", line 2853, in load_entry_point
return ep.load()
File "/usr/lib64/python3.8/site-packages/pkg_resources/__init__.py", line 2444, in load
return self.resolve()
File "/usr/lib64/python3.8/site-packages/pkg_resources/__init__.py", line 2450, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib64/python3.8/site-packages/openshot_qt/launch.py", line 52, in <module>
from classes import info
ImportError: cannot import name 'info' from 'classes' (/usr/lib64/python3.8/site-packages/classes/__init__.py)Sorry for the long preamble. It's installing classes-0.1.0. Anyone suggest a next move?latest?d=yIl2AUoC8zA latest?i=xUktmZrMCf0:3uZpthp_wTE:F7zBnMy latest?i=xUktmZrMCf0:3uZpthp_wTE:V_sGLiP latest?d=qj6IDK7rITs latest?i=xUktmZrMCf0:3uZpthp_wTE:gIN9vFwxUktmZrMCf0
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments