Closed aseembits93 closed 3 years ago
How did you install petastorm? Seems like it's not installed in your python environment.
Would python -c "import petastorm"
work?
What does pip list | grep petastorm
shows?
pip list | grep petastorm
shows petastorm 0.11.1
python -c "import petastorm"
works fine
What about python -c "import petastorm.codecs"
?
I figured out the problem. I naively named my file as petastorm.py, after renaming it to anything else, everything works perfectly. Sorry for the trouble, Cheers!
I get the following error when I try to run this ->
I'm suspecting it has something to do with the order of importing petastorm and pyspark as mentioned in another issue. Thanks!