Conda 가상환경에서 python을 설치했는데 다음과 같은 에러가 뜨는 경우가 있다.
Command 'python' not found, did you mean:
command 'python3' from deb python3
command 'python' from deb python-is-python3
이 경우 다음 명령을 입력한 뒤에 다시 python 파일을 실행시키면 해결된다.
export PATH="/home/(사용자명)/anaconda3/bin":$PATH
'Python > ERROR' 카테고리의 다른 글
importerror: cannot import name '_new_empty_tensor' from 'torchvision.ops' (0) | 2022.12.26 |
---|---|
ResolvePackageNotFound: - python=3.1 (0) | 2022.12.07 |
attributeerror: module 'psutil_posix' has no attribute 'getpagesize' (0) | 2022.12.02 |
RuntimeError: Unable to find a valid cuDNN algorithm to run convolution (0) | 2022.12.01 |