Skip to content
New issue

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

no module name c2048 , how do i install c2048 in windows version of anaconda? #4

Open
raagfrerra opened this issue May 9, 2018 · 2 comments

Comments

@raagfrerra
Copy link

No description provided.

@tjwei
Copy link
Owner

tjwei commented May 9, 2018

Put this file in the module search path of python https://github.com/tjwei/2048-NN/blob/master/c2048.py

@raagfrerra
Copy link
Author


KeyError Traceback (most recent call last)
~\Anaconda3\lib\configparser.py in _unify_values(self, section, vars)
1134 try:
-> 1135 sectiondict = self._sections[section]
1136 except KeyError:

KeyError: 'blas'

During handling of the above exception, another exception occurred:

NoSectionError Traceback (most recent call last)
~\Anaconda3\lib\site-packages\theano\configparser.py in fetch_val_for_key(key, delete_key)
167 try:
--> 168 return theano_cfg.get(section, option)
169 except ConfigParser.InterpolationError:

~\Anaconda3\lib\configparser.py in get(self, section, option, raw, vars, fallback)
777 try:
--> 778 d = self._unify_values(section, vars)
779 except NoSectionError:

~\Anaconda3\lib\configparser.py in _unify_values(self, section, vars)
1137 if section != self.default_section:
-> 1138 raise NoSectionError(section)
1139 # Update with the entry specific variables

NoSectionError: No section: 'blas'

During handling of the above exception, another exception occurred:

KeyError Traceback (most recent call last)
~\Anaconda3\lib\site-packages\theano\configparser.py in get(self, cls, type_, delete_key)
327 val_str = fetch_val_for_key(self.fullname,
--> 328 delete_key=delete_key)
329 self.is_default = False

~\Anaconda3\lib\site-packages\theano\configparser.py in fetch_val_for_key(key, delete_key)
171 except (ConfigParser.NoOptionError, ConfigParser.NoSectionError):
--> 172 raise KeyError(key)
173

KeyError: 'blas.ldflags'

During handling of the above exception, another exception occurred:

RuntimeError Traceback (most recent call last)
in ()
1 import numpy as np
----> 2 import theano
3 import theano.tensor as T
4 import lasagne
5 from lasagne.layers import DenseLayer, InputLayer, batch_norm, DropoutLayer

~\Anaconda3\lib\site-packages\theano_init_.py in ()
122 from theano.printing import pprint, pp
123
--> 124 from theano.scan_module import (scan, map, reduce, foldl, foldr, clone,
125 scan_checkpoints)
126

~\Anaconda3\lib\site-packages\theano\scan_module_init_.py in ()
39 contact = "Razvan Pascanu r.pascanu@gmail"
40
---> 41 from theano.scan_module import scan_opt
42 from theano.scan_module.scan import scan
43 from theano.scan_module.scan_checkpoints import scan_checkpoints

~\Anaconda3\lib\site-packages\theano\scan_module\scan_opt.py in ()
58
59 import theano
---> 60 from theano import tensor, scalar
61 from theano.tensor import opt, get_scalar_constant_value, Alloc, AllocEmpty
62 from theano import gof

~\Anaconda3\lib\site-packages\theano\tensor_init_.py in ()
15 from theano.tensor import opt
16 from theano.tensor import opt_uncanonicalize
---> 17 from theano.tensor import blas
18 from theano.tensor import blas_scipy
19 from theano.tensor import blas_c

~\Anaconda3\lib\site-packages\theano\tensor\blas.py in ()
153 from theano.scalar import bool as bool_t
154 from theano.tensor import basic as T
--> 155 from theano.tensor.blas_headers import blas_header_text
156 from theano.tensor.blas_headers import blas_header_version
157 from theano.tensor.opt import in2out, local_dimshuffle_lift

~\Anaconda3\lib\site-packages\theano\tensor\blas_headers.py in ()
985
986
--> 987 if not config.blas.ldflags:
988 _logger.warning('Using NumPy C-API based implementation for BLAS functions.')
989

~\Anaconda3\lib\site-packages\theano\configparser.py in get(self, cls, type_, delete_key)
330 except KeyError:
331 if callable(self.default):
--> 332 val_str = self.default()
333 else:
334 val_str = self.default

~\Anaconda3\lib\site-packages\theano\configdefaults.py in default_blas_ldflags()
1428 if res:
1429 if 'mkl' in res:
-> 1430 check_mkl_openmp()
1431 return res
1432

~\Anaconda3\lib\site-packages\theano\configdefaults.py in check_mkl_openmp()
1250 import mkl
1251 if '2018' in mkl.get_version_string():
-> 1252 raise RuntimeError('To use MKL 2018 with Theano you MUST set "MKL_THREADING_LAYER=GNU" in your environement.')
1253 except ImportError:
1254 raise RuntimeError("""

RuntimeError: To use MKL 2018 with Theano you MUST set "MKL_THREADING_LAYER=GNU" in your environement.

getting this error now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants