Hi, Dear all:
According to the PyQ installation guide. the command: “pip install <path to the source>” can be used to install PyQ. But I got error message and failed.
[root@ETAPP1 pyq-pyq-3.8.3]#pip install /home/et/Python-3.6.0/pyq-pyq-3.8.3
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Processing /home/et/Python-3.6.0/pyq-pyq-3.8.3
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File “<string>”, line 1, in <module>
File “/tmp/pip-npfrv5hm-build/setup.py”, line 783, in <module>
**metadata)
File “/home/et/Python-3.6.0/Lib/distutils/core.py”, line 108, in setup
_setup_distribution = dist = klass(attrs)
File “/tmp/pip-npfrv5hm-build/setup.py”, line 693, in __init__
_Distribution.__init__(self, attrs)
File “/usr/local/lib/python3.6/site-packages/setuptools/dist.py”, line 318, in __init__
_Distribution.__init__(self, attrs)
File “/home/et/Python-3.6.0/Lib/distutils/dist.py”, line 281, in __init__
self.finalize_options()
File “/tmp/pip-npfrv5hm-build/setup.py”, line 733, in finalize_options
path = os.path.join(os.getenv(‘VIRTUAL_ENV’), ‘q’)
File “/home/et/Python-3.6.0/Lib/posixpath.py”, line 78, in join
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
----------------------------------------
Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-npfrv5hm-build/
[root@ETAPP1 pyq-pyq-3.8.3]# more /tmp/pip-npfrv5hm-build/
*** /tmp/pip-npfrv5hm-build/: directory ***
Do you have any suggestions? Thanks v m!
Zheng