Giter VIP home page Giter VIP logo

Comments (3)

orisano avatar orisano commented on August 25, 2024

please give me your environment information and full stack trace

from olll.

orenliber avatar orenliber commented on August 25, 2024

Hi,

Thanks for the feedback.

I'm using:

  • Python 3.4.3 :: Anaconda custom (32-bit)
  • Windows 10, Version 1803 (OS Build 17134.472)
  • Spyder 2.3.5.2

The code I tried to run:
`import olll

reduced_basis = olll.reduction([
[1, 1, 1],
[-1, 0, 2],
[3, 5, 6],
], 0.75)

print(reduced_basis)`

The Trace back:

runfile('C:/Users/Oren/Documents/Python Scripts/olll_test.py', wdir='C:/Users/Oren/Documents/Python Scripts')
Traceback (most recent call last):

File "", line 1, in
runfile('C:/Users/Oren/Documents/Python Scripts/olll_test.py', wdir='C:/Users/Oren/Documents/Python Scripts')

File "C:\Users\Oren\Anaconda3\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 685, in runfile
execfile(filename, namespace)

File "C:\Users\Oren\Anaconda3\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 85, in execfile
exec(compile(open(filename, 'rb').read(), filename, 'exec'), namespace)

File "C:/Users/Oren/Documents/Python Scripts/olll_test.py", line 14, in
], 0.75)

File "C:\Users\Oren\Anaconda3\lib\site-packages\olll.py", line 93, in reduction
basis = list(map(Vector, basis))

File "C:\Users\Oren\Anaconda3\lib\site-packages\olll.py", line 73, in gramschmidt

TypeError: 'GenericMeta' object does not support item assignment

Please let me know if there is any information missing

from olll.

orisano avatar orisano commented on August 25, 2024

https://www.python.org/dev/peps/pep-0526/

sorry, supported version is 3.6 later.

please update your python version.

from olll.

Related Issues (2)

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.