Victrid / splatplost

A software-based SplatPost plotter.
GNU General Public License v3.0
191 stars 18 forks source link

Raspberry Pi have latest scipy version of 1.8.1 #34

Open Victrid opened 1 year ago

Victrid commented 1 year ago

Hi :D After reading the above suggestions, I change my device to the raspberry 4B+,but while intsall the splatplost,I get trouble with the dependency conflict :( How should I do to deal with it Thank u very much :)))) ID7_44Q65VSV0O{43LH{VO6

Originally posted by @windfall617 in https://github.com/Victrid/splatplost/issues/30#issuecomment-1242877313

Victrid commented 1 year ago

I see scipy 1.9.1 requires minimum python version 3.8. Maybe it causes this problem. What's the version of Python on raspi?

lgorinator commented 1 year ago

Apologies for jumping on that other ticket, was just excited...if that is the right word, that I was not the only one having this issue. I just confirmed my python version is 3.9.2. (Raspberry Pi Zero W - Raspbian after fresh install and apt-get update ). I was able to get scipy to run 1.8.1, but it wont install 1.9.1. Is there anything in the version 1.9.1 that is specifically needed for your project? Any way to reduce the dependency down to an earlier version?

lgorinator commented 1 year ago

It seems it doesn't like the pip install. I was able to get the newest version of scipy to install with the below cmd

sudo apt update sudo apt install -y python3-scipy

Now, I have scipy, I am getting another error for PyQt6. Trying to install that manually now.

Victrid commented 1 year ago

There is a problem that this software requires python 3.10…

Maybe you need to use some virtual environment like virtual env.

It seems it doesn't like the pip install. I was able to get the newest

version of scipy to install with the below cmd

sudo apt update sudo apt install -y python3-scipy

Now, I have scipy, I am getting another error for PyQt6. Trying to install that manually now.

— Reply to this email directly, view it on GitHub https://github.com/Victrid/splatplost/issues/34#issuecomment-1243955053, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJPRUJFKUWREX7R6KOHQSMDV55HYHANCNFSM6AAAAAAQKFAOPA . You are receiving this because you authored the thread.Message ID: @.***>

-- 蒋圩淏 @. @.

windfall617 commented 1 year ago

So I still can't really understand totally about how to istall the splatplost on the raspi = = emmmmm How should I do firstly ? :))))

Victrid commented 1 year ago

So I still can't really understand totally about how to istall the splatplost on the raspi = = emmmmm How should I do firstly ? :))))

@windfall617 Pyenv guide: install a python 3.10 on your raspi

You may need to follow "Installing pyenv", "Using pyenv to Install Python", "Virtual Environments and pyenv", activate the virtual environment afterwards.

Then install splatplost by pip following the readme.md.

Sometimes it could be a problem to run graphics with sudo, if you meet this, use

sudo -E bash

to get a root shell with DISPLAY variable set.

lgorinator commented 1 year ago

i followed the steps listed above. installed a v.e running python 3.10.7 attempted to install while running this and got the same error as before.

image

image

Victrid commented 1 year ago

@lgorinator What is your raspberry pi version? Let me see if I can build an image like the flashable one on x86.

lgorinator commented 1 year ago

Its a Raspberry Pi Zero W

image

Rainsting commented 1 year ago

I have the same question here, I also cannot install PyQt6 at raspi (under pyenv environment), and found a discussion why PyQt5/6 is uninstallable in any Raspberry Pi OS at here: https://forums.raspberrypi.com/viewtopic.php?t=336208

Could you kindly provide the full install guide that how to install splatplost at raspi 4?

Thanks a lot!

Victrid commented 1 year ago

@Rainsting

I have the same question here, I also cannot install PyQt6 at raspi, and found a discussion why PyQt5/6 is uninstallable in any Raspberry Pi OS at here: https://forums.raspberrypi.com/viewtopic.php?t=336208

Could you kindly provide the full install guide that how to install splatplost at raspi 4?

Thanks a lot!

I've come out a solution (by remote controlling) and now entering the testing state. I'll update the docs when its applicable.