I install PyArrow from conda-forge, and then try running tests (or import generally)
conda create -n test-arrow pytest ipython pandas nomkl pyarrow -c conda-forge
mrocklin@carbon:~/workspace/arrow/python$ py.test pyarrow/tests/test_parquet.py
Traceback (most recent call last):
File "/home/mrocklin/Software/anaconda/lib/python3.6/site-packages/_pytest/config.py", line 328, in _getconftestmodules
return self._path2confmods[path]
KeyError: local('/home/mrocklin/workspace/arrow/python/pyarrow/tests/test_parquet.py')During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/mrocklin/Software/anaconda/lib/python3.6/site-packages/_pytest/config.py", line 328, in _getconftestmodules
return self._path2confmods[path]
KeyError: local('/home/mrocklin/workspace/arrow/python/pyarrow/tests')During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/mrocklin/Software/anaconda/lib/python3.6/site-packages/_pytest/config.py", line 359, in _importconftest
return self._conftestpath2mod[conftestpath]
KeyError: local('/home/mrocklin/workspace/arrow/python/pyarrow/tests/conftest.py')During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/mrocklin/Software/anaconda/lib/python3.6/site-packages/_pytest/config.py", line 365, in _importconftest
mod = conftestpath.pyimport()
File "/home/mrocklin/Software/anaconda/lib/python3.6/site-packages/py/_path/local.py", line 668, in pyimport
__import__(modname)
File "/home/mrocklin/workspace/arrow/python/pyarrow/__init__.py", line 54, in <module>
from pyarrow.lib import cpu_count, set_cpu_count
ModuleNotFoundError: No module named 'pyarrow.lib'
ERROR: could not load /home/mrocklin/workspace/arrow/python/pyarrow/tests/conftest.py
Probably this is something wrong with my environment, but I thought I'd report it as a usability bug
Environment: conda create -n test-arrow pytest ipython pandas nomkl pyarrow -c conda-forge
Ubuntu 16.04
Reporter: Matthew Rocklin / @mrocklin
Note: This issue was originally created as ARROW-3280. Please see the migration documentation for further details.
I install PyArrow from conda-forge, and then try running tests (or import generally)
Probably this is something wrong with my environment, but I thought I'd report it as a usability bug
Environment: conda create -n test-arrow pytest ipython pandas nomkl pyarrow -c conda-forge
Ubuntu 16.04
Reporter: Matthew Rocklin / @mrocklin
Note: This issue was originally created as ARROW-3280. Please see the migration documentation for further details.