Python Forum
Importing module from a package results in import error
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Importing module from a package results in import error
#3
(Mar-27-2020, 06:42 PM)Malt Wrote: If you want to run your program from /home/pkg then you can actually make a call to change your directory path to /home/pkg using os.chdir() in client.py

I don't want to force the client into doing that.
Reply


Messages In This Thread
RE: Importing module from a package results in import error - by goghvv - Mar-27-2020, 07:13 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  qpython package error Creepy 5 1,218 Apr-19-2024, 10:35 AM
Last Post: masonsbore
  importing variables from module 8376459 1 300 Feb-18-2024, 02:24 PM
Last Post: deanhystad
  no module named 'docx' when importing docx MaartenRo 1 958 Dec-31-2023, 11:21 AM
Last Post: deanhystad
  is import cointegration_analysis a recognized module mitcht33 1 461 Nov-06-2023, 09:29 PM
Last Post: deanhystad
  getpass.getpass() results in AttributeError: module 'os' has no attribute 'O_NOCTTY' EarthAndMoon 4 814 Oct-03-2023, 02:00 PM
Last Post: deanhystad
  problem in import module from other folder akbarza 5 1,511 Sep-01-2023, 07:48 AM
Last Post: Gribouillis
  can not import anaconda pandas module. PySpark pandas module is imported!! aupres 0 741 Aug-06-2023, 01:09 AM
Last Post: aupres
  Error on import: SyntaxError: source code string cannot contain null bytes kirkwilliams2049 7 7,021 Aug-03-2023, 06:00 PM
Last Post: Gribouillis
  pyarrow error when importing pandas sravva 1 961 Jun-06-2023, 05:09 PM
Last Post: snippsat
  import module error tantony 5 3,532 Dec-15-2022, 01:55 PM
Last Post: Lauraburmrs

Forum Jump:

User Panel Messages

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