Note that there are some explanatory texts on larger screens.

plurals
  1. POUnable to do heroku's Python tutorial within Dropbox folder
    text
    copied!<p>EDIT2: OK this is weird. (I can't answer my own question, so I just put it as another edit to the question. I think it has something to do with the fact that I tried to do this installation within a Dropbox-synced directory. I got this to work on my Desktop. Can anyone explain why this is the case?</p> <h2>Original question:</h2> <p>I'm trying to do Heroku's Python setup tutorial (http://devcenter.heroku.com/articles/python), on my Mac OS X (Lion), but I get caught up with the step of creating a virtualenv.</p> <p>So what I did was this in the command line (not using sudo caused permissions error):</p> <pre><code>sudo pip install virtualenv </code></pre> <p>But then, when I do "virtualenv venv --distribute" (I also tried with sudo), I get the following error:</p> <pre><code>New python executable in venv/bin/python Installing distribute..............................................................................................................................................................................................................................................................................................done. Installing pip... Error [Errno 2] No such file or directory while executing command /Users/AndyFang/Drop...env/bin/easy_install /Library/Python/2.7/...pport/pip-1.1.tar.gz ...Installing pip...done. Traceback (most recent call last): File "/usr/local/bin/virtualenv", line 8, in &lt;module&gt; load_entry_point('virtualenv==1.7.1.2', 'console_scripts', 'virtualenv')() File "/Library/Python/2.7/site-packages/virtualenv.py", line 928, in main never_download=options.never_download) File "/Library/Python/2.7/site-packages/virtualenv.py", line 1042, in create_environment install_pip(py_executable, search_dirs=search_dirs, never_download=never_download) File "/Library/Python/2.7/site-packages/virtualenv.py", line 640, in install_pip filter_stdout=_filter_setup) File "/Library/Python/2.7/site-packages/virtualenv.py", line 966, in call_subprocess cwd=cwd, env=env) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 672, in __init__ errread, errwrite) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1202, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory </code></pre> <p>Not really sure what to do. It seemed like I didn't have easy_install on my Mac, but I do have it... I'm not sure what the deal is?</p> <p>EDIT: I also just tried installing virtualenv with easy_install, but I get the exact same error.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload