Reputation: 21
when I run a programme containing:-
from pythonds.basic.stack import Stack
it says:- ImportError: No module named pythonds.basic.stack
Please help me out.
Upvotes: 2
Views: 8116
Reputation: 990
If you don't have the Python PATH variable configured, then type this into your command prompt:
C:\Python34\Scripts\pip install LIBRARY NAME
This path is only and example. change it wherever you have Python in your pc.
Upvotes: 1
Reputation: 10284
pip install pythonds
.
And then from pythonds.basic.stack import Stack
. Note that it's Stack
, not stack
.
Upvotes: 6