Python Tool : How to install additional package from github ?
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Labels:
- Help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @kantawee,
Thank you for posting this question!
Option 1:
from Python tool:
from ayx import Alteryx
Alteryx.installPackages(package="git+https://github.com/facebookresearch/pysparnn.git")
Option 2:
- Open Command Prompt as administrator (not necessary for Alteryx Designer non-admin)
- Enter the following:
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
Example:
Thanks,
Paul Noirel
Sr Customer Support Engineer, Alteryx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @kantawee,
Is module tensorflow installed on your machine ?
Kind regards,
Paul Noirel
Sr Customer Support Engineer, Alteryx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@PaulN
I already installed Tensorflow. ,but now, i cannot import tensorflow in Python Tool.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi.
I have a similar problem when importing from keras.models import Sequential.
What could i do to solve this error?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
