Python version needed?


#1

Red dot shows on Python code in Stencila document.
I have Python27,Python35 and Python36 installed on Windows 10.
I ran idle and executed the following.
Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 20:40:30) [MSC v.1500 64 bit (AMD64)] on win32
Type “copyright”, “credits” or “license()” for more information.

import stencila
stencila.install()

Previously stencila would not install under python 3.
Python35 is the default Python version.
I opened a command window and ran
C:\PYTHON27\SCRIPTS\virtualenv ENV and then activate.bat
Python27 is now the default python .
Started C:\Users\PlantGRIN\AppData\Local\Programs\stencila-desktop\Stencila.exe
Py() still has a red to over code blocks.


#2

Hi @Eugene_Timmermans, thanks for trying out Stencila and for taking the effort to describe the issues that you’ve had. I’m sorry it wan’t a smoother experience.

The Stencila Python package is tested under Python 2.7, 3.4, 3.5 and 3.6 (e.g. (https://travis-ci.org/stencila/py/builds/272782069) so you should be fine with any of those versions.

Could you copy and paste the output that you get from running these commands…

At the command line install the Stencila python package (you need to have pip installed):

pip install --user https://github.com/stencila/py/archive/master.zip

Then in IDLE, install the Stencila Python package manifest so that it can be found by the desktop:

import stencila
stencila.install()

Feel free to ping me in our Gitter chat room - https://gitter.im/stencila/stencila - it might be easier to debug any issues.