pip install fails in virtual environment, all versions after 10.0.19
I'm running MacOs 10.12.6. Installed latest Python2 2.7.14 with brew. I'm using a clean new python virtual environment and am finding I get errors thrown when I try to pip install with the latest version of PyKat.
I've copied the bash terminal output below. The last version (available in pip) that installs cleanly is 10.0.19 all versions after that throw similar error.
awade@Deep-Thought:/Downloads$ virtualenv testenv
New python executable in /Users/awade/Downloads/testenv/bin/python2.7
Also creating executable in /Users/awade/Downloads/testenv/bin/python
Installing setuptools, pip, wheel...done.
awade@Deep-Thought:/Downloads$ . testenv/bin/activate
(testenv) awade@Deep-Thought:~/Downloads$ pip install PyKat
Collecting PyKat
Using cached PyKat-1.1.194.tar.gz
Collecting numpy>=1.12 (from PyKat)
Using cached numpy-1.14.2-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Collecting flask>=0.10.1 (from PyKat)
Using cached Flask-0.12.2-py2.py3-none-any.whl
Collecting scipy (from PyKat)
Using cached scipy-1.0.0-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Collecting six (from PyKat)
Using cached six-1.11.0-py2.py3-none-any.whl
Collecting h5py (from PyKat)
Using cached h5py-2.7.1-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Collecting pandas (from PyKat)
Using cached pandas-0.22.0-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Collecting matplotlib (from PyKat)
Using cached matplotlib-2.2.2-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Collecting itsdangerous>=0.21 (from flask>=0.10.1->PyKat)
Collecting Werkzeug>=0.7 (from flask>=0.10.1->PyKat)
Using cached Werkzeug-0.14.1-py2.py3-none-any.whl
Collecting Jinja2>=2.4 (from flask>=0.10.1->PyKat)
Using cached Jinja2-2.10-py2.py3-none-any.whl
Collecting click>=2.0 (from flask>=0.10.1->PyKat)
Using cached click-6.7-py2.py3-none-any.whl
Collecting pytz>=2011k (from pandas->PyKat)
Using cached pytz-2018.3-py2.py3-none-any.whl
Collecting python-dateutil (from pandas->PyKat)
Using cached python_dateutil-2.7.0-py2.py3-none-any.whl
Collecting subprocess32 (from matplotlib->PyKat)
Collecting backports.functools-lru-cache (from matplotlib->PyKat)
Using cached backports.functools_lru_cache-1.5-py2.py3-none-any.whl
Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 (from matplotlib->PyKat)
Using cached pyparsing-2.2.0-py2.py3-none-any.whl
Collecting cycler>=0.10 (from matplotlib->PyKat)
Using cached cycler-0.10.0-py2.py3-none-any.whl
Collecting kiwisolver>=1.0.1 (from matplotlib->PyKat)
Using cached kiwisolver-1.0.1-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Collecting MarkupSafe>=0.23 (from Jinja2>=2.4->flask>=0.10.1->PyKat)
Requirement already satisfied: setuptools in ./testenv/lib/python2.7/site-packages (from kiwisolver>=1.0.1->matplotlib->PyKat)
Building wheels for collected packages: PyKat
Running setup.py bdist_wheel for PyKat ... error
Complete output from command /Users/awade/Downloads/testenv/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/28/469h9x852jj_lyf_td5xyptc0000gp/T/pip-build-MNcg8E/PyKat/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 /var/folders/28/469h9x852jj_lyf_td5xyptc0000gp/T/tmpjfTSYtpip-wheel- --python-tag cp27:
fatal: Not a git repository (or any of the parent directories): .git
Traceback (most recent call last):
File "", line 1, in
File "/private/var/folders/28/469h9x852jj_lyf_td5xyptc0000gp/T/pip-build-MNcg8E/PyKat/setup.py", line 24, in
with open(version_py, 'r') as fh:
IOError: [Errno 2] No such file or directory: '/private/var/folders/28/469h9x852jj_lyf_td5xyptc0000gp/T/pip-build-MNcg8E/PyKat/pykat/_version.py'
Failed building wheel for PyKat Running setup.py clean for PyKat Complete output from command /Users/awade/Downloads/testenv/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/28/469h9x852jj_lyf_td5xyptc0000gp/T/pip-build-MNcg8E/PyKat/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" clean --all: fatal: Not a git repository (or any of the parent directories): .git Traceback (most recent call last): File "", line 1, in File "/private/var/folders/28/469h9x852jj_lyf_td5xyptc0000gp/T/pip-build-MNcg8E/PyKat/setup.py", line 24, in with open(version_py, 'r') as fh: IOError: [Errno 2] No such file or directory: '/private/var/folders/28/469h9x852jj_lyf_td5xyptc0000gp/T/pip-build-MNcg8E/PyKat/pykat/_version.py'
Failed cleaning build dir for PyKat Failed to build PyKat Installing collected packages: numpy, itsdangerous, Werkzeug, MarkupSafe, Jinja2, click, flask, scipy, six, h5py, pytz, python-dateutil, pandas, subprocess32, backports.functools-lru-cache, pyparsing, cycler, kiwisolver, matplotlib, PyKat Running setup.py install for PyKat ... error Complete output from command /Users/awade/Downloads/testenv/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/28/469h9x852jj_lyf_td5xyptc0000gp/T/pip-build-MNcg8E/PyKat/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /var/folders/28/469h9x852jj_lyf_td5xyptc0000gp/T/pip-DkhvL9-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/awade/Downloads/testenv/bin/../include/site/python2.7/PyKat: fatal: Not a git repository (or any of the parent directories): .git Traceback (most recent call last): File "", line 1, in File "/private/var/folders/28/469h9x852jj_lyf_td5xyptc0000gp/T/pip-build-MNcg8E/PyKat/setup.py", line 24, in with open(version_py, 'r') as fh: IOError: [Errno 2] No such file or directory: '/private/var/folders/28/469h9x852jj_lyf_td5xyptc0000gp/T/pip-build-MNcg8E/PyKat/pykat/_version.py'
----------------------------------------
Command "/Users/awade/Downloads/testenv/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/28/469h9x852jj_lyf_td5xyptc0000gp/T/pip-build-MNcg8E/PyKat/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /var/folders/28/469h9x852jj_lyf_td5xyptc0000gp/T/pip-DkhvL9-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/awade/Downloads/testenv/bin/../include/site/python2.7/PyKat" failed with error code 1 in /private/var/folders/28/469h9x852jj_lyf_td5xyptc0000gp/T/pip-build-MNcg8E/PyKat/