banananas
banananas
Explore posts from servers
MModular
Created by banananas on 9/15/2024 in #questions
Setting up SDL2 with Mojo on WSL
SDL is known for being notoriously hard to set up, and I only have experience with doing it in VS using NuGet (which is frankly a lot simpler). Does anybody know how to do it with Mojo and DLHandle?
5 replies
MModular
Created by banananas on 9/13/2024 in #questions
Removing a mojo project
Is there a way to remove a mojo project using the magic tool?
magic remove
magic remove
in the directory doesn't seem to do anything. Thanks in advance.
6 replies
MModular
Created by banananas on 9/13/2024 in #questions
Importing python modules
Whenever I try to import a python module using
import ctypes
import ctypes
(ctypes used as an example) VSCode gives me an error saying the module is inaccessible, and running mojo [file] says the same thing. I've checked and Python 3 is installed on both Windows 11 and WSL. (Using WSL) Thanks in advance.
4 replies
MModular
Created by banananas on 9/13/2024 in #questions
Adding a .mojo or .🔥file to a magic project
I've created a project using
magic init hello-world --format mojo-project
cd hello-world && magic shell
magic init hello-world --format mojo-project
cd hello-world && magic shell
but how could I add a file to this project / view its directory? (Using WSL Ubuntu) Thanks in advance.
5 replies
MModular
Created by banananas on 9/11/2024 in #questions
Installing Mojo on WSL?
I've got WSL downloaded and I have been trying to install Mojo, but all the tutorials that I find seem to be outdated, and running mojo commands isn't possible after installing Magic. Can someone tell me how to install Mojo with WSL?
7 replies
DDeno
Created by banananas on 9/8/2024 in #help
Can't install Deno on Windows
I'm trying to install deno using PowerShell using the command provided in the Deno installation guide (irm https://deno.land/install.ps1 | iex). However, when I run this command, I get the following error:
Remove-Item : Cannot find path 'C:\Users\piotr\.deno\bin\deno.zip' because it does not exist.
At line:39 char:1
+ Remove-Item $DenoZip
+ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\piotr\.deno\bin\deno.zip:String) [Remove-Item], ItemNotFoundEx
ception
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot find path 'C:\Users\piotr\.deno\bin\deno.zip' because it does not exist.
At line:39 char:1
+ Remove-Item $DenoZip
+ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\piotr\.deno\bin\deno.zip:String) [Remove-Item], ItemNotFoundEx
ception
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
Can someone help me as to why this happens?
2 replies