Coder Social home page Coder Social logo

TemplateDoesNotExist at / error about mercury HOT 13 CLOSED

mljar avatar mljar commented on May 17, 2024
TemplateDoesNotExist at / error

from mercury.

Comments (13)

nuhyurdev avatar nuhyurdev commented on May 17, 2024 1

The problem is with my system. related with pip dependencies. When I use python-env, It works clearly.

from mercury.

pplonski avatar pplonski commented on May 17, 2024

Could you please provide steps how to reproduce the issue?

I've just deployed the 0.3.0 to Heroku and it is working http://piotr-data-science-portfolio.herokuapp.com

from mercury.

nuhyurdev avatar nuhyurdev commented on May 17, 2024

I am fetched and install from pypi repo and github repo main branch using command on Readme. But when I start server, I got this error.
resim

from mercury.

nuhyurdev avatar nuhyurdev commented on May 17, 2024

I removed all dependencies and mljar-mercury and reinstall it but unfortunately it doesn't work

from mercury.

pplonski avatar pplonski commented on May 17, 2024

@nuhyurduseven what I did:

mkdir problem_1
cd problem_1
virtualenv venv --python=python3.8
source venv/bin/activate
pip install mljar-mercury
mercury runserver

I go to http://127.0.0.1:8000 and I got server running without problems.

Could you please provide detailed steps to reproduce your bug?

from mercury.

nuhyurdev avatar nuhyurdev commented on May 17, 2024

in wsl ubuntu, I used these commands

sudo pip install mljar-mercury 
#or 
sudo pip install -q -U git+https://github.com/mljar/mercury.git@main
mercury runserver --runworker 
#or 
mercury watch myfile.ipnb 

When I check the http://127.0.0.1:8000 URL, I got the error upper.

from mercury.

pplonski avatar pplonski commented on May 17, 2024

I cant reproduce your issue. Probably you have some mess with packages after updates - but it is hard to say exactly.

Could you please try to use virtual environment?

Can you try to remove the mljar-mercury with command:

sudo pip uninstall mljar-mercury

and then try to run a command:

mercury runserver

Does your system see the mercury binary?

from mercury.

nuhyurdev avatar nuhyurdev commented on May 17, 2024

No Dr. I tried
sudo pip uninstall mljar-mercury
and
sudo pip-autoremove mljar-mercury

no binary mercury file I have. It doesn't work. I don't think it's related authorization in linux.
I will try the old release. then I will inform you.

from mercury.

nuhyurdev avatar nuhyurdev commented on May 17, 2024

The porblem is related my system in my opinion. I tried 0.2.0 release and result is same. I got same error. Maybe related django

from mercury.

pplonski avatar pplonski commented on May 17, 2024

maybe just install conda on windows? and use powershell?

from mercury.

nuhyurdev avatar nuhyurdev commented on May 17, 2024

Yes, I will switch windows side

from mercury.

nuhyurdev avatar nuhyurdev commented on May 17, 2024

Thanks for attention.

from mercury.

pplonski avatar pplonski commented on May 17, 2024

Great that it works!

from mercury.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.