Skip to content
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

ModuleNotFoundError #100

Closed
Smileyone opened this issue Feb 6, 2021 · 6 comments
Closed

ModuleNotFoundError #100

Smileyone opened this issue Feb 6, 2021 · 6 comments

Comments

@Smileyone
Copy link

I installed a linux-x64 version of Polyglot-v2 on a Ubuntu 20.04.2 VM and I can't get the nodes servers to work correctly. The log states ModuleNotFoundError: No module named 'polyinterface' or 'pgc_interface'. Are there files missing in my installation?
Any assistance would be greatly appreciated.
Thank you.

I've attached the log file.
polyglot_2-6-2021_45039_PM.txt

@jimboca
Copy link
Contributor

jimboca commented Feb 6, 2021

The install.sh for the nodeserver should have installed polyinterface. Did you install the nodeserver from the store?

@Smileyone
Copy link
Author

Yes, I installed the nodeserver from the store and this is what the log says.

2/7/2021, 9:40:18 AM [polyglot] info: MQTTS: Client Connected:
2/7/2021, 9:40:18 AM
[polyglot] info: MQTTP: Frontend Websockets interface Connected.
2/7/2021, 9:43:57 AM [polyglot] info: NSChild cloneRepo: Successfully cloned AERISWeather into NodeServer directory.
2/7/2021, 9:43:57 AM [polyglot] error: NSChild: Install failed - Non-zero exit code: 127
2/7/2021, 9:43:57 AM [polyglot] error: NSChild: AERISWeather cloneRepo: Error: runInstallProcess: undefined
2/7/2021, 9:43:57 AM [polyglot] error: Error: runInstallProcess: undefined
at runInstallProcess (/snapshot/polyglot-v2/lib/modules/children.js:45:11)
at process._tickCallback (internal/process/next_tick.js:68:7)
2/7/2021, 9:43:57 AM [polyglot] error: NSResponse: Success: false - cloneRepo: Error: runInstallProcess: undefined

@jimboca
Copy link
Contributor

jimboca commented Feb 7, 2021

Run the install.sh for the nodeserver manually since Polyglot doesn't show the actual error.

@Smileyone
Copy link
Author

I ran the install.sh manually and the error is "pip3: command not found"

@jimboca
Copy link
Contributor

jimboca commented Feb 7, 2021

Well that explains it. You need to install python 3

@Smileyone
Copy link
Author

I'll do that, thank you.

@jimboca jimboca closed this as completed Feb 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants