First time here? Check out the FAQ!

Ask Your Question
1

SAGE - python3 problem import multiprocessing_logging

asked 3 years ago

Miroslaw gravatar image

updated 3 years ago

Dear Collegues,

I need help , I'm trying two days and got headheach:(

system: UBUNTU 20.04
installed SAGE - 64 bit
Python version 3.8

problem is with import modules:

ubuntu@ubuntu2010:~/Desktop/APPS/bdd-predicate$ sage -python3 ecdsa_cli.py
Traceback (most recent call last):
  File "/home/ubuntu/Desktop/APPS/bdd-predicate/ecdsa_cli.py", line 14, in <module>
    from multiprocessing_logging import install_mp_handler
ModuleNotFoundError: No module named 'multiprocessing_logging'

but i have installed:

Python 3.8.6 (default, May 27 2021, 13:28:02) 
[GCC 10.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import multiprocessing_logging
>>>

when I want to once again install multiprocessing_logging:

ubuntu@ubuntu2010:~/Desktop/APPS/bdd-predicate$ pip3 install multiprocessing_logging
Requirement already satisfied: multiprocessing_logging in /usr/local/lib/python3.8/dist-packages/multiprocessing_logging-0.3.1-py3.8.egg (0.3.1)
ubuntu@ubuntu2010:~/Desktop/APPS/bdd-predicate$

how to solve this problem? please help,

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 3 years ago

FrédéricC gravatar image

updated 3 years ago

slelievre gravatar image

Most probably your python3 is not Sage's python3.

Install multiprocessing_logging in Sage's own python3.

See for example the answer to

Preview: (hide)
link

Comments

FrédéricC perfect works.

Miroslaw gravatar imageMiroslaw ( 3 years ago )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 3 years ago

Seen: 301 times

Last updated: Jun 02 '21