Hi Safiqul! I’m also a MacBook Pro user, so I’ll share how my local setup works. There are three general options that I have found to work: conda with conda environments, pip with virtual environments, and docker images/containers.
- Conda: I would assume you have conda installed since the readme for ipyrad <https://github.com/dereneaton/ipyrad> only includes installation instructions for conda. However, I would recommend using conda environments <https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#>. This helps isolate your conda environments and helps you remain sane :-). - Pip: When using pip you can isolate your environments with venv <https://packaging.python.org/tutorials/installing-packages/#creating-virtual-environments> (or other virtual environment manager such as virtualenv <https://github.com/pypa/virtualenv>). - Docker: using docker <https://www.docker.com/products/docker-desktop> allows you to isolate your environment within containers. You can also combine the use of virtual environments within the container itself. The jupyter docker-stacks <https://github.com/jupyter/docker-stacks> images have lots of packages pre installed. Once you have your environment setup then: 1. Activate your virtual environment 2. Install package(s) 3. Launch jupyter notebook With docker, you can either build the image from scratch or download one of the pre built images from jupyter docker-stacks <https://github.com/jupyter/docker-stacks> which already have conda installed. Then launch your container and notebook. If things work ok, then you can install ipyrad using notebook magics or the included terminal. This makes it flexible for you to customize your environment and share it with others using a standard docker image regardless of their O/S. > On Dec 20, 2019, at 10:21 AM, Safiqul Islam <[email protected]> wrote: > > Dear all > > I am trying to use jupyter notebook for my analysis but i could sove this is > problem.I am a MacBook Pro user. > I wanted import ipyrad > > import ipyrad as ip > import ipyrad.analysis as ipa > > but i could not manage, > I am quite some of you know how to solve it, please help me thanks a lot > > <Screenshot 2019-12-20 at 16.18.00.png> > > > > > -- > You received this message because you are subscribed to the Google Groups > "Project Jupyter" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jupyter/1fb09aa4-f0a5-41e2-9980-177580b803c3%40googlegroups.com > > <https://groups.google.com/d/msgid/jupyter/1fb09aa4-f0a5-41e2-9980-177580b803c3%40googlegroups.com?utm_medium=email&utm_source=footer>. > <Screenshot 2019-12-20 at 16.18.00.png> -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/C44B7035-843E-48DA-9742-5A117490C994%40gmail.com.
