Skip to content

atropos does not work with python 3.8 because of clock module #87

Closed
@kingralph80

Description

Dear authors,

when I run atropos I get:
self.start_time = Timestamp()
File "/netscratch/dep_psl/grp_frommer/Thomas/bin/miniconda3/envs/atropos/lib/python3.8/site-packages/atropos-1.1.23-py3.8-linux-x86_64.egg/atropos/util/init.py", line 227, in init
self.clock = time.clock()
AttributeError: module 'time' has no attribute 'clock'

After checking online i found that the time module has been removed from python 3.8:

From the Python 3.8 doc:

The function time.clock() has been removed, after having been deprecated since Python 3.3: use time.perf_counter() or time.process_time() instead, depending on your requirements, to have well-defined behavior. (Contributed by Matthias Bussonnier in bpo-36895.)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions