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
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
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)"
>
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
> > 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
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
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