google / loaner

Automated Chromebook loaner management
Apache License 2.0
169 stars 63 forks source link

Newbie trying to get this to work ~ FAILED: Build did NOT complete successfully (0 packages loaded) #112

Open joshcasper701 opened 3 years ago

joshcasper701 commented 3 years ago

Hello all!

I am trying to figure out to many things at once. Chrome GnG requires Linux or Mac. I don't know either. I'm trying my hand using Ubuntu.

I am 76% sure I followed the instructions correctly.

I am at this stage

bash deployments/deploy.sh web prod

I get this big error

x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -fdebug-prefix-map=/build/python2.7-QDqKfA/python2.7-2.7.18=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/MD2.c -o build/temp.linux-x86_64-2.7/src/MD2.o src/MD2.c:31:10: fatal error: Python.h: No such file or directory 31 | #include "Python.h" | ^~~~~~ compilation terminated. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1


Running setup.py clean for pycrypto Failed to build pycrypto ( Cache entry deserialization failed, entry ignored Failed building wheel for pycrypto ERROR: Failed to build one or more wheels ) INFO: Elapsed time: 2.923s INFO: 0 processes. FAILED: Build did NOT complete successfully (0 packages loaded) root@jcasper-OptiPlex-3046:/home/jcasper/loaner/loaner# bash loaner/deployments/deploy.sh web local bash: loaner/deployments/deploy.sh: No such file or directory

I am not sure how to move forward. Any words of advice?

Thank you!

Josh Casper

jjcasper commented 3 years ago

Hello,

I was able to figure this out.

pip uninstall pycrypto
pip install pycryptodome

This did the trick.