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

Python 3 support #48

Open
blinklet opened this issue Apr 26, 2019 · 1 comment
Open

Python 3 support #48

blinklet opened this issue Apr 26, 2019 · 1 comment

Comments

@blinklet
Copy link

Since Python 2 will not be maintained after January 1, 2020, the Wistar code base should be tested in Python 3 and incompatibilities resolved. This will allow users to run Wistar on newer Linux distributions in the future.

@Mikiwis
Copy link

Mikiwis commented Apr 30, 2020

"libvirt-python" can not be built as it requires Python 3

This means I can not use it at all. #BlinkingRed

=====
root@wistar:/opt/wistar# source /opt/wistar/bin/activate
(wistar) root@wistar:/opt/wistar# pip install libvirt-python
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting libvirt-python
Using cached libvirt-python-6.1.0.tar.gz (196 kB)
ERROR: Command errored out with exit status 1:
command: /opt/wistar/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-tvuTC4/libvirt-python/setup.py'"'"'; file='"'"'/tmp/pip-install-tvuTC4/libvirt-python/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-tvuTC4/libvirt-python/pip-egg-info
cwd: /tmp/pip-install-tvuTC4/libvirt-python/
Complete output (1 lines):
libvirt-python requires Python 3.x to build
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants