Jump to content
  • 0
adcdam

More trouble ego problem

Question

today i tried sudo ego sync and i got this:

Traceback (most recent call last):
  File "/usr/bin/ego", line 48, in <module>
    from ego.module import EgoModule, usage
  File "/usr/share/ego/python/ego/module.py", line 7, in <module>
    from mediawiki.cli_parser import wikitext_parse
  File "/usr/share/ego/python/mediawiki/cli_parser.py", line 13, in <module>
    import mwparserfromhell
ModuleNotFoundError: No module named 'mwparserfromhell'

 i really dont know what the problem is

 

Share this post


Link to post
Share on other sites

13 answers to this question

Recommended Posts

  • 0
eselect python list
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python3.4
  [3]   python2.7

 

Share this post


Link to post
Share on other sites
  • 0

eix dev-lang python gives:

No matches found

cat /etc/ego.conf
	
# python-kit = 3.6-prime
core-kit = 1.2-prime
security-kit = 1.2-prime
kde-kit = 5.12-prime
media-kit = 1.2-prime
java-kit = 1.2-prime
ruby-kit = 1.2-prime
haskell-kit = 1.2-prime
lisp-scheme-kit = 1.2-prime
lang-kit = 1.2-prime
dev-kit = 1.2-prime
desktop-kit = 1.2-prime

 

 

Share this post


Link to post
Share on other sites
  • 0

 

eix dev-lang/python
dev-lang/python [1]
     Available versions:  
     (2.7)  (~)2.7.13-r1 (~)2.7.14-r2
     (3.4)  (~)3.4.6-r1(3.4/3.4m)
     (3.5)  (~)3.5.3(3.5/3.5m) (~)3.5.3-r1(3.5/3.5m)
     (3.6)  (~)3.6.1-r2(3.6/3.6m) (~)3.6.5-r1(3.6/3.6m)^t
       {-berkdb bluetooth build doc examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl test +threads tk +wide-unicode wininst +xml ELIBC="uclibc"}
     Installed versions:  2.7.14-r2(2.7)(19:55:03 05/05/18)(gdbm ipv6 ncurses readline sqlite ssl threads wide-unicode xml -berkdb -bluetooth -build -doc -examples -hardened -libressl -tk -wininst ELIBC="-uclibc") 3.4.6-r1(3.4/3.4m)(19:57:32 05/05/18)(gdbm ipv6 ncurses readline sqlite ssl threads xml -build -examples -hardened -libressl -tk -wininst ELIBC="-uclibc") 3.6.5-r1(3.6/3.6m)^t(21:39:26 07/05/18)(gdbm ipv6 ncurses readline sqlite ssl threads xml -bluetooth -build -examples -hardened -libressl -test -tk -wininst)
     Homepage:            https://www.python.org/
     Description:         An interpreted, interactive, object-oriented programming language

[I] dev-lang/python-exec [1]
     Available versions:  (2) 2.4.4 (~)2.4.5 **9999
       {PYTHON_TARGETS="jython2_7 pypy pypy3 python2_7 python3_4 python3_5 python3_6"}
     Installed versions:  2.4.5(2)[?](02:56:29 01/02/17)(PYTHON_TARGETS="jython2_7 pypy pypy3 python2_7 python3_4 python3_5 python3_6")
     Homepage:            https://github.com/mgorny/python-exec/
     Description:         Python script wrapper

[1] "python-kit" /var/git/meta-repo/kits/python-kit

Found 2 matches

 

Share this post


Link to post
Share on other sites
  • 0

Try to rebuild all python versions expecially:

>
	Calculating dependencies... done! 
[ebuild   R    ] dev-lang/python-3.6.5-r1:3.6/3.6m::python-kit  USE="bluetooth g
dbm ipv6 ncurses readline sqlite ssl (threads) xml -build -examples -hardened -l
ibressl {-test} -tk -wininst" 16663 KiB

I've not other ideas ... excuse me :'(

Share this post


Link to post
Share on other sites
  • 0

Thanks Sandro and Jhan, i put python targets in make.conf and reinstalled package mwparserfromhell , now ego is working again, thank you!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...