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
1 |
|
import yaml
print('yaml')
1 |
|
1 |
|
File "test.py", line 2, in <module>
import yaml
ModuleNotFoundError: No module named 'yaml'
1 |
|
So, how to install and make it available to python3 as well?
Any suggestions would be much appreciated. Thank you.
Regards,
Maiya