python - Anaconda problems modifying PYHTONPATH in .profile and .bash_profile -


so have .profile , .bash_profile setup follows:

enter image description here

but using anaconda python package.

i'm following these set of instructions found here:

http://www.skirt.ugent.be/pts/_install_mac_set_up.html

and receiving error message:

enter image description here

"no module named pts"

does know have gone wrong?? there seems comflict anaconda , pythonpath= command in .bash_profile file...?

any suggestions on how fix this/marry 2 appreciated!

you have set pythonpath incorrectly. included 1 path component many.

from configuring paths , aliases

add following lines:

export pythonpath=~/pts alias pts="python -m pts.do" alias ipts="python -im pts.do" 

but added equivalent of

export pythonpath=~/pts/pts 

which path includes pts module error complaining about.

remove /pts bit pythonpath line , things should work.


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo