Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

from .core import * ModuleNotFoundError: No module named 'taso.core' #100

Open
YFeather opened this issue Mar 15, 2023 · 4 comments
Open

Comments

@YFeather
Copy link

After doing
sudo make install -j 4
it shows

[ 43%] Building CXX object CMakeFiles/taso_runtime.dir/src/core/squeeze.cc.o
/taso/src/core/split.cc: In constructor 'taso::Split::Split(taso::Model*, const taso::Tensor&, int, const std::vector<int>&)':
/taso/src/core/split.cc:119:63: warning: '*this.taso::Split::<anonymous>.taso::OpBase::model' is used uninitialized [-Wuninitialized]
  119 |   : OpBase(_input, model, OP_SPLIT), axis(_axis), sizes(_sizes)
      |         

After doing
python3 setup.py install

When I import taso it gives

from .core import *
ModuleNotFoundError: No module named 'taso.core'

and I'm sure I have cpython installed

@wwbitejotunn
Copy link

install cython work for me

@AnouarITI
Copy link

Hi it did not work for me. Any idea how I can fix it?

@sploving1
Copy link

Hi, what you import is the taso module in the source directory. You could try to change into another directory and import the installed taso package.

@AnouarITI
Copy link

Look for lib_tasoruntime and add it to your $LD_LIBRARY_PATH. Also install cython before you install the python package it worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants