• SmartGoat

    hey everyone, I'm wondering if it is possible to install pytorch in pythonista cause the only dependencies are respectively numpy (already in pythonista) and pillow which, as i read, is pure python.
    To install pytorch, you need to install 2 modules: torchvision and torch. Torchvision install itself without problems, but torch isn't found in pip stash:

    [~/Documents]$ pip install torch
    Querying PyPI ... 
    Error: Source distribution not available for torch: 1.0.0
    

    which is strange because this is the command given by the official site for installing it on MacOS.
    Also, I can't install Pillow because of this other error:

    [~/Documents]$ pip install pillow
    Querying PyPI ... 
    Downloading package ...
    Opening: https://files.pythonhosted.org/packages/f7/d6/00368fe7f9acb9454ba5a75a1edda97b7ee9cfe399af4acb6489466be37e/Pillow-5.4.0.tar.gz
    
    Save as: /private/var/mobile/Containers/Data/Application/89F819E6-6ADB-4FBD-B2AC-889B8BDFCBA3/tmp//Pillow-5.4.0.tar.gz (15929265 bytes)
      15929265  [100.00%]
    Extracting archive file ...
    Archive extracted.
    Running setup file ...
    TypeError("unsupported operand type(s) for +: 'OmniClass' and 'list'",)
    Failed to run setup.py
    Fall back to directory guessing ...
    Error: Cannot locate packages. Manual installation required.
    

    Does anyone have an idea ? it would be really interesting to dive in cause pytorch seems to be the only package which can provide high level deep learning/data science with pure python....
    Thanks in advance for help !

    posted in Pythonista read more
  • SmartGoat

    Thanks @cvp, last question (maybe):
    Is it possible to use SceneKit in the Scene module or only in ui ?

    posted in Pythonista read more
  • SmartGoat

    Thanks @cvp for this, now I know we can import files and load them in pythonista. Although, I encounter a problem of shader rendering with original @omz example:
    [http://imgur.com/D2OOKtE]
    Does anyone know how to fix it ?
    Thanks in advance

    posted in Pythonista read more
  • SmartGoat

    Hi everyone, I’m wondering about potentially create a game in 3D with Pythonista, and after some researchs I saw that it was possible to import SceneKit in objC. I have some questions:

    1. how can I use this objC module in pythonista ? Cause I Didn’t understood anything from @omz 3D exemple which is 2 years old...
    2. can I import blender objects or so with this module ?
    3. if not, is there any other way/module to do 3D in pythonista ?
    4. Is it hard to make my own 3D engine ? Which base knowledge do I need to make it ?

    Thanks in advance for all of your answers, and Happy New Year !

    posted in Pythonista read more
  • SmartGoat

    Wait, two questions:

    1. Is Working Copy able to detect iCloud Drive files changes to commit it in github ?
    2. if yes, why not putting your Pythonista files directly in the iCloud Drive folder of Pythonista ?

    posted in Pythonista read more
  • SmartGoat

    Thank you, i’m gonna try it out soon

    posted in Pythonista read more
  • SmartGoat

    hey everyone,
    I want to include a new developper in a Pythonista project, what’s the best way to work together at the same scripts ? Cuz there is github, but modifying the same git with an iPad is awfully long....
    Thanks in advance

    posted in Pythonista read more
  • SmartGoat

    Sorry @Satri, got difficulties with creating a macos virtual image to get a f*cking access to Xcode, so I didn’t try it for now; but I’ll of course publish my results once I get them !

    posted in General Discussion read more
  • SmartGoat

    Hey everyone, I installed scapy with Stash/pip but cannot import it in my projects because of this bug, which is already resolved (seen in a github discussion), so I don’t know how to solve it if it would already be solved at this version of scapy (2.4.0):

    >>> from scapy.all import *
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/mobile/Containers/Shared/AppGroup/D48F6FDD-3F34-40EB-9497-17B2560BB120/Pythonista3/Documents/site-packages-3/scapy/all.py", line 25, in <module>
        from scapy.route import *
      File "/private/var/mobile/Containers/Shared/AppGroup/D48F6FDD-3F34-40EB-9497-17B2560BB120/Pythonista3/Documents/site-packages-3/scapy/route.py", line 191, in <module>
        conf.route=Route()
      File "/private/var/mobile/Containers/Shared/AppGroup/D48F6FDD-3F34-40EB-9497-17B2560BB120/Pythonista3/Documents/site-packages-3/scapy/route.py", line 27, in __init__
        self.resync()
      File 
    "/private/var/mobile/Containers/Shared/AppGroup/D48F6FDD-3F34-40EB-9497-17B2560BB120/Pythonista3/Documents/site-packages-3/scapy/route.py", line 34, in resync
        from scapy.arch import read_routes
    ImportError: cannot import name 'read_routes'
    

    Thanks in advance for help

    posted in Pythonista read more
  • SmartGoat

    I am a high school student working on a game project (with friends) with Pythonista and really liked the the easy-to-use modules for ui, images window, etc... They’re much easier to manipulate than PC alternatives like tkinter or pygame. Also it’s interesting to do a coding startup on Pythonista because of the more and more use of tablets. Unfortunately, I can’t give you anything but my (little) experience, so if you have some technical questions I could answer you.
    Cordially,
    The Goat

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!