Python Forum
How Do I Get the IDE to Find My Imports
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How Do I Get the IDE to Find My Imports
#12
I didn't have the copies at first. I copied them trying to follow the python docs about finding import files. The problem might be with the wild card "import *". I believe in my experiments I was able to import just one specific file. But I have tried so many things over many hours so I could be wrong about that....just maybe.

As for more problems trying GNR with P3.7, I am sure you are right. I will never get it to work.

I have tried to use the version of IDLE that was bundled in 2.7 but I can't get it to run. There is a BAT file that sets up paths for IDLE but stepping through it one statement at a time seems OK but when the last statement says "start" nothing happens the window goes blank.

I CAN perform exactly the same sequence with the P3.7 version of IDLE and at that point the IDLE (3.7) shell opens.

"Python 2, Python 3, IDLE2, IDLE3, click to run vs run from IDLE". All this is getting hard for me to keep straight but:
Windows has been told to associate file types .py with P2. So clicking on the file runs P2.
The only IDLE I can run is 3 so if I open the file in I3 and try to run it errors out at the first import.
If I try to run the file with P3 the same thing happens.

I believe the release of GNURadio 3.8 is "lost". The last references I can find seem to be November 2017. If I knew what I was doing I might volunteer my time to help them.

Since ultimately my project will be hosted on a Raspberry Pi, and my RPi arrived a few days ago, maybe I should take the plunge to the RPi. I had hoped to do most of the development on this desktop.

Thanks for all your help and patience

Pete.
Reply


Messages In This Thread
How Do I Get the IDE to Find My Imports - by petec - Feb-17-2019, 06:19 PM
RE: How Do I Get the IDE to Find My Imports - by petec - Feb-20-2019, 09:14 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Imports that work with Python 3.8 fail with 3.9 and 3.10 4slam 1 2,630 Mar-11-2022, 01:50 PM
Last Post: snippsat
  Imports in my first package cuppajoeman 1 1,978 Jun-28-2021, 09:06 AM
Last Post: snippsat
  script with imports works but pytest gives "ModuleNotFoundError"? Hpao 0 1,589 Jun-27-2021, 08:30 PM
Last Post: Hpao
  Help wanted with python imports petros21 3 2,621 Apr-07-2021, 07:16 PM
Last Post: snippsat
Question How to include Modules not found (conditional imports) in my setup.py when I want to cff 0 3,853 Mar-17-2021, 11:57 AM
Last Post: cff
  threading across imports Nickd12 2 2,181 Nov-09-2020, 01:59 AM
Last Post: Nickd12
  refreshing imports seandepagnier 4 2,775 Sep-20-2020, 11:51 PM
Last Post: seandepagnier
  Multimode imports fine as script but not after compiling into exe chesschaser 0 2,436 Aug-13-2020, 01:28 PM
Last Post: chesschaser
  absolute imports between folders mikisDW 0 1,568 Aug-05-2020, 12:26 PM
Last Post: mikisDW
  Understanding the concept ( Modules , imports ) erfanakbari1 1 2,230 Nov-25-2019, 01:59 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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