-bash:/usr/bin/virtualenvwrapper.sh:没有这样的文件或目录 [英] -bash: /usr/bin/virtualenvwrapper.sh: No such file or directory
问题描述
我不知道在服务器登录时shell试图在哪里运行/usr/bin/virtualenvwrapper.sh
的位置.我想把virtualenvwrapper永久卸载,而不仅仅是从shell实例中删除.我以为我是用 pip uninstall virtualenvwrapper
卸载的,但是每次我登录服务器时,都会出现错误 -bash:/usr/bin/virtualenvwrapper.sh:没有这样的文件或目录
,就好像有某种剩余的工件.昨天我做了很多修改,我不记得自己所做的所有更改或实现方式.它在哪里执行 virtualenvwrapper.sh
的搜索?
补充信息
$ echo $ PATH/usr/lib64/qt-3.3/bin/usr/local/bin/ibm/lsf/9.1/linux2.6-glibc2.3-x86_64/etc/usr/local/bin/ibm/lsf/9.1/linux2.6-glibc2.3-x86_64/bin/usr/local/bin/箱/usr/bin/usr/local/sbin/usr/sbin/sbin/usr/local/bin/CASAVA-1.8.2/bin/usr/local/bin/blast/usr/local/bin/mirdeep2/usr/local/bin/天鹅绒$ sudo vim〜/.bashrc1#.bashrc2个3#源全局定义4如果[-f/etc/bashrc];然后5./etc/bashrc6 Fi78#用户特定的别名和功能
如果使用 bash
shell,登录到终端时可能会运行许多文件.>
您应检查〜/.bashrc
,〜/.bash_profile
,〜/.bash_login
和〜/.profile
表示"/usr/bin/virtualenvwrapper.sh".
可能其中一个文件是在登录时运行的,其中包含您卸载的缺少脚本.
I can't figure out where the shell is trying to run /usr/bin/virtualenvwrapper.sh
upon server login. I want virtualenvwrapper permanently uninstalled, not just removed from the shell instance. I thought I uninstalled it with pip uninstall virtualenvwrapper
, but every time I log into the server I get the error -bash: /usr/bin/virtualenvwrapper.sh: No such file or directory
, as if there is some sort of leftover artifact. Yesterday I did a lot of tinkering and I can't remember all the changes I made or how I made this happen. Where is it executing the search for virtualenvwrapper.sh
?
SUPPLEMENTARY INFO
$ echo $PATH
/usr/lib64/qt-3.3/bin
/usr/local/bin/ibm/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
/usr/local/bin/ibm/lsf/9.1/linux2.6-glibc2.3-x86_64/bin
/usr/local/bin
/bin
/usr/bin
/usr/local/sbin
/usr/sbin
/sbin/usr/local/bin/CASAVA-1.8.2/bin
/usr/local/bin/blast
/usr/local/bin/mirdeep2
/usr/local/bin/velvet
$ sudo vim ~/.bashrc
1 # .bashrc
2
3 # Source global definitions
4 if [ -f /etc/bashrc ]; then
5 . /etc/bashrc
6 fi
7
8 # User specific aliases and functions
There are a number of files that might be run when you login to your terminal if you are using the bash
shell.
You should check ~/.bashrc
, ~/.bash_profile
, ~/.bash_login
and ~/.profile
for "/usr/bin/virtualenvwrapper.sh".
Likely one of those files is being run on login and contains the missing script which you uninstalled.
这篇关于-bash:/usr/bin/virtualenvwrapper.sh:没有这样的文件或目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!