1
I was able to pip install pymssql globally but can't get it to install properly with pipenv.
version info:
- pip: 19.1.1
- python: 3.6.8
- pymssql: 2.1.4
- pipenv: 2018.11.26
Here is the error I keep getting:
[pipenv.exceptions.InstallError]:
[
'Collecting pymssql==2.1.4 (from -r /var/folders/fs/7l0flc8x7tb6hpdj1fz8tvy80000gp/T/pipenv-h6mrvdwf-requirements/pipenv-ihsozeyq-requirement.txt (line 1))',
'Using cached https://files.pythonhosted.org/packages/2e/81/99562b93d75f3fc5956fa65decfb35b38a4ee97cf93c1d0d3cb799fffb99/pymssql-2.1.4.tar.gz'
]
[pipenv.exceptions.InstallError]:
[
'ERROR: Complete output from command python setup.py egg_info:',
'ERROR: /Users/user/.pyenv/versions/3.6.8/envs/local-env/lib/python3.6/site-packages/setuptools/dist.py:42: DistDeprecationWarning: Do not call this function', ' warnings.warn("Do not call this function", DistDeprecationWarning)',
'Traceback (most recent call last):',
'File "<string>", line 1, in <module>',
'File "/private/var/folders/fs/7l0flc8x7tb6hpdj1fz8tvy80000gp/T/pip-install-x4qssqtr/pymssql/setup.py", line 88, in <module>',
'from Cython.Distutils import build_ext as _build_ext',
"ModuleNotFoundError: No module named 'Cython'",
'----------------------------------------',
'ERROR: Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/fs/7l0flc8x7tb6hpdj1fz8tvy80000gp/T/pip-install-x4qssqtr/pymssql/'
]
Maybe I am missing something here. Any suggestions help.
Thank you in advance.
E.g.
pip install cython
, perhaps? – Anaksunaman – 2019-06-26T04:53:03.127