Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8689763
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T23:44:16+00:00 2026-06-12T23:44:16+00:00

I have a problem and I can’t figure out what the issue is. The

  • 0

I have a problem and I can’t figure out what the issue is. The embedded code (the simplest sample code from the 3.2 docs, just to try to debug) WILL NOT run the target function. The Process completes, the program imports and runs without error, Python 3.2 is correctly installed and the directory added to the Path environment variable. I am running the program from IDLE with f5, and every other bit of code works perfectly, however the code within the target function ‘f’ (in this case) SIMPLY DOES NOT RUN. As you can understand, this is suuuuper frustrating. This code will not print, and every test print within the target function (as well as any function) simply does not execute; it is simply skipped over.

#!/usr/bin/env python
from multiprocessing import Process

def f(name):
    print('hello', name)

if __name__ == '__main__':
    p = Process(target=f, args=('bob',))
    p.start()

Any thoughts? I’m running Python 3.2 on a Windows 7 system, and multiprocessing has successfully run on my system with Python 2.7 (though my project DOES require me to develop in 3.2). Sorry for such a simple problem which I imagine must be some path problem, but I’m just not sure what I might have to do to make this work and couldn’t find any solution from Google, since Python certainly recognizes the package (and fails when it’s misspelled); it just doesn’t behave correctly. Thanks for any help/advice!!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T23:44:18+00:00Added an answer on June 12, 2026 at 11:44 pm

    Multiprocessing and IDLE don’t work well together. Make sure it runs outside IDLE, and if so, you’re good.

    I don’t use IDEs myself so I have no others to offer you, but it is amazing how useful simple prints can be for debugging.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hy, I have a problem and I can't figure it out... declare @start_date datetime,
I have this problem I can't figure out, I query the DB this way:
I have a problem I can't figure out. I have an ajax success function
I have problem I can't figure out but I do have a hint. Before
I have a problem and can't find information. I run my web-app from jsp-page
I have a problem I can't seem to sort out. I have a form
I'm just started with Rails, and have a problem I can't solve myself: User.rb:
I have a problem: how can I delete a line from a text file
I have problem compilin this code..can anyone tell whats wrong with the syntax CREATE
I have a problem and can't find a solution. I am making an accordion

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.