There was an error querying the version of Ubuntu after installing PIP3
Traceback (most recent call last):
File "/usr/local/bin/pip3", line 7, in <module>
from pip._internal.cli.main import main
File "/usr/local/lib/python3.5/dist-packages/pip/_internal/cli/main.py", line 57
sys.stderr.write(f"ERROR: {exc}")
^
SyntaxError: invalid syntax
Solution:
wget https://bootstrap.pypa.io/pip/3.5/get-pip.py
After downloading, execute the following command
python3 get-pip.py
Read More:
- [Solved] ubuntu Run jupyter Error: print(‘Error in generated code:‘, file=sys.stderr) SyntaxError: invalid syntax
- [Solved] Except CvBridgeError,e:SyntaxError:invalid syntax
- [Solved] yum command Error: “except keyboardinterrupt, e: syntax error: invalid syntax”“
- [Solved] Gitlab Error: gitlab-ctl reconfigure Error: STDERR: initdb: error: invalid locale settings; check LANG and L
- Fatal error: sys/cdefs.h: No such file or directory
- Docker Run ‘echo core > /proc/sys/kernel/core_pattern‘ Error
- [Solved] GCC Compile Error: fatal error: sys/cdefs.h: No such file or directory
- [Solved] WSUS client access server exception error – 0x8024401f
- Hadoop 3.2.0 idea development environment construction and HDFS read write API operation
- Read and write BMP image with Pure C language
- ERROR: Invalid subnet : invalid CIDR address: [How to Fix]
- [Solved] Ubuntu Server 18.4 System /etc/sudoers: syntax error near line 32
- [Solved] fatal error: cannot write PCH file: required memory segment unavailable
- [Solved] NIC cannot be generated vf, intel/mellanox, write error: Cannot allocate memory “not enough MMIO resources for SR-IOV”
- [Solved] Yum Install Software Error: Invalid configuration value: failovermethod=priority…
- Nginx Error: SSL: error:140AB18F:SSL routines:SSL_CTX_use_certificate:ee key too small
- Ubuntu shell Script syntax error near unexpected token `$‘{\r‘‘
- [Solved] Invalid signature error for ROS repository while trying to do sudo apt-get update
- [Solved] Cmake: symbol lookup error: cmake: undefined symbol: archive_write_add_filter_zstd
- Shell Script syntax error near unexpected token `done’