Version 3.8 was not found on our alteryx distribution
- 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
Hello everyone,
I am currently working on building a plugin for Alteryx Designer 2024.1. I upgraded my python version from 3.8 to 3.10.13 as instructed on Alteryx's website. I have already created a new conda environment (python 3.10.13, node 14, ayx_python_sdk: 2.4.1), updated my requirements-thirdparty.txt, and changed my python version to 3.10.13 in the ayx_workspace.json file. I built the YXI successfully with no error, however, when I tried running it on Alteryx, I received this error:
" Version 3.8 was not found on our alteryx distribution. Please select another version."
I wonder if I am missing a file that I have to update as well, or this is an error with the new libraries.
Thank you for your help!
UPDATE: I tried using the new environment (python 3.10.13, node 14, ayx_python_sdk: 2.4.1) to build the YXI into Alteryx Designer 2023.2 to see if it is running, since Alteryx Designer 2024.1 is giving me the error above. However, Alteryx Designer 2023.2 is giving me this error:
" Version 3.10 was not found on our alteryx distribution. Please select another version."
This is strange because 2024.1 is telling me that I am using python 3.8, but 2023.2 is telling me that I am using 3.10, even though I am using the same conda environment (python 3.10.13, node 14, ayx_python_sdk: 2.4.1) to build the YXI.
Solved! Go to Solution.
- Labels:
-
Python
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
There are a couple things that could be going wrong here:
1. There could be an old installation of the tool hanging around in your APPDATA. Try deleting all instances of your tool found here:
C:\Users\<<YOUR ID>>\AppData\Roaming\Alteryx\Tools\<<TOOL NAME>>
you should also check the admin path:
C:\ProgramData\Alteryx\...\<<ToolName>>
2. You could still be building the tool from a python 3.8 environment instead of a 3.10 one. Double check when you are running create_yxi that you are doing so from the python 3.10.13 environment!
Hope this helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello dandreis,
I tried what you said, and it does not pop up that same error anymore. However, it is giving me this error: "Failed to read port assignment".
I have searched on the community and seems like it was because of protobuf, but I believe with the new sdk version 2.4.1, protobuf is not an issue anymore. I wonder if this is related to one of the libraries in SDK 2.4.1?
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello dandreis,
I tried what you said, and it does not pop up that same error anymore. However, it is giving me this error: "Failed to read port assignment".
I have searched on the community and seems like it was because of protobuf, but I believe with the new sdk version 2.4.1, protobuf is not an issue anymore. I wonder if this is related to one of the libraries in SDK 2.4.1?
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
This could be due to a few reasons, the best way to debug it would be by running the following command:
python main.pyz start-sdk-tool-service ayx_plugins ToolName
This should give a more specific error and tell you if it's something related to a library issue or syntax errors in your python code.