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 trialMit Sengupta
13,823 Pointstyping : pip freeze | grep flask . But in the workspace it is showing : bash: peep: command not found
Can someone please help me?
1 Answer
Chris Freeman
Treehouse Moderator 68,428 PointsIn the Treehouse Workspaces, there is an environment variable set that focuses pip
on the local user changes. So pip freeze
only shows what you have installed instead of all the packages installed. To temporarily by-pass this environ var use the --isolated
switch (docs)
treehouse:~/workspace$ pip --version
pip 7.1.2 from /usr/local/pyenv/versions/3.5.0/lib/python3.5/site-packages (python 3.5)
treehouse:~/workspace$ env | grep -i pip
PIP_USER=true
LESSOPEN=||/usr/bin/lesspipe.sh %s
treehouse:~/workspace$ pip freeze
treehouse:~/workspace$ pip --isolated freeze
coverage==4.0.3
Django==1.9
flake8==2.2.3
Flask==0.10.1
Flask-Bcrypt==0.6.0
Flask-Login==0.2.11
Flask-WTF==0.10.3
itsdangerous==0.24
jdcal==1.2
Jinja2==2.7.2
MarkupSafe==0.23
matplotlib==1.4.2
mccabe==0.3.1
nose==1.3.7
numpy==1.9.1
openpyxl==2.1.4
pandas==0.16.0
peewee==2.4.4
pep8==1.5.7
Pillow==2.5.3
prettytable==0.7.2
py-bcrypt==0.4
pyflakes==1.0.0
pyparsing==2.0.6
python-dateutil==2.4.2
pytz==2014.7
requests==2.3.0
six==1.10.0
Werkzeug==0.11.2
WTForms==2.0.2
Mit Sengupta
13,823 PointsMit Sengupta
13,823 PointsDid as you said. And then I typed in : pip freeze | grep flask . Now nothing showing up just the workspace prompt to type. Repeating the pip command resulting the same.
Chris Freeman
Treehouse Moderator 68,428 PointsChris Freeman
Treehouse Moderator 68,428 PointsFlask is capitalized. You need to add the switch to the command before the grep: