question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TypeError when importing modin

See original GitHub issue

System information

  • Amazon linux (Centos):
  • Modin installed from binary:
  • Modin version: 0.2.2:
  • Python version: 3.7.0:
  • Ray version: 0.5.3
  • import modin.pandas:

Describe the problem

I am getting an import error because of an unexpected argument use_raylet

Source code / logs

In [1]: import modin.pandas
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-1-d42df328a6c7> in <module>()
----> 1 import modin.pandas

~/anaconda3/lib/python3.7/site-packages/modin/pandas/__init__.py in <module>()
     78             include_webui=False,
     79             redirect_worker_output=True,
---> 80             use_raylet=True,
     81         )
     82 except AssertionError:

TypeError: init() got an unexpected keyword argument 'use_raylet'

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
devin-petersohncommented, Oct 31, 2018

Hi @ek-nath, I did a bit more digging. It looks like you may have recently built Ray from source. We depend on the pypi release of Ray, and the ray.init API changed slightly since the last Ray release. If you want to resolve this issue, you will have to install Ray using pip (pip install ray).

cc @robertnishihara

0reactions
ek-nathcommented, Oct 31, 2018

Success @devin-petersohn

python -c "import modin.pandas"
Process STDOUT and STDERR is being redirected to /tmp/ray/session_2018-10-31_20-41-01_29838/logs.
Waiting for redis server at 127.0.0.1:12739 to respond...
Waiting for redis server at 127.0.0.1:17503 to respond...
Starting the Plasma object store with 6.4900694009999995 GB memory using /dev/shm.
Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeError when using modin with pd.cut(df[column],300)
I can't seem to get Modin to perform the way that I want out of the box, the way I expected. pandas ·...
Read more >
Error importing Modin
Trying to install Modin. It looks like an issue with my version of pandas which is 1.4. 2 (the latest).
Read more >
Release 0+untagged.50.g9a95a2f.dirty Modin contributors
import statement, you're ready to use Modin just like you would pandas, since the ... .agg(int-value) produces TypeError in older pandas but Modin...
Read more >
How to use the modin.pandas function in modin - Snyk
import os import modin.pandas as pd from utils import time_logger import numpy as ... DataFrame(data) except (TypeError, KeyError) as exc: err_msg = f"Error ......
Read more >
typeerror: unhashable type: 'series' - You.com | The Search ...
python ### built-in import argparse import json ### dependencies # parallel pandas - https://github.com/modin-project/modin import modin.pandas as pd if ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found