gp1313 / iep

Automatically exported from code.google.com/p/iep
0 stars 0 forks source link

No module name 'picture' #162

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. download module 'picture.py'
2. import module in program and try to call

What is the expected output? What do you see instead?
It should draw many boxes in a pyramidal shape, but error received instead.

What version of the product are you using? On what operating system?
mac os x 10.6.8

Please provide any additional information below.
I tried to copy the module to the python directory folder using 

ip-:bin zack$    <this part>  cp  -av /users/zack/code/cs150/lab03/picture* 
/usr/local/bin/
cp: /usr/local/bin/picture.py: Permission denied

Original issue reported on code.google.com by zack...@gmail.com on 21 Feb 2013 at 7:49

GoogleCodeExporter commented 8 years ago
Make sure that the module is on your PYTHONPATH. When in interactive mode, it 
is enough if the module is in your current directory.

In IEP, you can set the Pythonpath in "shell > shell configurations".

You cannot copy files to /usr/local/bin/ without admin rights. You *should* not 
copy script files there, anyway.

Best of luck,
  Almar

Original comment by almar.klein@gmail.com on 21 Feb 2013 at 10:14

GoogleCodeExporter commented 8 years ago
Issue 175 has been merged into this issue.

Original comment by almar.klein@gmail.com on 4 Mar 2013 at 8:50

GoogleCodeExporter commented 8 years ago
Issue 175 has been merged into this issue.

Original comment by almar.klein@gmail.com on 4 Mar 2013 at 8:52