zendalona / lios

Linux-intelligent-ocr-solution
GNU General Public License v3.0
134 stars 33 forks source link

error: could not create '/usr/local/lib/python3.6/dist-packages/lios': Permission denied #12

Closed mozgbrasil closed 2 years ago

mozgbrasil commented 4 years ago

Hello, good morning my friends

@Nalin-x-Linux @LAfricain @balazsszalab

Can you help me with this occurrence, I am following the installation process as images

Captura de tela de 2020-01-17 13-17-51 Captura de tela de 2020-01-17 13-18-01

cibersheep commented 4 years ago

I think you are trying to install LIOS in /usr without sudo. That's why the permissions error

mozgbrasil commented 4 years ago

@cibersheep

Hello

In the documentation on

https://github.com/Nalin-x-Linux/lios-3#installing

We don't see the instruction to use "sudo"

I also see in some posts that the use of "sudo" is not recommended

Maybe I should apply some support in my environment I will search further, thanks anyway

LAfricain commented 4 years ago

You can use my ppa, it's easier. And on gitlab you have more activities. If you want to translate it in Spanish, it would be great! I can add it to my deb on the ppa.

mozgbrasil commented 4 years ago

Hello

@LAfricain

I install lios via ppa

I live in Brazil and my fluent language is Portuguese from Brazil

I can translate into my language

I already have this repository on gitlab

https://gitlab.com/mozgbrasil

And I have this account on the launchpad

https://launchpad.net/~mozgbrasil

Captura de tela de 2020-01-17 18-43-32 Captura de tela de 2020-01-17 18-47-51

cibersheep commented 4 years ago

@cibersheep [...] In the documentation on https://github.com/Nalin-x-Linux/lios-3#installing

You might tell to the installer that the target is in your user folder tree

python3 setup.py install --install-data=~/[some/folder/under/documents] the ~ indicates home folder. Just need to replace [some/folder/under/documents] for a folder you have in your home

I also see in some posts that the use of "sudo" is not recommended

True, normally is not recommended. I was pointing I think was the error. Trying to install in a system folder (/usr) without sudo privileges :)

LAfricain commented 4 years ago

I already have this repository on gitlab

Okay, then just fork the master LIOS branch on gitlab,clone it in your computer, and create a new pt_BR.po file in the po folder, and translate it. After ask for a merge request. I will add it to the launchpad package. I just open a ticket on gitlab. We can work on it together if you have questions