Giter Site home page Giter Site logo

Comments (15)

darbula avatar darbula commented on July 1, 2024

I have released 0.2.1 version since 0.2.0 used old version of distribute package not needed anymore that could cause problems. Please try again.

from pymote.

vivekanand1101 avatar vivekanand1101 commented on July 1, 2024

sorry, this still gave an error. Not the same and also i am not sure it has everything to do with pymote

http://paste.fedoraproject.org/293842/35708014/

from pymote.

darbula avatar darbula commented on July 1, 2024

Yes it seems that the problem is with installing scipy. Could you paste output of pip freeze here. Probably you have newer version of scipy than the one that is required 0.12 or less.

from pymote.

vivekanand1101 avatar vivekanand1101 commented on July 1, 2024

I had one installed by dnf but i removed it, when i saw this error. pip freeze gave this:

http://paste.fedoraproject.org/293847/14483576

from pymote.

darbula avatar darbula commented on July 1, 2024

You should install scipy 0.12 or 0.11 and then try again with pymote.

from pymote.

vivekanand1101 avatar vivekanand1101 commented on July 1, 2024

I tried it and now i have scipy version 0.11.0 and numpy version 1.7.0. Installation of pymote version 0.2.1 went well but i still get an error when i compile the "Hello Distributed world" example. Error:

https://paste.fedoraproject.org/294254/84370281/
.

from pymote.

darbula avatar darbula commented on July 1, 2024

The problem is in line import scipy.stats. You can try manually importing in the python shell and see if you get the same error. If you do, the problem is still in scipy.

from pymote.

vivekanand1101 avatar vivekanand1101 commented on July 1, 2024

That one is clear now. But still no success in compilation of "hello dist. world". Error:

https://paste.fedoraproject.org/294276/44844034/

from pymote.

darbula avatar darbula commented on July 1, 2024

Do you have PySide installed?

from pymote.

vivekanand1101 avatar vivekanand1101 commented on July 1, 2024

I thought pymote would install it by itself. Sorry for this one.

from pymote.

darbula avatar darbula commented on July 1, 2024

Unfortunately no, this could and should probably change.

from pymote.

vivekanand1101 avatar vivekanand1101 commented on July 1, 2024

That step is done. The program gets compiled. But as given by the example here, net.show() should show the gui. But, even if matplotlib is imported, an error shows up:

https://paste.fedoraproject.org/294320/84505621/

I have tried changing the backend, i changed it to PySide. It doesn't work. As soon as i do net.show(). Segmentation fault occurs and i am out of "ipymote"

Can you tell me which backend would be best for pymote ?

And also, when i try to run pymote simulation gui, i get this.
I guess, it is also because of some backend problem (in matplotlib)

from pymote.

darbula avatar darbula commented on July 1, 2024

Hello world tutorial is intended to be started in ipython notebook as noted on tutorial page here:

Tutorial is currently available in form of IPython notebook

So you have to download notebook, start ipython notebook --profile=pymote and load it there. Also when inside tutorial you can try to assert inline mode with %pylab inline command.

from pymote.

vivekanand1101 avatar vivekanand1101 commented on July 1, 2024

Yeah. But, i was able to solve the problem in a different way. I am able to see the graph. It was due to matplotlib.

Would that be better to have animation as one of the feature ? Ex: like showing data transfer between motes.

from pymote.

darbula avatar darbula commented on July 1, 2024

Possibility to see data packages step by step is already in the simulationgui.

from pymote.

Related Issues (17)

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.