nabeel-oz / qlik-py-tools

Data Science algorithms for Qlik implemented as a Python Server Side Extension (SSE).
https://nabeel-oz.github.io/qlik-py-tools/
MIT License
186 stars 87 forks source link

issue starting the SSE. #126

Open tanvij opened 2 years ago

tanvij commented 2 years ago

Describe the bug A clear and concise description of the bug.

Screenshots If applicable, add screenshots from Qlik-Py-Init to show the full error message.

Environment:

Additional context Add any other context about the problem here.

tanvij commented 2 years ago

Qlik-Py-Init ran as below screenshot
image

ignoring the error with few libraries i went ahead to run the Qlik_Py_Start file. It gave error: no module named google as below screenshot image

tanvij commented 2 years ago

Also tried activating virtual env in power shell: C:\Users\002AB6744\Documents\qlik-py-tools-8.1\qlik-py-tools-8.1\qlik-py-env\pretrained> ..\Scripts\activate.ps1

Got below error: ..\Scripts\activate.ps1 : File C:\Users\002AB6744\Documents\qlik-py-tools-8.1\qlik-py-tools-8.1\qlik-py-env\Scripts\Activate.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170. At line:1 char:1

abx-212 commented 2 years ago

Hello, have you found a solution to your error? If so, may you kindly share it I'm facing the same problem with installation

tanvij commented 2 years ago

No, i didnt find the solution and finally dropped to use this SSE as I found that libraries used are obsolete.

Thanks, Tanvi Jain

On Wed, Jun 29, 2022, 16:53 abx-212 @.***> wrote:

Hello, have you found a solution to your error? If so, may you kindly share it I'm facing the same problem with installation

— Reply to this email directly, view it on GitHub https://github.com/nabeel-oz/qlik-py-tools/issues/126#issuecomment-1169862106, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADJ6OXGQ2GWIRWHHAGLCIHLVRQW4XANCNFSM5WY5EGBQ . You are receiving this because you authored the thread.Message ID: @.***>

abx-212 commented 2 years ago

Thank you for sharing, Did you find an alternative solution, or another SSE?

tanvij commented 2 years ago

No ...I could not use python and machine learning models within qlik

On Thu, Jun 30, 2022, 11:49 abx-212 @.***> wrote:

Thank you for sharing, Did you find an alternative solution, or another SSE?

— Reply to this email directly, view it on GitHub https://github.com/nabeel-oz/qlik-py-tools/issues/126#issuecomment-1170812939, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADJ6OXFLIRE7MK6N2U2XWR3VRU365ANCNFSM5WY5EGBQ . You are receiving this because you authored the thread.Message ID: @.***>

MarkJM84 commented 2 years ago

Hi, we had the same problem a while ago: https://github.com/nabeel-oz/qlik-py-tools/issues/122

We came to the weird conclusion that it might be a hardware issue. I can't find the documentation we had, but there are older server processors that don't meet the requirements for the python tensorflow module.

Might this can point you to the right direction to find a solution.

abx-212 commented 2 years ago

Thanks a lot, Mark! the issue you've raised was helpful.

rowenagold commented 1 year ago

I have this same issue after following the steps very clearly. Furthermore ive tried other steps with the following error

pip install google-protobuf ERROR: Could not find a version that satisfies the requirement google-protobuf (from versions: none) ERROR: No matching distribution found for google-protobuf

pip show protobuf Name: protobuf Version: 4.24.3 Summary: Home-page: https://developers.google.com/protocol-buffers/ Author: protobuf@googlegroups.com Author-email: protobuf@googlegroups.com License: 3-Clause BSD License

i have protobof and its installed in the same path as all other python library installed.

Is there some other option for SSE on Qlik with python?