简体   繁体   中英

How can I install pythonds module?

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.

pip install pythonds .

And then from pythonds.basic.stack import Stack . Note that it's Stack , not stack .

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM