Is it possible to import modules from a local package into a custom package?
I am writing a object-oriented neural network library (https://github.com/Mathprogrammer5/Mojo-Neural)
and I would like to use my (unfinished) implementation of datastructures in Mojo
(https://github.com/Mathprogrammer5/Mojo-Datastruct). But when I try to import something from the
package with, for example
from datastruct.vector import Vector
, the vscode extension generates an
error: unable to locate module 'datastruct'
. So I would like to ask wether it is possible to import
something from a local .📦
or .mojopkg
file into a custom module in a custom package.GitHub
GitHub - Mathprogrammer5/Mojo-Neural
Contribute to Mathprogrammer5/Mojo-Neural development by creating an account on GitHub.
0 Replies