Python Tool : How to install additional package from github ?
I cannot install python package in https://github.com/facebookresearch/pysparnn
Please, Help to solve this problem T_T
Solved! Go to Solution.
Hi @kantawee,
Thank you for posting this question!
from Python tool:
from ayx import Alteryx
Alteryx.installPackages(package="git+https://github.com/facebookresearch/pysparnn.git")
For Designer admin:
cd "%PROGRAMFILES%\Alteryx\bin\Miniconda3\PythonTool_venv\Scripts" pip install git+https://github.com/facebookresearch/pysparnn.git
For Designer non-admin:
cd "%LOCALAPPDATA%\Alteryx\bin\Miniconda3\PythonTool_venv\Scripts" pip install git+https://github.com/facebookresearch/pysparnn.git
Thanks,
Paul Noirel
Sr Customer Support Engineer, Alteryx
@PaulN
Thanks PaulN, I success to install https://github.com/facebookresearch/pysparnn.git .
-
-
but, I cannot install package in https://github.com/rkcosmos/deepcut. I install success in command prompt, but I cannot import this package in Python Tool in Alteryx Designer.
How to config this? please... @PaulN
thanks
Hi @kantawee,
Is module tensorflow installed on your machine ?
Kind regards,
Paul Noirel
Sr Customer Support Engineer, Alteryx
@PaulN
I already installed Tensorflow. ,but now, i cannot import tensorflow in Python Tool.
Hi @kantawee,
Could you post the full error message from Python tool ?
If it's still cut, then start D:\Alteryx\bin\Miniconda3\PythonTool_venv\Scripts\python.exe
and enter import deepcut
to see the full message.
Thanks,
Paul Noirel
Sr Customer Support Engineer, Alteryx
Thanks @kantawee,
It seems that you are missing a DLL to run tensorflow - based on end of the error message. Could you please follow the instructions to install it and update this post based on your result ?
Kind regards,
Paul Noirel
Sr Customer Support Engineer, Alteryx
Can both of you try reinstalling Tensorflow in 1.10 version with the following step? There is an issue on the tensorflow 1.12 version.
Steps:
- Run Alteryx as administrator
- Open Python Tool and import Alteryx
- run: Alteryx.installPackages("tensorflow==1.10.0")
- rerun the keras code
https://github.com/tensorflow/tensorflow/issues/22872