-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to run start #12
Comments
Hi Olive, at the moment this SSE does not support Python 3.7. You will need to go down to version 3.6.7 to run this SSE. Some of the packages I am using are unstable with Python 3.7. Please see the note under Pre-requisites. |
Thanks! I reinstalled 3.6.7 instead and changed my windows path way. However, I still faced the same issue. Noticed in initialization, am unable to download 1 package successfully. Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: 'C:\Users\AppData\Local\Temp\pip-uninstall-pnlh70g3\users\documents\qlik-py-tools-3.8\qlik-py-env\lib\site-packages\pip\_vendor\urllib3\packages\ssl_match_hostname\pycache\_implementation.cpython-36.pyc' |
Did you execute the initialization script with the Run as administrator option? From the error it looks like the script fails very early in the process when upgrading pip. You can simply delete the qlik-py-env folder and try running the initialization again. If it still fails can you paste the complete output form the command prompt here? |
Setting up the Python virtual environment... Copying project files to the new directory... C:\Users\qlik-py-tools-3.8\generated\ServerSideExtension_pb2.py Activating the virtual environment... Installing required packages... Collecting setuptools Traceback (most recent call last): Creating a new firewall rule for TCP port 50055... Ok. All done. Run Qlik-Py-Start.bat to start the SSE Extension Service. Press any key to continue . . . |
Hello, yes I did. I ran it as administrator |
There seems to be something about your environment stopping us from updating pip, which is required to install the other packages. Can you try updating pip manually for your environment:
If the command above works, you can try the initialization again. If it fails, you should consider what may be special about your environment, for e.g. Anaconda installed, or another version of Python is also installed, etc. An uninstall and reinstall of Python 3.6.7 may help. |
I tried doing both - running the command, and then re-installing my python, only keeping 3.6.7, but they both do not work. Anaconda was not installed. The error message was "No such file or directory", probably cause the directory the script read was a combination of my Python directory + PY Tools 3.8 directory. Any way I can fix that? |
Did you get the same error when just running the This is an environment error that isn't specific to the SSE. One thing you can try is reinstalling pip using the bootstrap solution here:
|
Ah so did you still get the error when running Qlik-Py-Init.bat after the pip upgrade? If so, you could try taking out the step from the script. Right click the file and open it in notepad. Change this line:
To:
Save the file and then try running it again as an administrator. If you still have trouble try after taking out that line entirely. |
Hi Olive, did that resolve the installation issue? If so I'll go ahead and close this thread. |
Hi there, I'm using py tools 3.8 and python 3.7 to try the forecasting apps. After the initialization, I tried starting the start file but am faced with the following:
Traceback (most recent call last):
File "main.py", line 16, in
import ServerSideExtension_pb2 as SSE
File "C:\Users\Documents\qlik-py-tools-3.8\qlik-py-env\generated\ServerSideExtension_pb2.py", line 6, in
from google.protobuf.internal import enum_type_wrapper
ModuleNotFoundError: No module named 'google'
Press any key to continue . . .
Am new to this and appreciate your help, thanks!
The text was updated successfully, but these errors were encountered: