我正在尝试重新加载该外壳,我在Google上搜索了很多下面的命令以对其进行修复。但是,当我运行命令时,却出现以下错误python: can't open file './test.py': [Errno 2] No such file or directory
。
rasminayak@DEBIAN-TEST:~$ source ~/.profile
python: can't open file './test.py': [Errno 2] No such file or directory
rasminayak@DEBIAN-TEST:~$
即使我尝试过
rasminayak@DEBIAN-TEST:~$ source .bashrc
python: can't open file './test.py': [Errno 2] No such file or directory
rasminayak@DEBIAN-TEST:~$
您需要从.bashrc或]中删除test.py文件>