Hello, I found this code for generating the dataset using blender very useful.But I am facing the errors while installing PIP and YAML package in the python packaged with blender. And also it seems code is not compatible for Blender2.80 version.Steps I followed.
1.Downloaded and extracted the Blender 2.78 version and renamed the fodler name with blender and placed in my home
2. In ~/.bashrc, add line export BLENDER_PATH="/home/sagi/blender/blender"
3.Downloaded the get-pip.py file from the pip documentation
4. yaml package in the python packaged with blender :
Error :
/home/sagi/blender/2.78/python/bin/python3.5m /home/sagi/blender/2.78/python/bin/get-pip.py
Collecting pip
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:645)'),)': /simple/pip/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:645)'),)': /simple/pip/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:645)'),)': /simple/pip/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:645)'),)': /simple/pip/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:645)'),)': /simple/pip/
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLError(1, '[SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:645)'),)) - skipping
ERROR: Could not find a version that satisfies the requirement pip (from versions: none)
ERROR: No matching distribution found for pip
Then I tried the below command to install PIP, and it was successfull.
/home/sagi/blender/2.78/python/bin/python3.5m -m ensurepip
Result:
Ignoring indexes: https://pypi.python.org/simple
Collecting setuptools
Collecting pip
Installing collected packages: setuptools, pip
Successfully installed pip-7.1.2 setuptools-18.2
But the error while installing the YAML package :
Command Used :
/home/sagi/blender/2.78/python/bin/python3.5m /home/sagi/blender/2.78/python/bin/pip install pyyaml
Error:
Collecting pyyaml
Could not find a version that satisfies the requirement pyyaml (from versions: )
No matching distribution found for pyyaml
Please let know if you ever faced this issue and any suggestion to resolve the issue
Best Regards,
Hareesh