How can we help you today? How can we help you today?

Installation requirements for SQL Data Generator

In trying to do a custom Python script generator, I've got the error 'An error occurred. ImportError: No module named random - No installed python version was automatically detected; consider installing python 2.7 or adjusting the application options.'
Also, I get an error when I try to use the random() function in a Python expression. I can't find any references to Python in the installation instructions. What version of Python should I be using. Does it, for example, have to be IronPython or some other flavour?
AndrewRMClarke
0

Comments

2 comments

  • Anu D
    Thanks for your post.

    Here you have two options:

    Either Install Python 2.7 so that you can access the Python runtime and use Random() function of Python.

    OR

    Do not install Python 2.7 and use only IronPython details and use Random() function out of .net library

    Does this answer your question?
    Anu D
    0
  • AndrewRMClarke
    Can you please tell me the right syntax for using IronPython and the .NET Random() function
    AndrewRMClarke
    0

Add comment

Please sign in to leave a comment.