Skip to content Skip to sidebar Skip to footer

Conda 'source Deactivate' Produces Error: Too Many Arguments

I'm trying to test out creating virtual envs through conda create on OS X. It's my first real foray into virtual envs so I'm still wrapping my mind around how to tool them. My firs

Solution 1:

Yes, the problem is the set PATH = "$PATH:/Users/ibebian/Desktop/Postgres.app/Contents/MacOS/bin" line. set sets default arguments for bash functions ($1, $2, and so on). So deactivate thinks it is being called as deactivate PATH = "$PATH:/Users/ibebian/Desktop/Postgres.app/Contents/MacOS/bin", rather than just deactivate.

To assign to a variable, just use

PATH="$PATH:/Users/ibebian/Desktop/Postgres.app/Contents/MacOS/bin"

(note there are no spaces here)

Post a Comment for "Conda 'source Deactivate' Produces Error: Too Many Arguments"