1

I've got a Chromebook running Ubutu. I just created my own package I need my programs to access. I got it all working on Mac OSX last night, and the source code is all the same. There is an init.py file (with underscores!) in the package directory. I have tried setting PYTHONPATH in both my .bashrc and .profile. I echo it to the terminal, and it displays the right directory for my package. But when I run Python and look at sys.path, the directory has not been added to sys.path! I did all these same steps on Mac OSX last night, and saw the new dir show up fine in sys.path.

1 Answers1

0

I have met the similar question, but mine is PyCharm, not the anaconda. I just add the path in PyCharm interpreters configuration,then it works. I don't know if the anaconda have the similar settings. I hope it works for you.

Tim Diekmann
  • 7,755
  • 11
  • 41
  • 69