python - ubuntu eric no module PyQt5.Qsci -


just installed ubuntu 16.04 lts yesterday, installed eric. worked fine. wanted start eric , use qtdesigner today, didn't work (got error qtdesigner not found) since have manually install according guides. went through error:

error in sys.excepthook: traceback (most recent call last): file "<frozen importlib._bootstrap>", line 969, in _find_and_load file "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked file "<frozen importlib._bootstrap>", line 673, in _load_unlocked file "<frozen importlib._bootstrap_external>", line 665, in exec_module file "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed file "/usr/share/eric/modules/utilities/__init__.py", line 61, in <module> pyqt5.qsci import qscintilla_version_str, qsciscintilla importerror: no module named 'pyqt5.qsci'  original exception was: traceback (most recent call last): file "/usr/share/eric/modules/eric6.py", line 326, in <module> main() file "/usr/share/eric/modules/eric6.py", line 240, in main import preferences file "/usr/share/eric/modules/preferences/__init__.py", line 36, in  <module> pyqt5.qtwebkit import qwebsettings importerror: no module named 'pyqt5.qtwebkit' 

i manually installed qscintilla, qt, pyqt, qtdesigner. have found under python3 there distpackages containing pyqt4 , 5 (the ones missing according error) , can import them when running python3 in terminal. if running python 2 import isn't possible. assuming eric uses python2 start , not find these packages?

i new linux , not know if on right track. tried solutions offered on web, error keeps coming up. suggestions?

i have problem (importerror: no module named 'pyqt5.qsci') , solved these steps:

  1. i opened terminal , wrote command: pip3 install qscintilla.
  2. by above command computer began downloading qscintilla package, after downloading start downloading pyqt5 , sip package.
  3. after step 2 wrote command: sudo apt-get remove eric.
  4. then wrote command: sudo apt-get install eric.
  5. after above steps run eric typing: eric , pressed enter; eric ran successfully.

Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -