Giter VIP home page Giter VIP logo

Comments (12)

WangTingZheng avatar WangTingZheng commented on August 13, 2024 1

sure
I always set the launcher dev env in a vmware with debian 10
I think other linuxs will work,too

I tried to run launcher in my ubuntu, but it failed, more information in here, Did I do some wrong? How can I fix that?

from launcher.

cuu avatar cuu commented on August 13, 2024

sure
I always set the launcher dev env in a vmware with debian 10
I think other linuxs will work,too

from launcher.

cuu avatar cuu commented on August 13, 2024

hi
try

sudo apt install python-gi  
pip install PyGObject

from launcher.

WangTingZheng avatar WangTingZheng commented on August 13, 2024

hi
try

sudo apt install python-gi  
pip install PyGObject

hi, thanks to help me, still have bug:

(launcher) cpi@wangtingzheng-TM1701:~/apps/launcher/sys.py$ apt list python-gi
正在列表... 完成
python-gi/focal,focal 3.36.0-1 amd64
python-gi/focal,focal 3.36.0-1 i386
(launcher) cpi@wangtingzheng-TM1701:~/apps/launcher/sys.py$ pip list
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Package      Version 
------------ --------
dbus-python  1.2.16  
decorator    4.4.2   
pip          20.0.2  
pyalsaaudio  0.8.4   
pycairo      1.18.2  
pycurl       7.43.0.5
pygame       1.9.6   
PyGObject    3.36.0  
python-mpd   0.3.0   
setuptools   44.1.0  
six          1.14.0  
some-package 0.1     
validators   0.14.3  
wheel        0.34.2  
xlib         0.21    

error:

(launcher) cpi@wangtingzheng-TM1701:~/apps/launcher$ sudo ./load.sh
Traceback (most recent call last):
  File "run.py", line 10, in <module>
    from wicd import misc
  File "/usr/lib/python2.7/dist-packages/wicd/misc.py", line 30, in <module>
    import gobject
ImportError: No module named gobject
(launcher) cpi@wangtingzheng-TM1701:~/apps/launcher$ 

from launcher.

WangTingZheng avatar WangTingZheng commented on August 13, 2024

hi
try

sudo apt install python-gi  
pip install PyGObject

should I use old version of PyGObject?

from launcher.

cuu avatar cuu commented on August 13, 2024

launcher is written by python2 , so I think to use pip to install PyGObject

from launcher.

cuu avatar cuu commented on August 13, 2024

and

sudo apt install wicd-daemon  wicd-curses python-wicd wicd wicd-cli

from launcher.

WangTingZheng avatar WangTingZheng commented on August 13, 2024

launcher is written by python2 , so I think to use pip to install PyGObject

I had tried to install it by pip(python2), but still fail. I run hello.py in pygobject offical document , It worked, but the offical demo uses import gi rather than import gobject:

import gi
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk

window = Gtk.Window(title="Hello World")
window.show()
window.connect("destroy", Gtk.main_quit)
Gtk.main()

maybe import gobject was not supported in lastest version of gobject, so the I got this error, I think i have already install gobject in python2 ven

from launcher.

cuu avatar cuu commented on August 13, 2024

try to install the wicd stuff, it is related to wicd, and launcher uses the wicd as wifi backend

from launcher.

WangTingZheng avatar WangTingZheng commented on August 13, 2024

try to install the wicd stuff, it is related to wicd, and launcher uses the wicd as wifi backend

can not install, I tried aptitude, should I change python2 version?

(gameshell_python_11) cpi@wangtingzheng-TM1701:~/桌面$ sudo apt install wicd-daemon  wicd-curses python-wicd wicd wicd-cli
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
有一些软件包无法被安装。如果您用的是 unstable 发行版,这也许是
因为系统无法达到您要求的状态造成的。该版本中可能会有一些您需要的软件
包尚未被创建或是它们已被从新到(Incoming)目录移出。
下列信息可能会对解决问题有所帮助:

下列软件包有未满足的依赖关系:
 python-wicd : 依赖: python:any (< 2.8)
               依赖: python:any (>= 2.7.5-5~)
 wicd-cli : 依赖: python:any (>= 2.7.5-5~)
 wicd-curses : 依赖: python-urwid (>= 1.1) 但是它将不会被安装
               依赖: python:any (>= 2.7.5-5~)
 wicd-daemon : 依赖: python:any (>= 2.7.5-5~)
E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。
(gameshell_python_11) cpi@wangtingzheng-TM1701:~/桌面$ 

from launcher.

cuu avatar cuu commented on August 13, 2024

最好用python2的环境,launcher不兼容python3

我在ubuntu19.10里试了一下
sudo apt install wicd-daemon wicd-curses python-wicd wicd wicd-cli
可以安装
最好不好用conda之类的工具,
launcher当时没有用到虚拟环境,所以尽可能不要用conda之类的工具
在新的ubuntu上安装wicd还会碰到apt安装时wicd-daemon起不来的问题,需要手动解决,wicd比较老了没人在维护


it is best to use python2 ,launcher is not compatible with python3
I tried it in ubuntu19.10
sudo apt install wicd-daemon wicd-curses python-wicd wicd wicd-cli

It's better not to use tools like conda, The launcher did not use a virtual environment at the time, so try not to use tools such as conda

Installing wicd on a new ubuntu will also encounter the problem that wicd-daemon won't get up during apt installation. Required to manually solve, wicd is old and no one is maintaining it

Screen Shot 2020-04-15 at 1 06 51 AM

from launcher.

WangTingZheng avatar WangTingZheng commented on August 13, 2024

最好用python2的环境,launcher不兼容python3

我在ubuntu19.10里试了一下
sudo apt install wicd-daemon wicd-curses python-wicd wicd wicd-cli
可以安装
最好不好用conda之类的工具,
launcher当时没有用到虚拟环境,所以尽可能不要用conda之类的工具
在新的ubuntu上安装wicd还会碰到apt安装时wicd-daemon起不来的问题,需要手动解决,wicd比较老了没人在维护

it is best to use python2 ,launcher is not compatible with python3
I tried it in ubuntu19.10
sudo apt install wicd-daemon wicd-curses python-wicd wicd wicd-cli

It's better not to use tools like conda, The launcher did not use a virtual environment at the time, so try not to use tools such as conda

Installing wicd on a new ubuntu will also encounter the problem that wicd-daemon won't get up during apt installation. Required to manually solve, wicd is old and no one is maintaining it

Screen Shot 2020-04-15 at 1 06 51 AM

感谢您的耐心指导,看来我的软件依赖有点问题,即使我使用aptitude都无法修复,可能之前的操作打乱了软件依赖关系,我有时间再整整,这东西太消磨人的耐心了。我使用的20的Ubuntu,可能有点新了。

Thank you for your patience. It seems that my software dependency is a little bit problematic. Even if I use aptitude, I can't fix it. Maybe the previous operation has disrupted the software dependency. I will try to fix that when I have spare time . It's too wearing away people's patience.I use 20 version of Ubuntu, It seem that the os is too new.

from launcher.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.