Re: unable to import pip installed packages and modules in python 3.7.3

2019-07-09 Thread MRAB
On 2019-07-09 17:13, pro_ bro wrote: On Mon, 8 Jul 2019 22:37 pro_ bro, wrote: environmental variables are all good ,(i also set path for site-packages,scripts ) when i install any package using pip it says installation is successful, but when i try to import the package(module) it says "NO

Re: unable to import pip installed packages and modules in python 3.7.3

2019-07-09 Thread Barry Scott
If you included an image of the screen it was striped from your email. Use the mouse to select the text in the cmd window and paste that into the email. Show the command you issued and all the messages it prints. There i no need for upper case text. Barry > On 9 Jul 2019, at 17:13, pro_ bro

Re: unable to import pip installed packages and modules in python 3.7.3

2019-07-09 Thread pro_ bro
On Mon, 8 Jul 2019 22:37 pro_ bro, wrote: > environmental variables are all good ,(i also set path for > site-packages,scripts ) > when i install any package using pip it says installation is successful, > but when i try to import the package(module) it says "NO MODULE NAMED > (MODULE NAME)" >

Re: Packages and modules

2005-07-26 Thread Peter Hansen
Dan wrote: >>>no executable code in >>>__init__.py is executed, even though "import test" seems to succeed. > > I've discovered that "import test" *does* cause executable code in the > package to be executed. However, I can't execute it on the command line > using "python test". Is there a way to

Re: Packages and modules

2005-07-26 Thread Dan
> > no executable code in > > __init__.py is executed, even though "import test" seems to succeed. I've discovered that "import test" *does* cause executable code in the package to be executed. However, I can't execute it on the command line using "python test". Is there a way to do this? > There

Re: Packages and modules

2005-07-26 Thread Peter Hansen
Dan Richter wrote: > I'm trying to create a package+module structure, specifically a "test" > package with all the unit tests. I'd like to have a package (directory) > "test" that has various test modules, and I'd also like "test" itself to > be a module that runs all the tests. Is this not possibl

Packages and modules

2005-07-26 Thread Dan Richter
I'm trying to create a package+module structure, specifically a "test" package with all the unit tests. I'd like to have a package (directory) "test" that has various test modules, and I'd also like "test" itself to be a module that runs all the tests. Is this not possible? I created a directory c