You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Matthew Rocklin (JIRA)" <ji...@apache.org> on 2018/09/21 01:16:00 UTC

[jira] [Created] (ARROW-3280) [Python] Difficulty running tests after conda install

Matthew Rocklin created ARROW-3280:
--------------------------------------

             Summary: [Python] Difficulty running tests after conda install
                 Key: ARROW-3280
                 URL: https://issues.apache.org/jira/browse/ARROW-3280
             Project: Apache Arrow
          Issue Type: Bug
          Components: Python
    Affects Versions: 0.10.0
         Environment: conda create -n test-arrow pytest ipython pandas nomkl pyarrow -c conda-forge

Ubuntu 16.04
            Reporter: Matthew Rocklin


I install PyArrow from conda-forge, and then try running tests (or import generally)
{code:java}
conda create -n test-arrow pytest ipython pandas nomkl pyarrow -c conda-forge {code}
{code:java}
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{code}
Probably this is something wrong with my environment, but I thought I'd report it as a usability bug



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)