mljar / mercury

Convert Jupyter Notebooks to Web Apps
https://RunMercury.com
GNU Affero General Public License v3.0
3.92k stars 250 forks source link

Django template not found error #375

Closed crsherman closed 7 months ago

crsherman commented 11 months ago

Running conda env with python 3.11.5 and installed mercury to test. Ran mercury run demo and this error occurred. Any help would be appreciated.

image

pplonski commented 11 months ago

Hi @crsherman,

Oops, might be some bug. Thank you for reporting. Could you please send logs from starting Mercury?

Maybe you can also attach logs from starting Mercury in verbose mode:

mercury run demo --verbose
crsherman commented 11 months ago

See attached django-errors.log TemplateDoesNotExist.pdf terminal errors.pdf

pplonski commented 11 months ago

Thanks, checking it right now.

pplonski commented 11 months ago

It was my error when publishing a package. Sorry! Working on fix.

pplonski commented 11 months ago

Ive uploaded corrected version 2.3.6 to PyPi. It will be updated in Conda in few minutes - I will let you know.

crsherman commented 11 months ago

uninstalled mercury and reinstalled - still get similar errors terminal errors 2.pdf TemplateDoesNotExist2.pdf

pplonski commented 11 months ago

It will be working. Please close all terminals and reopen a fresh one. Should be fine - there are no errors in your logs.

NickNack25 commented 10 months ago

I continually get this error while installing current version on mercury (pip install mercury) using anaconda3 distribution. Any advise?

Collecting django==4.2.2 Using cached Django-4.2.2-py3-none-any.whl (8.0 MB) ERROR: Wheel 'django' located at C:\Users***\AppData\Local\Temp\pip-unpack-st6ghte7\Django-4.2.2-py3-none-any.whl is invalid.

pplonski commented 10 months ago

Hi @NickNack25,

Please try to install with -U (upgrade):

pip install -U mercury

When you start server (mercury run) you should see version 2.3.6.