Wenbo Sun
Wenbo Sun

Reputation: 1

When i open terminal, it always print these error code

When i open terminal, it always print these code. How can i delete these? It is python3

img

-bash: expert: command not found
-bash: souce/usr/local/bin/virtualenvwrapper.sh: No such file or directory

Upvotes: 0

Views: 349

Answers (1)

Paulo Scardine
Paulo Scardine

Reputation: 77281

Ok, your terminal is using a shell called bash. Bash loads some files when you start it. At one of these files there is a line that seems to be lacking a space between the word source and the path to load the virtualenvwrapper.sh script:

source/usr/local/bin/virtualenvwrapper.sh

The above shoud be:

source /usr/local/bin/virtualenvwrapper.sh

Some files bash load at startup are .profile, .bashrc, .bash_profile and so on. Perhaps someone edited one of these recently and deleted the space by mistake.

Upvotes: 3

Related Questions