Comments (9)
Those are warnings. The code isn't entirely correct, but will probably work.
from lucaschess.
Emm. Let me check
from lucaschess.
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.
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.
Yeah will try searching and get back.
from lucaschess.
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.
python3-pyaudio
LucasChess uses python2.
from lucaschess.
Emm. So what should i do now to rectify? I am not aware
from lucaschess.
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)
- Cannot compile on Ubuntu 18.04 HOT 2
- Ubuntu 18.04 installation error. HOT 21
- Linux Mageia: Error when executing xcython_linux.sh HOT 6
- Lucaschess not starting up : Ubuntu 18.04
- It is unclear how to undue theme customisations HOT 2
- Please consider gradually transitioning the codebase into English HOT 1
- It's impossible to add external engines on Linux if their filename doesn't end with .exe HOT 1
- Piece styles as TTF HOT 5
- Live analysis output? HOT 3
- How to start the program on linux ? HOT 2
- Tutor regularly telling me my move is not the best move, and then recommends that same move to me. HOT 3
- Options windows, and especially the Initial Moves window, are rather small HOT 5
- The wait pointer shows when I have the tutor enabled and when *it is my move* HOT 1
- Wait pointer shows when it is my move
- pgn text copy error HOT 5
- search or past a position when browsing opening lines HOT 3
- Request options for making bin books with Polyglot book factory HOT 3
- Feature request: have a live analysis feature like in lichess HOT 1
- Setting up a position and then playing it (1) is rather complex, (2) changes the animations speed; more
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lucaschess.