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

TARDIS error: No module named 'tardis.transport' #2167

Closed
estefaniapadilla opened this issue Dec 5, 2022 · 4 comments · Fixed by #2170
Closed

TARDIS error: No module named 'tardis.transport' #2167

estefaniapadilla opened this issue Dec 5, 2022 · 4 comments · Fixed by #2170

Comments

@estefaniapadilla
Copy link

Hello everyone,

I just wanted to make an issue. I recently updated my operating system to macOS Monterey v 12.6. I tried to reinstall tardis new release TARDIS v2022.11.21. I was able to activate the environment, but when I ran the commands "from tardis import run_tardis" on my jupyter notebook I kept on getting the error "ModuleNotFoundError: No module named 'tardis.transport". @marxwillia and I worked on it for a bit, but no luck. Below is a screenshot of the issue. Thanks.

Screen Shot 2022-12-05 at 12 34 04 PM

@marxwillia
Copy link
Contributor

@epassaro have you encountered this? We tried a fresh install of the tardis source code and the environment, but neither of those things worked. I cannot recreate the issue on my machine running mac 10.14.5. I will try on my newer laptop and see what happens.

@marxwillia
Copy link
Contributor

@estefaniapadilla please update us here when you've tried some of the older tardis versions, and if you do a fresh install of miniconda.

@epassaro
Copy link
Member

epassaro commented Dec 5, 2022

Hi @marxwillia @estefaniapadilla , I re-installed TARDIS and reproduced the issue.

Seems installing TARDIS with: python setup.py develop or the almost-equivalent pip install -e . works fine, but doing python setup.py install or pip install . fails with ImportError when you are working outside the repository.

Thanks for reporting, I should fix this soon.

@marxwillia
Copy link
Contributor

That's fantastic @epassaro! @estefaniapadilla you can read about installing TARDIS in developer mode here:

https://tardis-sn.github.io/tardis/contributing/development/git_workflow.html#installing-tardis-in-develop-mode

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

Successfully merging a pull request may close this issue.

3 participants