Comments (12)
One quick fix if you run the project from the sources is to modify the file ProjectRunner.js and replace const exec = spawn('python', [folder+'/main.py']);
with const exec = spawn('python3', [folder+'/main.py']);
until i implement custom commands. I'm sorry for the inconvenience.
from ai-blocks.
Hi,
Thank you for using AI-Blocks, you need to install python 3.0+ for the program to work. Make sure there is a reference to python.exe in the path as well. I also suggest updating Tensorflow (not mandatory).
from ai-blocks.
@MrNothing thank you for your reply. Btw, can it run in a anaconda environment and how?
from ai-blocks.
Conda environments are not supported for the moment, I am planning on adding the option since it would not be very hard to do on my side. I will let you know when this is implemented.
from ai-blocks.
My default python interpreter in Ubuntu14.04 is 2.7 and I often use anaconda3 evironment to run python files. So, how to let AI-blocks run under python3?
from ai-blocks.
you would need to update python from 2.7 to 3.5. You can follow these instructions: https://superuser.com/questions/241865/updating-python-on-ubuntu-system
from ai-blocks.
I already have python3 in my ubuntu. Just run the command python3 instead of python. But by default, i think the system choose python2.7 to run. I just find a solution here, https://askubuntu.com/questions/590027/how-to-set-python-3-as-default-interpreter-in-ubuntu-14-04/590030. Can this make available by adding an alias for python to run python3?
from ai-blocks.
The issue is that python is executed from my command prompt (more specifically, i spawn a default console process) on AI-Blocks' side. I would need to add the alias on this subprocess, unless the alias command could be made global which i doubt.
from ai-blocks.
thank you very much, I will try it when I am back home. :) +1:
from ai-blocks.
@MrNothing I can't find the file ProjectRunner.js in your file AI-blocks.I download the file linux-x64.7z (v1.6.15) and unziped it directly in my ubuntu.
from ai-blocks.
It only works if you run the project from the sources, if you take the prebuilt Linux version, the sources are not avaliable. Running the project from the sources is a tedious task as it requires to have other dependencies installed such as npm and electron.
from ai-blocks.
okay thx. And using the prebuilt Linux version, when I want to add script, it shows dark background and nothing else.
from ai-blocks.
Related Issues (20)
- Opening example HOT 2
- Blank screen HOT 5
- Trying the first example HOT 5
- How to change python interpreter? HOT 2
- Is there any tutorial that build AI-Blocks from scratch? HOT 1
- Error json HOT 7
- ENOENT: no such file or directory, scandir './scripts' (v1.5.3-beta, Mac) HOT 1
- Tutorial on how to build from source HOT 5
- Cannot click script editing icon HOT 3
- Mac/Linux support HOT 20
- compileAllScripts error: Error: ENOENT on Elementary OS latest
- Error on running any examples HOT 1
- what i missing here?
- Make scene zoomable/draggable and setup a mask. HOT 1
- АI Flow Tensor wisiwig
- Inspector variables not updated when type changes HOT 1
- Problem using tensorflow HOT 3
- AI-Blocks cannot be opened because of a problem. (MacOS) HOT 13
- Can it run on Ubuntu? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ai-blocks.