Jump to content

python code error occurs when importing "requests" package in web player

seongeun kwon 2

Recommended Posts

I'm trying to scrap the data through API and make a visualization shared in web player.

my python code works well in spotfire analyst.

but when I tried same action in web player, it makes error like this.

Python script returned an error The data function 'my python code data function name' could not be executed. Error executing Python script: ModuleNotFoundError: No module named 'requests' Traceback (most recent call last): File "data_function.py", line 338, in _execute_script exec(compiled_script, self.globals) File "<data_function>", line 2, in <module>

I checked python modules and I already have it and used it in spotfire analyst.

is there any solutions I can try to?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...