6 ms·
how do you build this in OSX? Apple's python situation is out of control
by cloudjacker 10y ago
how do you build this in OSX? Apple's python situation is out of control
- spiznnx 10y agovirtualenv venv --python=python3.5 source venv/bin/activate pip install -r requirements.txt
- deleted 10y ago[deleted]
- cloudjacker 10y agofirst 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
- marodox 10y agobrew install python3.5
- agravier 10y agoUse pyenv (https://github.com/yyuu/pyenv https://github.com/yyuu/pyenv). If you want it easier, there is an installer at https://github.com/yyuu/pyenv-installer https://github.com/yyuu/pyenv-installer.
- cloudjacker 10y agoI got it working, have to use python3 for all of the python commands.
- denzil_correa 10y agoInstall Anaconda https://docs.continuum.io/anaconda/install https://docs.continuum.io/anaconda/install
- collyw 10y agoInstall Linux in it.
- mastermachetier 10y agouse pip3 python3 and install datetime with pip3 install datetime