question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

fails to run under python 3.8

See original GitHub issue

When I try to use pygccxml under python 3.8 on Manjaro I get the following error:

...
    declarations = parser.read_files(files, compilation_mode)
  File "/usr/lib/python3.8/site-packages/pygccxml/parser/project_reader.py", line 264, in read_files
    return self.__parse_file_by_file(files)
  File "/usr/lib/python3.8/site-packages/pygccxml/parser/project_reader.py", line 319, in __parse_file_by_file
    start_time = time.clock()
AttributeError: module 'time' has no attribute 'clock'

The clock method was removed in Python 3.8 as it was deprecated since python 3.3. Therefore, this issues arises.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
iMichkacommented, Apr 10, 2020

I am working on updating the build pipelines https://github.com/gccxml/pygccxml/pull/112. Once this is done I will do a final review and try to tag a new release.

0reactions
iMichkacommented, Jul 16, 2020

Soon. I am currently reviewing the last issues. This one is fixed on develop so I’ll close it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python installation fails when run under system account if ...
This issue seems to affect all Python 3 Windows installers. Reproduced on: - various Windows 10 systems - one Windows 8 system -...
Read more >
Why is python using 3.8.1 and 3.9, then fail to install packages ...
1 and 3.9, then fail to install packages (ERROR: Package pkg requires a different Python: 3.8. 1 not in '>=3.9. 0')?
Read more >
Fail python configuration on ubuntu and python 3.8
java.io.IOException: Python configuration failed. ... failed with return code 10. Please check the log file '/home/username/.snap/snap-python/ ...
Read more >
devel/py-pyinstaller: Fails to run on 3.8+. Fix incorrect Python ...
Yes, the port should certainly prevent one from building/installing it with Python 3.8 (it will build just fine, but not work properly). But...
Read more >
Python interpreter error I have installed Python 3 8 but it ...
Add python3.8 in the environment variables . To use it execute python3.8 in cmd. This should resolve it. answered ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found