neuniversity / ALY6140

1 stars 3 forks source link

Cannot import installed module #12

Open ZelingJiang opened 5 years ago

ZelingJiang commented 5 years ago

I installed pyabf module in py36. But when I tried to import pyabf to jupyter notebook, it shows no module is found. Has anyone encountered with the same problem?

mziyadi commented 5 years ago

Check if you have installed it in your desired (py36) environment or not. It is possible that you might have installed it in another python environment such as root in anaconda envs. The right steps would be: 1- open a terminal in mac or anaconda prompt command line in windows 2- type "conda activate py36" or "source activate py36" (you should have created it before) 3- type "pip install pyabf Now, you installed the package in python environment of py36 and you should be able to restart the kernel in jupyter notebook and import the package.

let us know if you could resolve it.

ZelingJiang commented 5 years ago

Thank you very much! I accidentally find that it works after I restart the computer.