Code Monkey home page Code Monkey logo

Comments (5)

mccoys avatar mccoys commented on July 23, 2024

Your python version is too old. Make sure you specify PYTHONEXE=python3 in your environment

from smilei.

fyli16 avatar fyli16 commented on July 23, 2024

OK, thanks. Now compiled using Python3 (3.9.2). No problems with compiling, smilei_test run, but again failed at actual run with the following error. Seems it suggest database file issue. Any specific Python version should I work with for this latest smilei? Anything I should modify before I compile the code, e.g. the file scripts/compile_tools/python-config.py?

image

from smilei.

mccoys avatar mccoys commented on July 23, 2024

It is as if your python could not create the file. I think I saw something similar recently but can't remember exactly.

Have you deleted your folder before launching a new simulation?

Or, could you try, from your environment, to write something using the python module p pickle or shelve?

from smilei.

charlesprouveur avatar charlesprouveur commented on July 23, 2024

Also, did you run the new executable in a new folder? (a previous smilei.py in the execution folder can also be a problem)

from smilei.

fyli16 avatar fyli16 commented on July 23, 2024

It works by starting a new folder, thank you for helping! I am closing it now.

from smilei.

Related Issues (20)

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.