Jul-14-2020, 05:46 PM
Hi All,
#!/bin/python
import yaml
print('yaml')
Traceback (most recent call last):
File "test.py", line 2, in <module>
import yaml
ModuleNotFoundError: No module named 'yaml'
Yes, pyyaml is not installed in the python3, however it is installed and available in the python (python2).
So, how to install and make it available to python3 as well?
Any suggestions would be much appreciated. Thank you.
Regards,
Maiya
#!/bin/python
import yaml
print('yaml')
Traceback (most recent call last):
File "test.py", line 2, in <module>
import yaml
ModuleNotFoundError: No module named 'yaml'
Yes, pyyaml is not installed in the python3, however it is installed and available in the python (python2).
So, how to install and make it available to python3 as well?
Any suggestions would be much appreciated. Thank you.
Regards,
Maiya