Puppy linux python3 install

Puppy Linux Discussion Forum

1) Install Miniconda followed by a few additional packages using the conda tool. They don’t list any dependencies.

2) Install Activestate python followed by any additional packages using pip. However it needs Glibc 2.3 (& gcc4 forNumpy)

(PPM lists python2.7, I want python3)

Quirky7 only has glibc2.2 (&no gcc)

So it looks like miniconda is the way to go. Any suggestions or comments?

Both put everythong in one folder.
Would it be best to put the folder on the hd, outside the savefile?

PS
Using laptop i3 2.1 mhz and 4gb
The os. is on dvd and the savefile on hdd. The hdd still has windows7.
Im using april64-7.0.1F-uefi — the lightweight version of quirky7

rockedge Site Admin Posts: 4285 Joined: Mon Dec 02, 2019 1:38 am Location: Connecticut,U.S.A. Has thanked: 862 times Been thanked: 1246 times Contact:

Re: Installing Python 3

Post by rockedge » Mon Jan 04, 2021 1:26 pm

I use ActiveState’s python 3 packages. I use python for object / face detection and recognition. Along side ZoneMinder is the zmeventnotification server that provides the object detection. Also opencv is a big player and I use the python bindings for that. ZMES is written in PERL and PYTHON.
I have python 2.7 and python 3.8 running side by side. I have switches and controllers for X10 systems that I wrote for 2.7 and have not ported them to 3.XX yet. These turn lights on and off around the house and do wireless motion detection with X10 IR motion sensors.

I sometimes place the ActiveState python in /opt, but in most cases I place the python3 directory outside of the OS’s filesystem.

There are some symlinks that I add to integrate the ActiveState python into the Puppy Linux’s $PATH. I add the path to python3 in /etc/profile to adjust the environment variables.

wiak Posts: 2916 Joined: Tue Dec 03, 2019 6:10 am Location: Packing — big job Has thanked: 38 times Been thanked: 577 times Contact:

Re: Installing Python 3

Post by wiak » Mon Jan 04, 2021 2:49 pm

rockedge wrote: ↑ Mon Jan 04, 2021 1:26 pm

These turn lights on and off around the house and do wireless motion detection with X10 IR motion sensors.

I’d be scared to visit your house rockedge. It sounds too intelligent and I hope you don’t have any guns firing if it recognises my face like alone shining a light on it.

Читайте также:  Linux скриншот части экрана

rockedge Site Admin Posts: 4285 Joined: Mon Dec 02, 2019 1:38 am Location: Connecticut,U.S.A. Has thanked: 862 times Been thanked: 1246 times Contact:

Re: Installing Python 3 on Quirky7 lite

Post by rockedge » Mon Jan 04, 2021 4:05 pm

All the cameras really don’t «look» at anything with security in mind and my goal has been to detect mice and individually identify my cats by face recognition. I’ve been trying to get my basement camera to detect and identify a mouse in IR night vision since the basement is pitch black most of the time, for months now.

X10 is «ancient» technology making all the components dirt cheap which goes right along with the dumpster and free on the roadside computers I use to run this stuff.

Come to think of it I have some really high tech efficient and effective camera security systems running for no real reason at all other than it’s a fun hobby and to see if I can do it as well as the «pros».

Like running an OS with a Zoneminder system from a USB stick, a portable personal network camera security system on an 8 gig flash drive that also is a lean and mean network video recorder, complete from operating system to all the needed servers all on the stick. But who would use such a beast and is it at all practical? Probably very few and no, not really.

Источник

Puppy linux python3 install

Does anyone know how to install/configure a working python 3 with Pip on puppy?

I installed (all through the package manager) python 3.7 successfully before I realized 3.6 was already installed. both are working and functioning.

root# python3.6 -V
Python 3.6.8

root# python3.7 -V
Python 3.7.3

root# pip3 -V
pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)

So that leads me to believe Python3.6 should install packages with pip3. But when I try:

root# pip3 install requests
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting requests
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(«Can’t connect to HTTPS URL because the SSL module is not available.»,)’: /simple/requests/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(«Can’t connect to HTTPS URL because the SSL module is not available.»,)’: /simple/requests/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(«Can’t connect to HTTPS URL because the SSL module is not available.»,)’: /simple/requests/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(«Can’t connect to HTTPS URL because the SSL module is not available.»,)’: /simple/requests/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(«Can’t connect to HTTPS URL because the SSL module is not available.»,)’: /simple/requests/
Could not find a version that satisfies the requirement requests (from versions: )
No matching distribution found for requests

Читайте также:  Изменить фон linux mint

I’ve tried googling the problem, but everything I come up with is for more traditional flavors of linux and without sudo apt get. I am entirely lost.

Does anyone know how to get pip working on python3?

Источник

Puppy Linux Discussion Forum

I’m trying to install python3 to my laptop with bionicpup32.

I downloaded python3.x.x package through ppm, but after the installation, I can’t find python3 executable.

What can be the problem? Maybe there’s no 32-bit version of python3?

OscarTalks Posts: 486 Joined: Tue Jul 14, 2020 10:11 pm Location: London UK Has thanked: 1 time Been thanked: 155 times

Re: Python3 installation

Post by OscarTalks » Fri May 28, 2021 11:42 pm

Type which python3 in terminal and it should tell you where the python3 executable is. Normally /usr/bin/python3 but that will probably be a symlink to an executable with python3xxx (some more numbers on the end). If the symlink is missing you can create it. There is a 32bit version and PPM should have told you if the installation was successful or not.

EDIT:- I just booted into a fresh BionicPup32 and installed python3-3.6.7-1 via PPM to test. The executable symlink for python3 is missing, but python3.6 is there in /usr/bin so just right click on that and select «Link» and name the created link as python3

Re: Python3 installation

Post by Bbllaaddee » Fri May 28, 2021 11:59 pm

Well, which python3 gives nothing..
And I searched in /usr/bin/ and there’s no python3.8 there.

If I «`ls | grep py«` in /usr/lib gives only those: dh_python2, pydoc, pydoc3.8 pygettext2.7 pygettext3.8 python python2.7 etc.

No actual interpreter there.

I installed it via ppm, package python3.8_3.8.0-3, installation went successful as was said by ppm.

OscarTalks Posts: 486 Joined: Tue Jul 14, 2020 10:11 pm Location: London UK Has thanked: 1 time Been thanked: 155 times

Re: Python3 installation

Post by OscarTalks » Sat May 29, 2021 12:03 am

Ah OK, so you installed the later version of python3 in which case the executable will be /usr/bin/python3.8 so just create the python3 symlink as a link to that. If it is not there that is strange, maybe try uninstalling and install the 3.6 package instead.

Источник

Puppy Linux Discussion Forum

How do you install python 3 using the puppy pet manager?

How do you install python 3 using the puppy pet manager?

Post by Lassar » Tue Nov 16, 2021 7:18 pm

How do you install python 3 using the puppy pet manager?

Phoenix Posts: 309 Joined: Fri Feb 12, 2021 2:03 am Location: Canada Has thanked: 4 times Been thanked: 44 times

Читайте также:  Running linux on android devices

Re: How do you install python 3 using the puppy pet manager?

Post by Phoenix » Wed Nov 17, 2021 4:08 am

You can merely search up the package name, in this case its named ‘python3’.
If it doesn’t exist however, you can build it yourself with the relevant devx sfs.
Just download, untar, possibly run ./configure, and then make && make install.

IRC: firepup | Time to hack Puppy!

Re: How do you install python 3 using the puppy pet manager?

Post by legobreath » Thu Nov 18, 2021 8:37 pm

In my PPM (bionicpup64), it appears as python3-all_3.6.7-1. I imagine you have something like this if not the exact same package.

Just click and «Do it!» Much eaiser and more complete than churning through the source.

  • General Information
  • ↳ Before Installing Puppy, README FIRST
  • ↳ Getting Started and System Requirements
  • ↳ Internationalization
  • Distributions
  • ↳ Mainline Puppy Linux Distros
  • ↳ Bionic
  • ↳ Bookworm Pup64,
  • ↳ DPupStretch
  • ↳ F96-CE
  • ↳ Fossapup64
  • ↳ LxPupSc
  • ↳ Raspbian Buster
  • ↳ Slacko
  • ↳ SPups
  • ↳ Tahr
  • ↳ Vanilla Dpup
  • ↳ VoidPup
  • ↳ Xenial
  • ↳ Legacy
  • ↳ Kennel Linux
  • ↳ KLV-Airedale
  • ↳ KLA
  • ↳ KLU-jam
  • ↳ KLV-Spectr
  • ↳ KL-Dev_Work
  • ↳ How-To
  • ↳ Puppy Derivatives
  • ↳ Re-masters
  • ↳ Specialized
  • ↳ Built from woof-CE Recipes
  • ↳ F96CE-XFCE-FUSILLI
  • ↳ Distributions Archive
  • House Training
  • ↳ Announcements
  • ↳ Beginners Help
  • ↳ Users
  • ↳ Bug Reports
  • ↳ Instructional HOW-TO Section
  • ↳ Boot
  • ↳ Browsers
  • ↳ Compile
  • ↳ F96-CE+
  • ↳ File Management
  • ↳ Graphics/Video
  • ↳ Install
  • ↳ Network/Server
  • ↳ Repair
  • ↳ Security
  • ↳ Sounds
  • ↳ Tips & Tweaks
  • ↳ Upgrade/Backup
  • ↳ Utility
  • Advanced Topics
  • ↳ Additional Software (PETs, n’ stuff)
  • ↳ AppImages, Snaps and Flatpaks
  • ↳ Browsers and Internet
  • ↳ Business
  • ↳ Compiling
  • ↳ Desktop
  • ↳ Documents
  • ↳ Drivers
  • ↳ Educational
  • ↳ Emulation
  • ↳ Engineering/Science/Simulation
  • ↳ Eye Candy
  • ↳ Backgrounds
  • ↳ Filesystem
  • ↳ Games
  • ↳ Graphics
  • ↳ Java
  • ↳ Kernels
  • ↳ Multimedia
  • ↳ Network
  • ↳ Package Collections/Repositories
  • ↳ REQUESTS
  • ↳ Security/Privacy
  • ↳ System
  • ↳ Utilities
  • ↳ Virtualization
  • ↳ WINE
  • ↳ WINE 64 BIt
  • ↳ WINE 32 Bit
  • ↳ Puppy Projects
  • ↳ Cutting Edge
  • ↳ Hardware
  • ↳ Servers
  • ↳ woof-CE
  • ↳ Programming
  • ↳ Scripts
  • ↳ Development
  • Dog House
  • ↳ DebianDogs
  • ↳ UbuntuDogs
  • EasyOS
  • FatDog
  • ↳ FatDog64
  • ↳ Software
  • Dog Incubator
  • ↳ dCoreDog
  • ↳ Corepup
  • Puppy Linux International
  • ↳ Für deutschsprachige Anhänger
  • ↳ Italian Puppy Linux Forum
  • ↳ Pour les francophones
  • ↳ Usuarios de habla Hispana
  • ↳ Standard Chinese Language PET’s
  • ↳ Russian — Россия
  • Off-Topic Area
  • ↳ Security
  • ↳ Forum Organization & Structure Council
  • ↳ Other Distros
  • ↳ FirstRib (old archived info)
  • ↳ ForumLink
  • ↳ About
  • ↳ Announcements
  • ↳ HowTo
  • ↳ Software
  • ↳ Beginners
  • ↳ Users
  • ↳ Programming
  • ↳ Bug_Reports
  • ↳ Blog
  • ↳ Comparisons

Powered by phpBB® Forum Software © phpBB Limited

Источник

Оцените статью
Adblock
detector