I was self deluded when I thought I had installed the cltk! I did create the directory, and I was able to create the virtual environment, in two ways: first using the directions given here (using the (apparently deprecated):
$ pyvenv venv
$ source venv/bin/activate
I tried the "reccommended" way to create a virtual environment executing the command venv:
OK, that creates 3 directories in the cltk (bin, include, lib) but, again, no way to install nltk. Whenever I try either
Collecting cltk
Requirement already satisfied: pyuca in ./anaconda3/lib/python3.6/site-packages (from cltk) (1.2)
Requirement already satisfied: pyyaml in ./anaconda3/lib/python3.6/site-packages (from cltk) (3.12)
Requirement already satisfied: gitpython in ./anaconda3/lib/python3.6/site-packages (from cltk) (2.1.10)
Collecting regex (from cltk)
Collecting python-crfsuite (from cltk)
Using cached https://files.pythonhosted.org/packages/e7/e8/02618c1e926df4aee70308676511b728b1db4ca9eb52d8c4660c14a44178/python-crfsuite-0.9.5.tar.gz
Requirement already satisfied: whoosh in ./anaconda3/lib/python3.6/site-packages (from cltk) (2.7.4)
Requirement already satisfied: nltk in ./anaconda3/lib/python3.6/site-packages (from cltk) (3.2.5)
Requirement already satisfied: gitdb2>=2.0.0 in ./anaconda3/lib/python3.6/site-packages (from gitpython->cltk) (2.0.3)
Requirement already satisfied: six in ./anaconda3/lib/python3.6/site-packages (from nltk->cltk) (1.11.0)
Requirement already satisfied: smmap2>=2.0.0 in ./anaconda3/lib/python3.6/site-packages (from gitdb2>=2.0.0->gitpython->cltk) (2.0.3)
Building wheels for collected packages: python-crfsuite
Running setup.py bdist_wheel for python-crfsuite ... error
Complete output from command /Users/Daniel/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/yk/sfnlb4yx7sn_wj0jp99_q4y80000gn/T/pip-install-204cb9vp/python-crfsuite/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /private/var/folders/yk/sfnlb4yx7sn_wj0jp99_q4y80000gn/T/pip-wheel-s8h4n8tq --python-tag cp36:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.7-x86_64-3.6
creating build/lib.macosx-10.7-x86_64-3.6/pycrfsuite
copying pycrfsuite/__init__.py -> build/lib.macosx-10.7-x86_64-3.6/pycrfsuite
copying pycrfsuite/_dumpparser.py -> build/lib.macosx-10.7-x86_64-3.6/pycrfsuite
copying pycrfsuite/_logparser.py -> build/lib.macosx-10.7-x86_64-3.6/pycrfsuite
running build_ext
building 'pycrfsuite._pycrfsuite' extension
creating build/temp.macosx-10.7-x86_64-3.6
creating build/temp.macosx-10.7-x86_64-3.6/pycrfsuite
creating build/temp.macosx-10.7-x86_64-3.6/crfsuite
creating build/temp.macosx-10.7-x86_64-3.6/crfsuite/lib
creating build/temp.macosx-10.7-x86_64-3.6/crfsuite/lib/crf
creating build/temp.macosx-10.7-x86_64-3.6/crfsuite/lib/crf/src
creating build/temp.macosx-10.7-x86_64-3.6/crfsuite/swig
creating build/temp.macosx-10.7-x86_64-3.6/crfsuite/lib/cqdb
creating build/temp.macosx-10.7-x86_64-3.6/crfsuite/lib/cqdb/src
creating build/temp.macosx-10.7-x86_64-3.6/liblbfgs
creating build/temp.macosx-10.7-x86_64-3.6/liblbfgs/lib
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/Daniel/anaconda3/include -arch x86_64 -I/Users/Daniel/anaconda3/include -arch x86_64 -Icrfsuite/include/ -Icrfsuite/lib/cqdb/include -Iliblbfgs/include -Ipycrfsuite -I/Users/Daniel/anaconda3/include/python3.6m -c pycrfsuite/_pycrfsuite.cpp -o build/temp.macosx-10.7-x86_64-3.6/pycrfsuite/_pycrfsuite.o -std=c99
error: invalid argument '-std=c99' not allowed with 'C++/ObjC++'
error: command 'gcc' failed with exit status 1
----------------------------------------
Failed building wheel for python-crfsuite
Running setup.py clean for python-crfsuite
Failed to build python-crfsuite
Installing collected packages: regex, python-crfsuite, cltk
Running setup.py install for python-crfsuite ... error
Complete output from command /Users/Daniel/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/yk/sfnlb4yx7sn_wj0jp99_q4y80000gn/T/pip-install-204cb9vp/python-crfsuite/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/yk/sfnlb4yx7sn_wj0jp99_q4y80000gn/T/pip-record-x145uk_s/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.macosx-10.7-x86_64-3.6
creating build/lib.macosx-10.7-x86_64-3.6/pycrfsuite
copying pycrfsuite/__init__.py -> build/lib.macosx-10.7-x86_64-3.6/pycrfsuite
copying pycrfsuite/_dumpparser.py -> build/lib.macosx-10.7-x86_64-3.6/pycrfsuite
copying pycrfsuite/_logparser.py -> build/lib.macosx-10.7-x86_64-3.6/pycrfsuite
running build_ext
building 'pycrfsuite._pycrfsuite' extension
creating build/temp.macosx-10.7-x86_64-3.6
creating build/temp.macosx-10.7-x86_64-3.6/pycrfsuite
creating build/temp.macosx-10.7-x86_64-3.6/crfsuite
creating build/temp.macosx-10.7-x86_64-3.6/crfsuite/lib
creating build/temp.macosx-10.7-x86_64-3.6/crfsuite/lib/crf
creating build/temp.macosx-10.7-x86_64-3.6/crfsuite/lib/crf/src
creating build/temp.macosx-10.7-x86_64-3.6/crfsuite/swig
creating build/temp.macosx-10.7-x86_64-3.6/crfsuite/lib/cqdb
creating build/temp.macosx-10.7-x86_64-3.6/crfsuite/lib/cqdb/src
creating build/temp.macosx-10.7-x86_64-3.6/liblbfgs
creating build/temp.macosx-10.7-x86_64-3.6/liblbfgs/lib
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/Daniel/anaconda3/include -arch x86_64 -I/Users/Daniel/anaconda3/include -arch x86_64 -Icrfsuite/include/ -Icrfsuite/lib/cqdb/include -Iliblbfgs/include -Ipycrfsuite -I/Users/Daniel/anaconda3/include/python3.6m -c pycrfsuite/_pycrfsuite.cpp -o build/temp.macosx-10.7-x86_64-3.6/pycrfsuite/_pycrfsuite.o -std=c99
error: invalid argument '-std=c99' not allowed with 'C++/ObjC++'
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "/Users/Daniel/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/yk/sfnlb4yx7sn_wj0jp99_q4y80000gn/T/pip-install-204cb9vp/python-crfsuite/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/yk/sfnlb4yx7sn_wj0jp99_q4y80000gn/T/pip-record-x145uk_s/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/yk/sfnlb4yx7sn_wj0jp99_q4y80000gn/T/pip-install-204cb9vp/python-crfsuite/