Conda list shows a package but cannot import it

前端 未结 7 1770
野趣味
野趣味 2021-01-01 16:22

Here an issue i\'m having on a conda Virtual env. I\'m using ubuntu 64b guest on windows 7 host with Virtual Box.

So when i\'m doing :

source activat         


        
7条回答
  •  无人及你
    2021-01-01 17:09

    I meet the same problem, and tried all the given solutions to solve this problem, they didn't work for me.
    Finally I just add the package installed directory to sys.path:

    import sys  
    sys.path.apend('/Users/eng/anaconda3/envs/paddle/lib/python2.7/site-packages')
    

    it workded.

提交回复
热议问题