Open ishfaq333 opened 2 years ago
Hi ishfaq,
It’s the issue of joblib library. Recent updated version of python3 are not compatible with the version joblib included with the code. You need to delete the joblib and install latest version of joblib.
Tianqi
On Apr 4, 2022, at 3:23 PM, ishfaq @.***> wrote:
I am getting the following error when running the code.
python3 main_eos_table.py Traceback (most recent call last): File "main_eos_table.py", line 10, in from joblib import Parallel, delayed File "/home/ishfaq/TOVsolver/quaryonic_eos/quaryonic_eos-master/joblib/init.py", line 119, in from .parallel import Parallel File "/home/ishfaq/TOVsolver/quaryonic_eos/quaryonic_eos-master/joblib/parallel.py", line 28, in from ._parallel_backends import (FallbackToBackend, MultiprocessingBackend, File "/home/ishfaq/TOVsolver/quaryonic_eos/quaryonic_eos-master/joblib/_parallel_backends.py", line 22, in from .executor import get_memmapping_executor File "/home/ishfaq/TOVsolver/quaryonic_eos/quaryonic_eos-master/joblib/executor.py", line 14, in from .externals.loky.reusable_executor import get_reusable_executor File "/home/ishfaq/TOVsolver/quaryonic_eos/quaryonic_eos-master/joblib/externals/loky/init.py", line 12, in from .backend.reduction import set_loky_pickler File "/home/ishfaq/TOVsolver/quaryonic_eos/quaryonic_eos-master/joblib/externals/loky/backend/reduction.py", line 125, in from joblib.externals import cloudpickle # noqa: F401 File "/home/ishfaq/TOVsolver/quaryonic_eos/quaryonic_eos-master/joblib/externals/cloudpickle/init.py", line 3, in from .cloudpickle import * File "/home/ishfaq/TOVsolver/quaryonic_eos/quaryonic_eos-master/joblib/externals/cloudpickle/cloudpickle.py", line 152, in _cell_set_template_code = _make_cell_set_template_code() File "/home/ishfaq/TOVsolver/quaryonic_eos/quaryonic_eos-master/joblib/externals/cloudpickle/cloudpickle.py", line 133, in _make_cell_set_template_code return types.CodeType( TypeError: an integer is required (got type bytes)
Can you please help me understand what is wrong?
— Reply to this email directly, view it on GitHub https://github.com/sotzee/quaryonic_eos/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFKRQX645KUCSSMXSSUJROTVDM6R7ANCNFSM5SQQHW6Q. You are receiving this because you are subscribed to this thread.
From here https://github.com/joblib/joblib
Wish good!
On Apr 4, 2022, at 3:57 PM, Tianqi Zhao @.***> wrote:
Hi ishfaq,
It’s the issue of joblib library. Recent updated version of python3 are not compatible with the version joblib included with the code. You need to delete the joblib and install latest version of joblib.
Tianqi
On Apr 4, 2022, at 3:23 PM, ishfaq @. @.>> wrote:
I am getting the following error when running the code.
python3 main_eos_table.py Traceback (most recent call last): File "main_eos_table.py", line 10, in from joblib import Parallel, delayed File "/home/ishfaq/TOVsolver/quaryonic_eos/quaryonic_eos-master/joblib/init.py", line 119, in from .parallel import Parallel File "/home/ishfaq/TOVsolver/quaryonic_eos/quaryonic_eos-master/joblib/parallel.py", line 28, in from ._parallel_backends import (FallbackToBackend, MultiprocessingBackend, File "/home/ishfaq/TOVsolver/quaryonic_eos/quaryonic_eos-master/joblib/_parallel_backends.py", line 22, in from .executor import get_memmapping_executor File "/home/ishfaq/TOVsolver/quaryonic_eos/quaryonic_eos-master/joblib/executor.py", line 14, in from .externals.loky.reusable_executor import get_reusable_executor File "/home/ishfaq/TOVsolver/quaryonic_eos/quaryonic_eos-master/joblib/externals/loky/init.py", line 12, in from .backend.reduction import set_loky_pickler File "/home/ishfaq/TOVsolver/quaryonic_eos/quaryonic_eos-master/joblib/externals/loky/backend/reduction.py", line 125, in from joblib.externals import cloudpickle # noqa: F401 File "/home/ishfaq/TOVsolver/quaryonic_eos/quaryonic_eos-master/joblib/externals/cloudpickle/init.py", line 3, in from .cloudpickle import * File "/home/ishfaq/TOVsolver/quaryonic_eos/quaryonic_eos-master/joblib/externals/cloudpickle/cloudpickle.py", line 152, in _cell_set_template_code = _make_cell_set_template_code() File "/home/ishfaq/TOVsolver/quaryonic_eos/quaryonic_eos-master/joblib/externals/cloudpickle/cloudpickle.py", line 133, in _make_cell_set_template_code return types.CodeType( TypeError: an integer is required (got type bytes)
Can you please help me understand what is wrong?
— Reply to this email directly, view it on GitHub https://github.com/sotzee/quaryonic_eos/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFKRQX645KUCSSMXSSUJROTVDM6R7ANCNFSM5SQQHW6Q. You are receiving this because you are subscribed to this thread.
Thank you and sorry for the trouble.
It works fine now.
You are welcome!
On Apr 4, 2022, at 4:12 PM, ishfaq @.***> wrote:
Thank you and sorry for the trouble.
It works fine now.
— Reply to this email directly, view it on GitHub https://github.com/sotzee/quaryonic_eos/issues/1#issuecomment-1087967377, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFKRQXZAJSJT4OYHQ4KWBA3VDNELDANCNFSM5SQQHW6Q. You are receiving this because you commented.
I am getting the following error when running the code.
python3 main_eos_table.py Traceback (most recent call last): File "main_eos_table.py", line 10, in
from joblib import Parallel, delayed
File "/home/ishfaq/TOVsolver/quaryonic_eos/quaryonic_eos-master/joblib/init.py", line 119, in
from .parallel import Parallel
File "/home/ishfaq/TOVsolver/quaryonic_eos/quaryonic_eos-master/joblib/parallel.py", line 28, in
from ._parallel_backends import (FallbackToBackend, MultiprocessingBackend,
File "/home/ishfaq/TOVsolver/quaryonic_eos/quaryonic_eos-master/joblib/_parallel_backends.py", line 22, in
from .executor import get_memmapping_executor
File "/home/ishfaq/TOVsolver/quaryonic_eos/quaryonic_eos-master/joblib/executor.py", line 14, in
from .externals.loky.reusable_executor import get_reusable_executor
File "/home/ishfaq/TOVsolver/quaryonic_eos/quaryonic_eos-master/joblib/externals/loky/init.py", line 12, in
from .backend.reduction import set_loky_pickler
File "/home/ishfaq/TOVsolver/quaryonic_eos/quaryonic_eos-master/joblib/externals/loky/backend/reduction.py", line 125, in
from joblib.externals import cloudpickle # noqa: F401
File "/home/ishfaq/TOVsolver/quaryonic_eos/quaryonic_eos-master/joblib/externals/cloudpickle/init.py", line 3, in
from .cloudpickle import *
File "/home/ishfaq/TOVsolver/quaryonic_eos/quaryonic_eos-master/joblib/externals/cloudpickle/cloudpickle.py", line 152, in
_cell_set_template_code = _make_cell_set_template_code()
File "/home/ishfaq/TOVsolver/quaryonic_eos/quaryonic_eos-master/joblib/externals/cloudpickle/cloudpickle.py", line 133, in _make_cell_set_template_code
return types.CodeType(
TypeError: an integer is required (got type bytes)
Can you please help me understand what is wrong?