Tarun Parmar Posted October 24, 2018 Share Posted October 24, 2018 Hi, I was testing the Python Custom Data Function that is available here (https://community.spotfire.com/modules/Custom-Data-Function-for-TIBCO-Spotfire-to-Execute-Python-Code) (more info here). I have anaconda running Python 3.6 and that showed an error like below. So I setup an environment within anaconda for Python 3.5and also gave same error. The documentation at above link states: Supported Versions: Python distribution 2.7.xx or 3.0.xx But I can't find anaconda allowing 3.0 as they started with 3.5. So my question is, is the requirement for base python 3.0 Or it will work with any anaconda 3.x version Link to comment Share on other sites More sharing options...
Andreas Laestadius Posted November 5, 2018 Share Posted November 5, 2018 Please go to Edit -> DataFunction Properties-> Edit script and edit the data function to point to your python version: Hope this helps, Andreas Link to comment Share on other sites More sharing options...
Navjeet Singh 2 Posted October 31, 2019 Share Posted October 31, 2019 it still does not work after changing the installed version either to 3.7.0 or 3.8.0 Link to comment Share on other sites More sharing options...
Andreas Laestadius Posted November 1, 2019 Share Posted November 1, 2019 Unfortunately, as of today, you'd have to re-match the version numbers. This is an issue that is being looked into. Link to comment Share on other sites More sharing options...
Navjeet Singh 2 Posted November 1, 2019 Share Posted November 1, 2019 so which version is prefreble currently to use for all the other scripts if we use. is it 2.7.13 or higher one we can use. Link to comment Share on other sites More sharing options...
Prem Parag Shah Posted January 16, 2020 Share Posted January 16, 2020 UPDATE: as of Spotfire 10.7, Python for data functions is now native in Spotfire. Users on Spotfire 10.7+ should use the native version which you can read about here: https://community.spotfire.com/wiki/Python-data-function-tibco-spotfire" Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now