After reading many posts, according to the solution given, the first line of VI/usr/bin/Yum is changed to “#”/ usr/bin/python2.7”
But there are new problems. How can we solve them!
AttributeError:’module’ object has no attribute ‘lib;
Read More:
- Cannot remove entries from nonexistent file /usr/local/bin/anaconda2/lib/python2.7/site-packages/eas
- ln: failed to create symbolic link ‘/usr/bin/pip’: File exists
- XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1
- Command /usr/bin/codesign failed with exit code 1
- Error: /usr/bin/python: Error while finding module specification for ‘virtualenvwrapper.hook_loader’
- Error: Command ‘/ usr / bin / clang’ failed with exit status 1 solution for Mac OS installation
- -Bash: /usr/local/apache-maven-3.6.3/bin/mvn: insufficient permissions
- Error reporting during QT operation under Ubuntu / usr / bin / LD: cannot find – LGL
- E: sub process / usr / bin / dpkg returned an error code (2) solution under Ubuntu
- E: Sub process / usr / bin / dpkg returned an error code (1) solution
- Solve the red letter prompt “sub process / usr / bin / dpkg returned an error code (2) in Cydia
- command/usr/bin/codesign failed with exit code 1- code sign error
- File contains no section headers. File: File: / / etc/ yum.repos .d/
- -bash: /usr/java/jdk1.8.0_101/bin/java: Permission denied
- ssh-copy-id:/usr/bin/ssh-copy-id: ERROR: No identities found
- Java 8 Stream – Read a file line by line
- The language of C__ FILE__ 、__ LINE__ And line
- ls: cannot access /usr/sbin/smartctl: No such file or directory /usr/sbin/smartctl not found
- Solve syntax error: unexpected end of file or /bin/bash^m: bad interpeneter: no match file or directory
- File “manage.py“, line 17 ) from exc ^ SyntaxError: invalid syntax