How to use Dropbox in BionicPup32?

Booting, installing, newbie
Post Reply
Message
Author
PLPL
Posts: 10
Joined: Sun 03 May 2020, 13:20

How to use Dropbox in BionicPup32?

#1 Post by PLPL »

Hello again! I own bionicpup32 and was interested in installing the dropbox for linux, so I went to the dropbox website and downloaded the program in "deb" format. Then, I installed the program on my operating system and tried to run it. The program was not opening and soon after I realized that some dependency was missing. So I tried to open the program from the terminal by typing "dropbox" and a message "env: can't execute 'python3': No such file or directory" appeared. I realized that the dependency that was missing was "python version 3". So, here's my question: How to install python 3 on puppy linux? More precisely in bionicpup32. NOTE: I didn't find python 3 in ppm!

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#2 Post by Mike Walsh »

@ PLPL:-

Hello.....and Image to the 'kennels'.

Strictly speaking, you'd be better off asking about this on the Bionic32 thread. Peebee has developed this in a somewhat different way to most of the other recent Puppies, and its repos are kept in a totally different place.....I believe on Sourceforge, rather than Ibiblio. Personally, I don't know anything about it!

BionicPup32 (UPupBB) (18 April 2020)


Mike. :wink:

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#3 Post by peebee »

Mike Walsh wrote:Peebee has developed this in a somewhat different way to most of the other recent Puppies, and its repos are kept in a totally different place.....
Hi Mike

I'm afraid that is "fake news".......

The iso is available from both ibiblio and Sourceforge.........

The pet repos are on ibiblio as normal

The Ubuntu repos are on the Ubuntu servers again as normal

There are no repos on Sourceforge........

BionicPup32 is a Woof-CE build just like most "recent" Pups.........

Cheers
PeeBee
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

Re: Puppy Linux dependency

#4 Post by peebee »

PLPL wrote:How to install python 3 on puppy linux? More precisely in bionicpup32. NOTE: I didn't find python 3 in ppm!
Hi @PLPL

You're in new territory if you try to install Python3 on BionicPup32...........

You could try pkgs.org:
https://ubuntu.pkgs.org/18.04/ubuntu-ma ... 6.deb.html

but you may be descending into dependency h*ll !!

Requires
Name Value
libpython3.6-stdlib = 3.6.5-3
python3.6-minimal = 3.6.5-3

python3.6 is available via PPM:
python3.6_3.6.9-1|python3.6|3.6.9-1||Utility;development|328K|pool/main/p/python3.6|python3.6_3.6.9-1~18.04_i386.deb|+python3.6-minimal&eq3.6.9-1,+libpython3.6-stdlib&eq3.6.9-1,+mime-support|Interactive high-level object-oriented language version 3.6|ubuntu|bionic||
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#5 Post by Mike Walsh »

peebee wrote:
Mike Walsh wrote:Peebee has developed this in a somewhat different way to most of the other recent Puppies, and its repos are kept in a totally different place.....
Hi Mike

I'm afraid that is "fake news".......

The iso is available from both ibiblio and Sourceforge.........

The pet repos are on ibiblio as normal

The Ubuntu repos are on the Ubuntu servers again as normal

There are no repos on Sourceforge........

BionicPup32 is a Woof-CE build just like most "recent" Pups.........

Cheers
PeeBee
Yah; my bad, mate. I was getting muddled up between the ISOs and the pet packages.....and your packages are under 'upupbb', of course....

It's bleedin' confusing, like..! :lol: (You should be ashamed of yourself.... :P :P :D)

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#6 Post by rockedge »

lucky I have found through a tip I found on this forum to install from
ActiveState Python3.

This package puts a powerful working Python3 system on Bionic Puppy's

Here -> https://www.activestate.com/products/python/

Use the free version. One can add modules to the final Python build before download. Simply download, extract and run the install.sh. I use the defaults and add the path to the /etc/profile file.

I can also report good success with running pip3 and on my system python3 is used for object detection / recognition and X10 home automation programs to turn on, dim, bright, off lights around the house. All which worked practically out of the box as I wrote them the python3 was that complete.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#7 Post by Semme »

Of course there's always a member in the community that, for a given task, upholds the "beans on toast" philosophy.
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#8 Post by rockedge »

Hello Semme!

thanks for that link again....the script works well for me and I like the gui as well

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#9 Post by mikeb »

Ah ha... love the beans on toast quip..... actually now fancy a plateful.
I also made a web interface as well in a similar fashion as dropbox's system requirements are now absurd and their website likes google to spy on your private storage.
Enjoy
Mike

PLPL
Posts: 10
Joined: Sun 03 May 2020, 13:20

Re: Puppy Linux dependency

#10 Post by PLPL »

peebee wrote:
PLPL wrote:How to install python 3 on puppy linux? More precisely in bionicpup32. NOTE: I didn't find python 3 in ppm!
Hi @PLPL

You're in new territory if you try to install Python3 on BionicPup32...........

You could try pkgs.org:
https://ubuntu.pkgs.org/18.04/ubuntu-ma ... 6.deb.html

but you may be descending into dependency h*ll !!

Requires
Name Value
libpython3.6-stdlib = 3.6.5-3
python3.6-minimal = 3.6.5-3

python3.6 is available via PPM:
python3.6_3.6.9-1|python3.6|3.6.9-1||Utility;development|328K|pool/main/p/python3.6|python3.6_3.6.9-1~18.04_i386.deb|+python3.6-minimal&eq3.6.9-1,+libpython3.6-stdlib&eq3.6.9-1,+mime-support|Interactive high-level object-oriented language version 3.6|ubuntu|bionic||
Ok, I downloaded python 3.6 which was available in ppm. However, the dropbox does not execute, says that Python 3.6 is missing even though I installed it! I already restarted and still does not open. To see what was going on I typed "python" in the terminal and it appeared:

Python 2.7.17 (default, Nov 7 2019, 10:07:09)
[GCC 7.4.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.

Apparently python 2 is still the standard python. How do I set python 3.6 (which is already installed) as the default python?

User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

#11 Post by OscarTalks »

Try "python3" in terminal as your dropbox is probably looking for this name.
If it does not exist you might need to create a symlink named python3 to python3.6 in your /usr/bin directory.
Oscar in England
Image

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#12 Post by rockedge »

OscarTalks is correct. Some symlinks need to be made. Probably something like

Code: Select all

ln -s /usr/bin/python3.6 /usr/bin/python3

ndujoe1
Posts: 851
Joined: Mon 05 Dec 2005, 01:06

#13 Post by ndujoe1 »

Dropbox
Just my two cents worth.
I take the easier path rather then install a Dropbox interface that interacts in real time with your cloud space.

I have simply created a Dropbox account and log onto it and upload data when every I see fit, and download data for that matter.

PLPL
Posts: 10
Joined: Sun 03 May 2020, 13:20

#14 Post by PLPL »

I managed to make the dropbox recognize the new python! Now the problem is this:

NOTE: The dropbox is not opening from the menu.

root# dropbox
Dropbox command-line interface

commands:

Note: use dropbox help <command> to view usage for a specific command.

autostart automatically start Dropbox at login
exclude ignores/excludes a directory from syncing
filestatus get current sync status of one or more files
help provide help
lansync enables or disables LAN sync
ls list directory contents with current sync status
proxy set proxy settings for Dropbox
puburl get public url of a file in your Dropbox's public folder
running return whether Dropbox is running
sharelink get a shared link for a file in your Dropbox
start start dropboxd
status get current status of the dropboxd
stop stop dropboxd
throttle set bandwidth limits for Dropbox
update download latest version of Dropbox
version print version information for Dropbox
root# dropbox start
Starting Dropbox...
The Dropbox daemon is not installed!
Run "dropbox start -i" to install the daemon
root# dropbox start -i
Starting Dropbox...Traceback (most recent call last):
File "/usr/bin/dropbox", line 1452, in start
download()
File "/usr/bin/dropbox", line 294, in download
import gi
ModuleNotFoundError: No module named 'gi'
root# :(

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#15 Post by Semme »

Oh good, rockedge. What did you make of mikeb's comments?
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#16 Post by mikeb »

I supposed one criteria would be python 3 minimum reqirements for linux use.
It appeared they were also dropping windows 7 support.
Their web interface also demands very recent browsers.
Their apis which other alternatives use need only basic web access....hence simpler and much lighter.
Their web storage system is the same as it ever was with a minor change to how download links are generated.
Mike

Post Reply