Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pyinstaller
#11
I found a video on youtube, hope this helps you
pyzyx3qwerty
"The greatest glory in living lies not in never falling, but in rising every time we fall." - Nelson Mandela
Need help on the forum? Visit help @ python forum
For learning more and more about python, visit Python docs
Reply
#12
It's a okay video @pyzyx3qwerty,but it has nothing to do with the error he get.
He has to fix the Python build on his Linux distro,so it has Python shared libraries,or Pyinstaller want work at all.
Reply
#13
Well, how about this - a site which explains about Pyinstaller on linux specifically
https://docs.python.org/3/using/unix.html
pyzyx3qwerty
"The greatest glory in living lies not in never falling, but in rising every time we fall." - Nelson Mandela
Need help on the forum? Visit help @ python forum
For learning more and more about python, visit Python docs
Reply
#14
(May-24-2020, 10:20 AM)pyzyx3qwerty Wrote: Well, how about this - a site which explains about Pyinstaller on linux specifically
https://docs.python.org/3/using/unix.html
No there is no mention of Pyinstaller there at all Wink
That just a normal build and without --enable-shared ,so that would give same problems with using Pyinstaller.

The point is that most build with ./configure --enable-shared.
These two show how to build with --enable-shared .
Python 3 from source, Build and Install Python 3.7 on Ubuntu/Debian

Or can use pyenv as i showed.
PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install 3.8.3
So a other option as talked about is trying to fix his already build Python version,so it find these shared libraries.
As mention search for solution on his distro.
libpython3.7.so.1.0, libpython3.7mu.so.1.0, libpython3.7m.so, libpython3.7m.so.1.0
Reply
#15
okay, i wanted to install pyenv through the automatic pyenv installer and got the following output:

Output:
tal@tal-HP-Notebook:~$ curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 148 100 148 0 0 245 0 --:--:-- --:--:-- --:--:-- 245 100 2454 100 2454 0 0 1773 0 0:00:01 0:00:01 --:--:-- 2396k WARNING: Can not proceed with installation. Kindly remove the '/home/tal/.pyenv' directory first.
i don't know how to safely remove this directory

what do you suggest
Reply
#16
How to safely install pyenv on linux
How to install pyenv on mac
How to install pyenv on windows
I don't know what do you use so I had to post the three
pyzyx3qwerty
"The greatest glory in living lies not in never falling, but in rising every time we fall." - Nelson Mandela
Need help on the forum? Visit help @ python forum
For learning more and more about python, visit Python docs
Reply
#17
when i use the command git clone https://github.com/pyenv/pyenv.git $HOME/.pyenv it gives me the following output:

Output:
git clone https://github.com/pyenv/pyenv.git $HOME/.pyenv fatal: destination path '/home/tal/.pyenv' already exists and is not an empty directory. tal@tal-HP-Notebook:/home$
how the directory already exits i don't know, maybe i did something beforehand.
i use linux ubuntu 16.04
Reply
#18
Well it shows that pyenv already exists
pyzyx3qwerty
"The greatest glory in living lies not in never falling, but in rising every time we fall." - Nelson Mandela
Need help on the forum? Visit help @ python forum
For learning more and more about python, visit Python docs
Reply
#19
how the directory already exits i don't know, maybe i did something beforehand.
i use linux ubuntu 16.04

i don't think i have it installed yet
when i type pyenv it says pynev: command not found
Reply
#20
How to install pynev on linux ubuntu 16.04
Just go through this and check if you have done any of the following steps
pyzyx3qwerty
"The greatest glory in living lies not in never falling, but in rising every time we fall." - Nelson Mandela
Need help on the forum? Visit help @ python forum
For learning more and more about python, visit Python docs
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020