Python Forum
Parallel processing - AttributeError: Can't get attribute 'sktimekmeans'
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Parallel processing - AttributeError: Can't get attribute 'sktimekmeans'
#2
from multiprocessing import Process

p1 = multiprocessing.Process(target=sktimekmeans)
Not sure what this does, but you import Process and try to start multiprocessing.Process. Also. you only start one Process, not 2.
    return kmeanss
You don't catch thr return. You may want a Manager object, a Queue, or logging depending on what type kmeanss is, and what you do with the return.
Reply


Messages In This Thread
RE: Parallel processing - AttributeError: Can't get attribute 'sktimekmeans' - by woooee - Jun-22-2023, 02:33 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  getpass.getpass() results in AttributeError: module 'os' has no attribute 'O_NOCTTY' EarthAndMoon 4 849 Oct-03-2023, 02:00 PM
Last Post: deanhystad
  AttributeError: '_tkinter.tkapp' object has no attribute 'username' Konstantin23 4 1,881 Aug-04-2023, 12:41 PM
Last Post: Konstantin23
  Python: AttributeError: 'PageObject' object has no attribute 'extract_images' Melcu54 2 4,130 Jun-18-2023, 07:47 PM
Last Post: Melcu54
  cx_oracle Error - AttributeError: 'function' object has no attribute 'cursor' birajdarmm 1 2,530 Apr-15-2023, 05:17 PM
Last Post: deanhystad
  Pandas AttributeError: 'DataFrame' object has no attribute 'concat' Sameer33 5 5,918 Feb-17-2023, 06:01 PM
Last Post: Sameer33
  AttributeError: 'numpy.ndarray' object has no attribute 'load' hobbyist 8 7,298 Jul-06-2022, 10:55 AM
Last Post: deanhystad
  AttributeError: 'numpy.int32' object has no attribute 'split' rf_kartal 6 4,562 Jun-24-2022, 08:37 AM
Last Post: Anushka00
  AttributeError: 'list' object has no attribute 'upper' Anldra12 4 5,039 Apr-27-2022, 09:27 AM
Last Post: Anldra12
  AttributeError: 'function' object has no attribute 'metadata 3lnyn0 5 4,762 Mar-28-2022, 04:42 PM
Last Post: Larz60+
  AttributeError: 'list' object has no attribute 'values' ilknurg 4 15,228 Jan-19-2022, 08:33 AM
Last Post: menator01

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020