GithubHelp home page GithubHelp logo

Comments (9)

xaizek avatar xaizek commented on June 12, 2024

Those are warnings. The code isn't entirely correct, but will probably work.

from lucaschess.

Arunachala-Ramana avatar Arunachala-Ramana commented on June 12, 2024

Emm. Let me check

from lucaschess.

Arunachala-Ramana avatar Arunachala-Ramana commented on June 12, 2024

See if there are any errors

chandru1@chandru-hp:~/lucaschess/LCEngine$ bash xcython_linux.sh
rm: cannot remove 'LCEngine4.so': No such file or directory
running build_ext
building 'LCEngine4' extension
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-1x6jhf/python2.7-2.7.18~rc1=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c LCEngine4.c -o build/temp.linux-x86_64-2.7/LCEngine4.o
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-1x6jhf/python2.7-2.7.18~rc1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-Bsymbolic-functions -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-1x6jhf/python2.7-2.7.18~rc1=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC build/temp.linux-x86_64-2.7/LCEngine4.o -lirina -o /home/chandru1/lucaschess/LCEngine/LCEngine4.so
x86_64
chandru1@chandru-hp:~/lucaschess/LCEngine$ cd ..
chandru1@chandru-hp:~/lucaschess$ cd Linux
chandru1@chandru-hp:~/lucaschess/Linux$ bash xlucas.sh
x86_64
Traceback (most recent call last):
  File "./Lucas.py", line 44, in <module>
    import Code.Init
  File "./Code/Init.py", line 5, in <module>
    from Code import Procesador
  File "./Code/Procesador.py", line 10, in <module>
    from Code import XGestorMotor
  File "./Code/XGestorMotor.py", line 6, in <module>
    from Code import XMotor
  File "./Code/XMotor.py", line 7, in <module>
    from PyQt4 import QtCore
ImportError: No module named PyQt4

I am not able to run. Did i miss any dependency like Qt4, if yes please let me know the commands for installing them, as qt5 only seems to be available.

Thanks a lot.

from lucaschess.

xaizek avatar xaizek commented on June 12, 2024

Ubuntu 20.04 dropped support for Qt4. Packages from older releases might work or you can build it yourself (in both cases you also need PyQt and maybe some other old versions), look for articles on using Qt4 in Ubuntu 20.04.

You can also try https://github.com/lukasmonk/lucaschessR (not sure it works on Linux yet). Or use Windows version via Wine.

from lucaschess.

Arunachala-Ramana avatar Arunachala-Ramana commented on June 12, 2024

Yeah will try searching and get back.

from lucaschess.

Arunachala-Ramana avatar Arunachala-Ramana commented on June 12, 2024

Emm. Installed Pyqt but now error shows up as no module called pyaudio. I did install python3-pyaudio.


chandru1@chandru-hp:~/lucaschess/Linux$ bash xlucas.sh
x86_64
Traceback (most recent call last):
  File "./Lucas.py", line 44, in <module>
    import Code.Init
  File "./Code/Init.py", line 5, in <module>
    from Code import Procesador
  File "./Code/Procesador.py", line 55, in <module>
    from Code.QT import PantallaSonido
  File "./Code/QT/PantallaSonido.py", line 17, in <module>
    from Code import Sonido
  File "./Code/Sonido.py", line 7, in <module>
    import pyaudio
ImportError: No module named pyaudio
chandru1@chandru-hp:~/lucaschess/Linux$ sudo apt-get install python3-pyaudio
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python3-pyaudio is already the newest version (0.2.11-1.1build1).

Anything i did wrong?

from lucaschess.

xaizek avatar xaizek commented on June 12, 2024

python3-pyaudio

LucasChess uses python2.

from lucaschess.

Arunachala-Ramana avatar Arunachala-Ramana commented on June 12, 2024

Emm. So what should i do now to rectify? I am not aware

from lucaschess.

Arunachala-Ramana avatar Arunachala-Ramana commented on June 12, 2024

Got it working. Posted this question here: https://askubuntu.com/questions/1265294/pyqt4-on-ubuntu-20-04-install and some people were very kind to help 👍 Thanks to you as well for the help.

from lucaschess.

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.