WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: python error  (Read 5509 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14544
Re: python error
« Reply #30 on: April 01, 2020, 07:49:56 AM »
Which windows file are you trying to run - maybe there is a linux equivalent?

Offline Aladin

  • Newbie
  • *
  • Posts: 40
Re: python error
« Reply #31 on: April 01, 2020, 08:16:55 AM »
I try to convert .py to .exe and put it in the sd card

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11220
Re: python error
« Reply #32 on: April 01, 2020, 09:58:41 AM »
Hi Aladin
Run it under Windows, run it under  WINE , or find a Linux version of what you are trying to run. WINE is not available for piCore and
is likely too resource intensive to run on piCore.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14544
Re: python error
« Reply #33 on: April 02, 2020, 01:05:34 AM »
when i install piCore 11.x 
how can i install wifi ?
tce-load -wi wifi
error on wifi.tcz

how to solve it

wifi should work with piCore 11.x armv7 now:

Code: [Select]
$ cat /proc/cpuinfo | grep Model
Model           : Raspberry Pi 3 Model B Rev 1.2

$ version
11.0beta1a

$ tce-load -wil firmware-rpi-wireless
$ tce-load -wil wireless-KERNEL
$ dmesg | tail -15
...
[ 3737.522708] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 3737.543585] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 3737.543692] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 3737.543698] cfg80211: failed to load regulatory.db
[ 3737.556288] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
[ 3737.560204] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 3737.560365] usbcore: registered new interface driver brcmfmac
[ 3737.751547] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 3737.751621] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[ 3737.752178] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Oct 23 2017 03:55:53 version 7.45.98.38 (r674442 CY) FWID 01-e58d219f

$ rfkill list
0: phy0: wlan
        Soft blocked: no
        Hard blocked: no

$ tce-load -wil wifi
$ sudo wifi.sh

Select Wifi Network

    ESSID                         Enc   Qual    Channel Type           
 1. juanitonet                         on    70       8     WPA

Enter selection ( 1 - 1 ) or (q)uit: 1
Enter password for juanitonet (8 to 63 characters): **********
Sending credentials to requested access point juanitonet..
deleting routers
adding dns 8.8.8.8
adding dns 8.8.4.4
« Last Edit: April 02, 2020, 01:08:51 AM by Juanito »

Offline Aladin

  • Newbie
  • *
  • Posts: 40
Re: python error
« Reply #34 on: April 02, 2020, 02:28:42 AM »
How to get executable file working in linux

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14544
Re: python error
« Reply #35 on: April 02, 2020, 02:46:43 AM »
Code: [Select]
$ chmod +x file_name