We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I had to fix these issues to get it working on Windows 10.
Command Prompt
cd C:\Users\Matt\AppData\Local\Programs\Python\Python39\Scripts pip install chs
I had to first install the Visual C++ 14.0 Build Tools or it would give an error.
http://go.microsoft.com/fwlink/?LinkId=691126 or https://visualstudio.microsoft.com/visual-cpp-build-tools
Error
ModuleNotFoundError: No module named 'pwd'
Fix C:\Users\Matt\AppData\Local\Programs\Python\Python39\Lib\site-packages\chs\ui\board.py
C:\Users\Matt\AppData\Local\Programs\Python\Python39\Lib\site-packages\chs\ui\board.py
Change import pwd to import getpass.
import pwd
import getpass
Uncaught error "FileNotFoundError", exiting the app.
Fix C:\Users\Matt\AppData\Local\Programs\Python\Python39\Lib\site-packages\chs\engine\stockfish.py
C:\Users\Matt\AppData\Local\Programs\Python\Python39\Lib\site-packages\chs\engine\stockfish.py
Full path to stockfish needs to be specified:
if 'Windows' in platform.system(): engine_path = 'C:\\Program Files\\Stockfish\\stockfish.exe'
Uncaught error "NameError", exiting the app.
In def _generate(), rank_i = rank_i - 1, when rank_i reaches 1 in the loop it causes an error in def get_meta_section().
def _generate()
rank_i = rank_i - 1
rank_i
1
def get_meta_section()
Error with self.get_user().
self.get_user()
if rank == 1: return ' {}'.format(self.get_user())
to
if rank == 1: return ' {}'.format(getpass.getuser())
Change Command Prompt font to DejaVu Sans Mono.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I had to fix these issues to get it working on Windows 10.
Installation
Command Prompt
I had to first install the Visual C++ 14.0 Build Tools or it would give an error.
http://go.microsoft.com/fwlink/?LinkId=691126
or
https://visualstudio.microsoft.com/visual-cpp-build-tools
pwd Module Not Found
Error
Fix
C:\Users\Matt\AppData\Local\Programs\Python\Python39\Lib\site-packages\chs\ui\board.py
Change
import pwd
toimport getpass
.Stockfish File Not Found
Error
Fix
C:\Users\Matt\AppData\Local\Programs\Python\Python39\Lib\site-packages\chs\engine\stockfish.py
Full path to stockfish needs to be specified:
Rank Name Error
Error
Fix
C:\Users\Matt\AppData\Local\Programs\Python\Python39\Lib\site-packages\chs\ui\board.py
In
def _generate()
,rank_i = rank_i - 1
, whenrank_i
reaches1
in the loop it causes an error indef get_meta_section()
.Error with
self.get_user()
.to
Chess Pieces displaying as question marks
Change Command Prompt font to DejaVu Sans Mono.
The text was updated successfully, but these errors were encountered: