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

Install on Arch Linux #230

Open
firstdorsal opened this issue Feb 10, 2021 · 2 comments
Open

Install on Arch Linux #230

firstdorsal opened this issue Feb 10, 2021 · 2 comments

Comments

@firstdorsal
Copy link

Running on Arch Linux

i created following bash script to install it on arch linux
should be similar on ubuntu

install with yay or pacman
yay -S tk python-virtualenv

#!/bin/bash
wget https://www.python.org/ftp/python/3.8.7/Python-3.8.7.tar.xz
tar -xJf Python-3.8.7.tar.xz
rm Python-3.8.7.tar.xz
cd Python-3.8.7/
mkdir ../Python387bin
PWD= pwd
./configure --prefix=$PWD/../Python387bin
make -j8
make install
cd ..
virtualenv --python=./Python387bin/bin/python3 venv
source venv/bin/activate
python3 -m pip install -r requirements.txt

thank you very much for this project!

thank you for the help https://github.com/mvforell <3

please consider updating to python3.9 and creating some instructions for use on linux

following issue should be fixed too for 3.9:
replace array.array.tostring() with array.array.tobytes()
see googlesamples/assistant-sdk-python#418

@InTarDavid
Copy link

Hi, would you mind helping me installing it? I run into errors when I try to run the .py file
image

@Z3NOX
Copy link

Z3NOX commented Feb 15, 2022

Well it works on my side. There is a dependency missing in your case but since you havn't posted steps in between it is difficult to guess why. The script is designed to be run in the git directory of Sony-PMCA-RE since the very last step should install the requirements from "requirements.txt" in the git directory of this repo. So with some steps before the original script this fits in my case:

cd /tmp           # the directory here is arbitrary
git clone https://github.com/ma1co/Sony-PMCA-RE.git
cd Sony-PMCA-RE

# now come the script's steps:
wget https://www.python.org/ftp/python/3.8.7/Python-3.8.7.tar.xz
tar -xJf Python-3.8.7.tar.xz
rm Python-3.8.7.tar.xz
cd Python-3.8.7/
mkdir ../Python387bin
PWD= pwd
./configure --prefix=$PWD/../Python387bin
make -j8
make install
cd ..
virtualenv --python=./Python387bin/bin/python3 venv
source venv/bin/activate
python3 -m pip install -r requirements.txt

# finally you run the application right from this directory
python pmca-gui.py

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

3 participants