fails to run under python 3.8
See original GitHub issueWhen 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:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
Soon. I am currently reviewing the last issues. This one is fixed on develop so I’ll close it.