Comments (6)
How are you running it? By using the command line?
On Apr 16, 2014 7:58 AM, "Neryu" [email protected] wrote:
Hi.
I built the project on Windows using VS2012, then I have my folder bin
with 2048.dll inside, but when I run 2048.py, it tells me this :
Couldn't load 2048 library bin/2048.{so,dll,dylib}! Make sure to build it
first.
I'm running 2048.py in his directory, using python 2.7—
Reply to this email directly or view it on GitHubhttps://github.com//issues/22
.
from 2048-ai.
Yes, I'm using the command line.
from 2048-ai.
Which directory did you say you ran 2048.py
from? It should be run from the 2048-ai/ root directory, not any subdirectory.
from 2048-ai.
I run it from this directory, of course.
I'm going in the directory "2048-ai" and run the program by typing "python 2048.py"
from 2048-ai.
I think I figured it out. Your python
is 64-bit and the DLL you built is 32-bit, or vice-versa. Basically the DLL has the wrong "bit-ness" so python
doesn't load it, and the message incorrectly claims the library can't be found.
To fix, make sure to use the MSVC command prompt corresponding to the bitness of your Python: x86
for 32-bit, and x64
for 64-bit.
from 2048-ai.
It was this, thank you. I built the dll in 32-bit.
It is working well, thank you for your work and your support !
from 2048-ai.
Related Issues (20)
- License HOT 7
- chrome on linux error!? HOT 1
- Make it compatible with Windows HOT 1
- Error with ff plugin HOT 1
- What have I to input for "Selection?" question? HOT 4
- Getting this error HOT 2
- Error while trying to run program through Chrome browser HOT 1
- Error using Chrome browser-control on MacOS [I fixed it, consider updating README] HOT 3
- Error while trying to run program through Firefox browser HOT 8
- A wrapper and 2048 API for education purpose HOT 1
- 2048-ai HOT 1
- how does the cut-off function works HOT 2
- connection refused HOT 1
- Problems with building on Ubuntu HOT 1
- About all the constant numbers you set HOT 1
- Looking forward to CUDA version? HOT 5
- 能不能考虑加一个非网页版的2014ai HOT 1
- The intuition for the values of heur_score_table HOT 1
- code for converting grid to 64 bit variable HOT 4
- make command error
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 2048-ai.