Giter Site home page Giter Site logo

Comments (2)

tjwei avatar tjwei commented on August 11, 2024

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

from 2048-nn.

raagfrerra avatar raagfrerra commented on August 11, 2024

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

from 2048-nn.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.