Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

  virtualenv venv --python=python3.5
  source venv/bin/activate
  pip install -r requirements.txt


first line isn't working for me

virtualenv venv --python=python3.5 Running virtualenv with interpreter /usr/local/bin/python3.5 Using base prefix '/Library/Frameworks/Python.framework/Versions/3.5' New python executable in venv/bin/python3.5 Also creating executable in venv/bin/python Failed to import the site module Traceback (most recent call last): File "/Users/ericlw/Development/tinder-detective/venv/bin/../lib/python3.5/site.py", line 67, in <module> import os File "/Users/ericlw/Development/tinder-detective/venv/bin/../lib/python3.5/os.py", line 708, in <module> from _collections_abc import MutableMapping ImportError: No module named '_collections_abc' ERROR: The executable venv/bin/python3.5 is not functioning ERROR: It thinks sys.prefix is '/Users/ericlw/Development/tinder-detective' (should be '/Users/ericlw/Development/tinder-detective/venv') ERROR: virtualenv is not compatible with this system or executable

ugh none of this python 3 stuff works right


  brew install python3.5




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: