RoboScan icon indicating copy to clipboard operation
RoboScan copied to clipboard

I am not able to install Roboscan

Open ghost opened this issue 3 years ago • 8 comments

At the end the installation seems to stop:

  Building wheel for numpy (PEP 517): started
  Building wheel for numpy (PEP 517): still running...
  Building wheel for numpy (PEP 517): still running...
  Building wheel for numpy (PEP 517): still running...

I waited several hours before rebooting. After the installation I cant access the web-interface. I reinstalled the OS and tried it again and got the same problem.

I attached the Logfile of the installation. Would be a great help :-) I love analog photography and this scanner would be a game changer for me and my friends :-)

Thanks a lot!

ROBOSCAN_LOG.txt

ghost avatar Feb 04 '22 17:02 ghost

Hello! From the logs, it seems to be compiling numpy. For the combination of CPU/OS/Python, there's no precompiled package, so it has to compile entirely. It takes a couple more hours.

bezineb5 avatar Feb 04 '22 20:02 bezineb5

it was compiling for six hours or more. Now I upgraded pip and I am trying it again. Thank you very much :-)

ghost avatar Feb 04 '22 21:02 ghost

It depends on which device you use, but yes, it can take many hours. The front-end building also takes a lot of time as it needs a lot of memory. It is useless to update pip - only the version which is in the container is used, which is not the one you're using. I'm trying to updgrade versions to see if it's better, but it won't have finished until tomorrow I guess.

bezineb5 avatar Feb 04 '22 21:02 bezineb5

thank you! I will let it compile over night :-) I am using an Raspberrypi 3 model a. May I buy a newer one?

ghost avatar Feb 04 '22 21:02 ghost

No need to buy a new one, the compilation is only done once. Just leave it overnight and look again tomorrow!

bezineb5 avatar Feb 04 '22 21:02 bezineb5

I'm using a 3B+, it's also slow but seems faster than yours, most probably because of the larger memory.

bezineb5 avatar Feb 04 '22 21:02 bezineb5

So, I've been trying to rebuild it on my on RPi3B+, and I couldn't build the Javascript part, so I changed strategy:

  • I committed the compiled javascript to the git repository. Not the best practice, but efficient when dealing with Raspberry Pis.
  • I pushed the pre-built docker images to Docker Hub. Which mean that if you git pull the repository and do:
cd docker
docker-compose up -d

It should just download the images and run directly.

Please note that I didn't manage to make a full test, as my RoboScan suffered from a move :D

bezineb5 avatar Feb 05 '22 13:02 bezineb5

thank you SO much! I am giving it a try :-) Fingers crossed

ghost avatar Feb 06 '22 17:02 ghost