Scott847 Posted January 27, 2023 Posted January 27, 2023 @bpwwer I'm getting an error when I try to install the VUE node server on a Polisy. Perhaps related to the python-jose[cryptography]==3.3.0 requirement? It looks like it tries to build pycryptodome and runs into a compile error when it can't find stdint.h. Following are some log excerpts showing the problem: 1/27/2023, 12:46:35 [pg3] info: NSChild: VUE(7) /bin/sh: Collecting python-jose[cryptography]==3.3.0 1/27/2023, 12:46:35 [pg3] info: NSChild: VUE(7) /bin/sh: Downloading python_jose-3.3.0-py2.py3-none-any.whl (33 kB) <snip> 1/27/2023, 12:46:54 [pg3] info: NSChild: VUE(7) /bin/sh: Collecting pycryptodome<3.4.0,>=3.3.1 1/27/2023, 12:46:55 [pg3] info: NSChild: VUE(7) /bin/sh: Downloading pycryptodome-3.3.1.tar.gz (3.1 MB) 1/27/2023, 12:46:55 [pg3] info: NSChild: VUE(7) /bin/sh: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 16.2 MB/s eta 0:00:00 1/27/2023, 12:46:55 [pg3] info: NSChild: VUE(7) /bin/sh: 1/27/2023, 12:46:55 [pg3] info: [00:0d:b9:53:2a:14_7] Retrieved customparams 1/27/2023, 12:46:55 [pg3] info: [00:0d:b9:53:2a:14_7] Retrieved oauth 1/27/2023, 12:46:56 [pg3] info: NSChild: VUE(7) /bin/sh: Preparing metadata (setup.py): started 1/27/2023, 12:46:58 [pg3] info: NSChild: VUE(7) /bin/sh: Preparing metadata (setup.py): finished with status 'done' 1/27/2023, 12:46:59 [pg3] info: NSChild: VUE(7) /bin/sh: Requirement already satisfied: pycparser in /usr/local/lib/python3.9/site-packages (from cffi>=1.12->cryptography>=3.4.0->python-jose[cryptography]==3.3.0->-r requirements.txt (line 6)) (2.21) 1/27/2023, 12:47:01 [pg3] info: NSChild: VUE(7) /bin/sh: Building wheels for collected packages: pycryptodome 1/27/2023, 12:47:01 [pg3] info: NSChild: VUE(7) /bin/sh: Building wheel for pycryptodome (setup.py): started 1/27/2023, 12:47:05 [pg3] info: NSChild: VUE(7) /bin/sh: Building wheel for pycryptodome (setup.py): finished with status 'error' <snip> running build_ext warning: no support for Intel AESNI instructions building 'Crypto.Hash._MD2' extension creating build/temp.freebsd-13.1-RELEASE-p5-amd64-cpython-39 creating build/temp.freebsd-13.1-RELEASE-p5-amd64-cpython-39/src cc -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DLTC_NO_ASM -Isrc/ -I/usr/local/include/python3.9 -c src/MD2.c -o build/temp.freebsd-13.1-RELEASE-p5-amd64-cpython-39/src/MD2.o In file included from src/MD2.c:28: src/pycrypto_common.h:47:10: fatal error: 'stdint.h' file not found #include <stdint.h> ^~~~~~~~~~ 1 error generated. error: command '/usr/bin/cc' failed with exit code 1 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pycryptodome 1/27/2023, 12:47:05 [pg3] info: NSChild: VUE(7) /bin/sh: Running setup.py clean for pycryptodome 1/27/2023, 12:47:05 [pg3] info: set to expire on 2023-02-20T00:39:32.000Z 1/27/2023, 12:47:05 [pg3] info: set to expire on 2023-02-16T22:03:49.000Z 1/27/2023, 12:47:06 [pg3] info: [XX:XX:XX:XX:XX:XX_X] controller reporting command DOF 1/27/2023, 12:47:07 [pg3] info: NSChild: VUE(7) /bin/sh: Failed to build pycryptodome
Solution bpwwer Posted January 27, 2023 Solution Posted January 27, 2023 Use the "install dev packages" option in the admin console configuration tab and then try again. If you don't have an install dev packages option, you'll need to upgrade packages first.
Scott847 Posted January 28, 2023 Author Posted January 28, 2023 3 hours ago, bpwwer said: Use the "install dev packages" option in the admin console configuration tab and then try again. If you don't have an install dev packages option, you'll need to upgrade packages first. VUE installed successfully after doing the "Install Dev. Packages." Thanks for the quick response. FYI after clicking the option to install dev packages the 2nd and 3rd Polisy lights continued to flash. I waited ~30 minutes and then did a Polisy Reboot from the admin console. It booted successfully and then I installed the VUE node server.
Recommended Posts