Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.
SOLVED

Error when running Python tool on Alteryx Server

CCarroll-
7 - Meteor

Hi everyone,

 

I have built a workflow which utilises the Python tool and sits on my companies server. It had been running previously without issue but I went to run it today and was getting an error. utilises a package called "Sentence-trasformer" and I started to get a "Module Not Found" error. I put in a install line to reinstall the package but I got the following error:

 

CCarroll_0-1646843285528.png

 

I am unsure what the issue here is, would anyone have any idea what may be causing the issue? Again I'd like to reiterate that it was working up until I tried it today and I don't think anything has changed from my own end. 

 

Any help at all is greatly appreciated. 

 

Kind regards,

 

Conor

3 REPLIES 3
dougperez
12 - Quasar

Hello!

In your designer that script is working? Have you tried to run into the server designer ?

marcusblackhill
12 - Quasar
12 - Quasar

Hey @CCarroll- !

 

Looks like your server is struggling to install that package. Maybe is the proxy there, so if you is the server admin, try to force that installation through a more free proxy. If you're not the admin, talk with him to know which proxy can be used.

 

Another test you can do if you is admin, is to see if your server machine can reach the provider of that package (like https://pypi.org/project/pyorg/ if that come from there).

 

A third thing that can be helpful if anything resolve the issue, is to install the package from a wheel file instead.

 

 

Here you find the many other parameters you can use for the install : https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/How-To-Use-Alteryx-installPackages-...

 

CCarroll-
7 - Meteor

Hi All,

 

Thank you for all your replies. I managed to resolve this issue by having the administrator install the package to the correct directory via the command prompt.

 

See below for details on how to do this:

 

https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/Install-Python-packages-via-command...

 

Kind regards,

 

Conor