Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialWes Chumley
6,385 PointsSetting the PATH variable - edit ~/.bash_profile
When I open a new Terminal window I get this:
Last login: Tue Jul 7 13:20:05 on ttys001 -bash: /Users/schlep/.bash_profile: line 4: unexpected EOF while looking for matching `"' -bash: /Users/schlep/.bash_profile: line 5: syntax error: unexpected end of file schleps-MacBook-Pro:~ schlep$
This is what my .bash_profile looks like:
Setting PATH for Python 3.4
The orginal version is saved in .bash_profile.pysave
export PATH=“~/Library/Python/3.4/bin:$PATH"
What is wrong?
Wes Chumley
6,385 Pointsand my .bash_profile looks like this:
# Setting PATH for Python 3.4
# The orginal version is saved in .bash_profile.pysave
export PATH=“~/Library/Python/3.4/bin:$PATH"
1 Answer
Guillaume Maka
Courses Plus Student 10,224 PointsThe unix env variables don't like '~' just replace by the absolute path:
export PATH="/Users/schlep/Library/Python/3.4/bin:$PATH"
Wes Chumley
6,385 PointsThanks. Will give that a try when I get back to it.
Wes Chumley
6,385 PointsWes Chumley
6,385 PointsOops. I'm new to this. maybe it looks more like this: