lukekulik / solar-system Goto Github PK
View Code? Open in Web Editor NEW3D Solar System Simulation in Python
License: MIT License
3D Solar System Simulation in Python
License: MIT License
python3 main.py # or python main.py
Traceback (most recent call last):
File "main.py", line 1, in <module>
from vis import rate, vector # importing vPython module
ModuleNotFoundError: No module named 'vis'
README.md dependencies are already installed.
Running on Xubuntu Linux 18.04.1 LTS, up-to-date.
Python 2.7.15rc1 and 3.6.7 and related package libraries are up-to-date.
Fails on both Python 2 and 3 as depicted earlier.
I got vis to work - had to install vpython and change vis to vpython in code.
Now it has typerror: Vector needs 3 components from self.ambient (value)
?? Any thoughts? I think its from the vis package but I dont have that in this code? Im very new to this
For someone experienced with this, this shouldn't be too much of a problem to recognize by themselfes but some people seem to have problems with newer versions. (Python 3.x / VPython 7).
Would be nice if you could update the readme to also make the used versions clear.
Maybe even providing the download link to this ( https://vpython.org/contents/download_windows.html )
When I run main.py i get an error from the graphics import from graphic.py saying I don't have scene, etc. I have the updated vis to the latest version (0.0.5) so I'm sure that's not the issue. Also do I have to insert the textures file somewhere?
Can you write a bigger description for the project you made?
I find it very useful and I want to build a similar one yet I am still new to python and Vpython.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.