Comments (9)
I have the same probem when use pip install on windows10, python3.6:
File "C:\Users\Denis\AppData\Local\Temp\pip-install-rma7iced\kociemba\setup.py", line 5, in
long_description = open(os.path.join(os.path.dirname(file), 'README.md')).read()
UnicodeDecodeError: 'gbk' codec can't decode byte 0x99 in position 4168: illegal multibyte sequence
I have installed VC++ build tools from Microsoft and upgraded pip to the newest version, but it does' work at all.
from kociemba.
It's driving me crazy. Any one can tell me why?
from kociemba.
@Oslomayor Thanks for the info!
Judging by the traceback, I think the problem is in this line https://github.com/muodov/kociemba/blob/master/setup.py#L5
I guess Windows is using another encoding by default, so changing the line to this might solve the problem:
long_description = open(os.path.join(os.path.dirname(__file__), 'README.md'), encoding='utf-8').read()
I don't have a Windows environment to confirm this. @Oslomayor would you mind trying it on your machine?
from kociemba.
@muodov Thanks for you reply! I changing the line as you told, however, it doesn't work. I guess there is something wrong with my Windows VC++ environment. Because it throws out a error like this:
error: Microsoft Visual C++ 14.0 is required.
I need some time to fix it.
from kociemba.
i think the problem is that the bottom code is C for linux, and python just call the C language code.
so i think change the local C code may work and do not use pip.
from kociemba.
@cubhe I don't think it's the case. There is no OS-specific in the C code. And some users have it running under windows.
from kociemba.
@Oslomayor @unaided Have you guys had any luck with this issue?
from kociemba.
@muodov Not yet. And I use MATLAB to solve Rubik's Cube now. Thanks : )
from kociemba.
i have the same problem
from kociemba.
Related Issues (19)
- Implement symmetry reductions HOT 2
- Consider integrating with pycuber HOT 3
- Implement solve-to-pattern feature natively in C code HOT 3
- Code cleanup HOT 2
- Separate tests for python and C implementations
- Compiling on Windows HOT 11
- Program crashes on Windows when cache exists HOT 7
- Cannot install in Windows HOT 1
- Enhance schema description in readme HOT 3
- Run problem HOT 2
- Error compiling on Linux HOT 2
- cant install HOT 18
- Solve cube leads to wrong answer HOT 5
- Solve is not a String HOT 1
- Running with a solved cube HOT 1
- Kociemba failed for some cases
- Install fail on chromebook (debian)
- Feature request: Solve to pattern. HOT 2
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 kociemba.