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

Module 'time' has no attribute 'clock' #15

Open
AjaniBilby opened this issue Oct 23, 2021 · 3 comments
Open

Module 'time' has no attribute 'clock' #15

AjaniBilby opened this issue Oct 23, 2021 · 3 comments

Comments

@AjaniBilby
Copy link

AjaniBilby commented Oct 23, 2021

Ran the below command to get an unusual error that appears to have nothing to do with my shader or command arguments.

python shadertoy-render.py "U:\Documents\My Projects\Programming\Visuals\Shaders\boundry.shader" --output out.mp4 --size 1920x1080 --duration 10
Traceback (most recent call last):
  File "shadertoy-render.py", line 590, in <module>
    canvas = RenderingCanvas(glsl_shader,
  File "shadertoy-render.py", line 144, in __init__
    clock = time.clock()
AttributeError: module 'time' has no attribute 'clock'

For reference here is a link to the shader being rendered (https://www.shadertoy.com/view/NsGSR3)

@danilw
Copy link

danilw commented Dec 4, 2021

try my fork of this script, it updated to python 3
https://github.com/danilw/shadertoy-to-video-with-FBO

@Indhar01
Copy link

Indhar01 commented Jan 22, 2022

upgrade your sqlalchemy
pip install sqlalchemy --upgrade

@yuyou
Copy link

yuyou commented Mar 17, 2022

need to change the "time.clock()" to "time.process_time()"

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