You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@livy.apache.org by GitBox <gi...@apache.org> on 2022/09/30 14:30:20 UTC

[GitHub] [incubator-livy] uberadam2392 commented on pull request #314: [LIVY-795] Add support for PySpark with Python >= 3.8

uberadam2392 commented on PR #314:
URL: https://github.com/apache/incubator-livy/pull/314#issuecomment-1263651574

   Hi I ran into this issue recently, where if I run my code as follows in separate cells line-by-line, there is no error:
   
   ```
   import scipy
   ```
   
   ```
   print(scipy.__version__)
   ```
   
   ```
   import IPython
   ```
   
   But as soon as I put them into the same Jupyter cell:
   
   ```
   import scipy
   import IPython
   print(scipy.__version__)
   ```
   
   I get the following error:
   
   ```
   required field "type_ignores" missing from Module
   Traceback (most recent call last):
     File "/tmp/362488836129912165", line 215, in execute
       code = compile(mod, self.cell_name, 'exec')
   TypeError: required field "type_ignores" missing from Module
   ```
   
   See attached screenshot.
   
   <img width="1104" alt="Screen Shot 2022-09-30 at 10 28 19 AM" src="https://user-images.githubusercontent.com/113077556/193292221-7b15c5e3-07c8-4fb7-a79f-0966b2c54430.png">
   
   Is there anyway to fix this on the user end? I have a SparkMagic / PySpark cluster provisioned for me, and Idk how long a hack fix would take upstream...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@livy.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org