Code Monkey home page Code Monkey logo

Comments (4)

mwatts15 avatar mwatts15 commented on August 11, 2024

The error comes from owmeta-core or PyOpenWorm (you should only have one of these installed, depending on what version of c302 you're using), but I'm not sure how you get this error. What version of Python, owmeta-core or PyOpenWorm, and c302 are you using? You can get the version numbers for owmeta-core, PyOpenWorm, and c302 like this:

import PyOpenWorm
print(PyOpenWorm.__version__)
# OR 
import owmeta_core
print(owmeta_core.__version__)
import c302
print(c302.__version__)

May help to know as well what installation procedure you followed before running sibernetic_c302.py

@pgleeson @skhayrulin, please also have a look if you've seen this or know why it may manifest.

from sibernetic.

woobin3069 avatar woobin3069 commented on August 11, 2024

I'm using

0.11.3
0.14.0.dev20210305231944

But I got an error while checking the version of c302.
Exception: The provided 'key_property' entry does not appear to be a property

It was unable to check the version of c302 with the code you provided,
But Pycharm said I'm using 0.7.8
image

from sibernetic.

pgleeson avatar pgleeson commented on August 11, 2024

@woobin3069 The correct version of c302 is certainly 0.7.8. I had neglected to release the new version to pypi, but it's there now and you should be able to install it with just pip install c302. That should install the correct versions of owmeta/owmeta_core. You don't need to set the C302_HOME variable.

The best version of sibernetic to use is in here: https://github.com/openworm/sibernetic/tree/ow-0.9.1. Also ensure you're using python 3.

However, there are a lot of unknown issues with running the c302+Sibernetic on Windows, simply because not many of us use/test on that system. It could certainly be possible, but will be difficult for us to debug any issues.

Have you tried building the latest Docker image, as this is well tested now on Windows and includes the latest libraries?

from sibernetic.

clausagerskov avatar clausagerskov commented on August 11, 2024

It is not recommended to use sibernetic on windows (natively) as the setting up of paths is a mess and the generation of neuron simulation files does not currently work out of the box.
Either use the docker image or WSL2 with Ubuntu 18.04 (20.04 seems to be more difficult to get to work)

from sibernetic.

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.