Python Forum
Problem with importing an installed package
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with importing an installed package
#5
I don't see how I could be any clearer. Until I did the mod to Python.File my example wouldn't work when run as

D:\>pymsgtest

but it would work when I did

D:\>python

and then typed the two lines in. I presume the problem is related to the py.exe and pyw.exe in C:\Windows plus the fact that there are several copies of python on my computer, only one of which I actually intentionally installed. The others were installed along with Visual Studio, Open Office and JASC PaintShopPro. There is either a conflict between the versions or a config problem. Using Windows settings and looking at app defaults by file type, Windows just reports "Python" for both py and pyw extensions without showing which Python it is defaulting to. Thanks Microsoft.
Reply


Messages In This Thread
RE: Problem with importing an installed package - by Reverend_Jim - Jun-14-2019, 10:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  problem install somewhere package akbarza 1 536 Dec-27-2023, 01:25 PM
Last Post: Gribouillis
  imdby package problem lunacy90 8 1,223 Sep-04-2023, 07:13 PM
Last Post: deanhystad
  when package built, requirements not installed sabuzaki 1 786 Apr-07-2023, 09:01 AM
Last Post: sabuzaki
  Problem with importing python-telegram library into the project gandonio 1 1,630 Nov-01-2022, 02:19 AM
Last Post: deanhystad
  Problem with importing Python file in Visual Studio Code DXav 7 5,297 Jun-15-2022, 12:54 PM
Last Post: snippsat
  Problem: Restart kernel onPydev console when trying to install a python package poppy2020 1 7,794 Nov-25-2020, 06:13 PM
Last Post: Larz60+
  pip list to show all versions of a package installed pvbadiger05b 4 2,576 May-21-2020, 06:48 PM
Last Post: jameshonest
  Package installed through Anaconda "not found" by Python zonova 0 2,347 May-08-2020, 11:50 PM
Last Post: zonova
  Importing module from a package results in import error goghvv 2 2,443 Mar-27-2020, 07:13 PM
Last Post: goghvv
  Error importing package julio2000 3 3,851 Jan-26-2020, 06:15 PM
Last Post: buran

Forum Jump:

User Panel Messages

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