We have upgraded the community system as part of the upgrade a password reset is required for all users before login in.

Is there an OmegaExpansion for Python3 yet?



  • Hello. Any news of OmegaExpansion for Python3?

    I need I2C for python 3...in 2018 no one should be developing in python 2....

    Need Help. Thank you.



  • Hey. An update was recently released in which Onion added support for all Python2 modules for Python3: https://onion.io/2bt-python3-modules/
    Try to enter

    opkg install python3-onioni2c
    


  • @CAP-33 said in Is there an OmegaExpansion for Python3 yet?:

    opkg install python3-onioni2c

    Hi . Thank you for the info, but I get this error:

    Unknown package 'python3-onioni2c'.
    Collected errors:

    • opkg_install_cmd: Cannot install package python3-onioni2c.

    Do you have an Idea of what Im doing wrong? Thank you



  • try python3-onion-i2c however if you just did the onion python3 install that file is probably up to date but check it anyway.



  • @Juan-Pablo-Jimenez wanted to know Is there an OmegaExpansion for Python3 yet?:
    Yes, there are some Python3 packages also for Omega Expansions.
    Please read this 2-Bullet Tuesday article: Modernize your Development with Python3

    We have yet another great update for you this month with the introduction of Python3 compatible versions of our Python modules!
    2018-09-11

    oupgrade -v
    opkg update
    opkg list | grep ^python3

    root@Omega-99A5:/# oupgrade -v
    > Device Firmware Version: 0.2.1 b199
    
    root@Omega-99A5:/# opkg update
    ...
    
    root@Omega-99A5:/# opkg list | grep ^python3
    python3 - 3.6.0-2 - This package contains the (almost) full Python install. It's python3-light + all other packages.
    python3-adc-exp - 0.3-2 - Python3 module to interact with Onion ADC Expansion
    python3-asyncio - 3.6.0-2 - Python 3.6 asyncio module
    python3-base - 3.6.0-2 - This package contains only the interpreter and the bare minimum for the interpreter to start.
    python3-codecs - 3.6.0-2 - Python 3.6 codecs + unicode support
    python3-ctypes - 3.6.0-2 - Python 3.6 ctypes module
    python3-dbm - 3.6.0-2 - Python 3.6 dbm module
    python3-decimal - 3.6.0-2 - Python 3.6 decimal module
    python3-dev - 3.6.0-2 - Python 3.6 development files
    python3-distutils - 3.6.0-2 - Python 3.6 distutils module
    python3-email - 3.6.0-2 - Python 3.6 email module
    python3-gdbm - 3.6.0-2 - Python 3.6 gdbm module
    python3-lib2to3 - 3.6.0-2 - Python 3.6 lib2to3 module
    python3-light - 3.6.0-2 - This package is essentially the python3-base package plus a few of the rarely used (and big) libraries stripped out into separate packages.
    python3-logging - 3.6.0-2 - Python 3.6 logging module
    python3-lzma - 3.6.0-2 - Python 3.6 lzma module
    python3-multiprocessing - 3.6.0-2 - Python 3.6 multiprocessing
    python3-ncurses - 3.6.0-2 - Python 3.6 ncurses module
    python3-oled-exp - 0.8-1 - Python3 module to control the Onion OLED Expansion
    python3-omega-expansion - 0.8-1 - Setup for OmegaExpansion Python3 Package
    python3-onion-i2c - 0.8-1 - Python3 module that implements I2C transactions
    python3-openssl - 3.6.0-2 - Python 3.6 SSL module
    python3-pip - 8.1.2-1 - A tool for installing and managing Python 3.6 packages.
    python3-pwm-exp - 0.8-1 - Python3 module to control the Onion PWM Expansion
    python3-pydoc - 3.6.0-2 - Python 3.6 pydoc module
    python3-relay-exp - 0.8-1 - Python3 module to control the Onion Relay Expansion
    python3-setuptools - 27.2.0-1 - Easily download, build, install, upgrade, and uninstall Python 3.6 packages
    python3-sqlite3 - 3.6.0-2 - Python 3.6 sqlite3 module
    python3-unittest - 3.6.0-2 - Python 3.6 unittest module
    python3-xml - 3.6.0-2 - Python 3.6 xml libs
    


  • This post is deleted!


  • @Douglas-Kryder thank you. I was missing python3-omega-expansion and python3-onion-i2c



  • @György-Farkas thank you. I was missing python3-omega-expansion and python3-onion-i2c


Log in to reply
 

Looks like your connection to Community was lost, please wait while we try to reconnect.