Giter Site home page Giter Site logo

Comments (8)

stefdoerr avatar stefdoerr commented on June 15, 2024

I would prefer not to for a few reasons:

  1. ipython does not come installed by default. You probably installed it yourself in the base environment.
  2. moleculekit's main purpose is not meant to be used interactively like HTMD. It's a library to be used inside other projects. For people who want to program interactively HTMD comes with everything preinstalled.
  3. It's also not a "dependency" of the code in any sense. Adding it in pulls lots of other stuff* which is not needed, potentially causing dependency issues, increasing install times etc, etc.

* Stuff

    package                    |            build
    ---------------------------|-----------------
    decorator-4.4.1            |             py_0          13 KB
    ipython-7.9.0              |   py37h39e3cac_0         1.1 MB
    jedi-0.15.1                |           py37_0         704 KB
    parso-0.5.1                |             py_0          68 KB
    pexpect-4.7.0              |           py37_0          80 KB
    prompt_toolkit-2.0.10      |             py_0         227 KB
    pygments-2.4.2             |             py_0         664 KB
    traitlets-4.3.3            |           py37_0         138 KB
    ------------------------------------------------------------

from moleculekit.

giadefa avatar giadefa commented on June 15, 2024

from moleculekit.

stefdoerr avatar stefdoerr commented on June 15, 2024

The size is just a minor issue. As I said: a) ipython not installed by default. The problem is specific to your own setup b) it's not a real dep c) HTMD takes care of having an interactive installation.

from moleculekit.

giadefa avatar giadefa commented on June 15, 2024

from moleculekit.

stefdoerr avatar stefdoerr commented on June 15, 2024

from moleculekit.

giadefa avatar giadefa commented on June 15, 2024

from moleculekit.

stefdoerr avatar stefdoerr commented on June 15, 2024

No, I'm trying to point out that this only happened because of your specific conda setup

(base) stefan@spectre:~$ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
(base) stefan@spectre:~$ bash Miniconda3-latest-Linux-x86_64.sh
(base) stefan@spectre:~$ ipython
Command 'ipython' not found, but can be installed with:
sudo apt install ipython
(base) stefan@spectre:~$ conda install moleculekit -c acellera
(base) stefan@spectre:~$ ipython
Command 'ipython' not found, but can be installed with:
sudo apt install ipython
(base) stefan@spectre:~$ conda install ipython

ipython doesn't come installed with Miniconda.
The issue you had only exists because you explicitly installed ipython in your base environment and then created a different environment with moleculekit.
This would not have happened if a) you installed moleculekit in your base environment b) you hadn't installed ipython in the main environment c) if you were using Jupyter (which many people use). Should we also install jupyter, or Spyder because some people use it?

Examples which don't put ipython in their deps:

I'm totally up for writing a user guide or "Get started" tutorial which shows how to use moleculekit and suggesting to use ipython or jupyter.

from moleculekit.

stefdoerr avatar stefdoerr commented on June 15, 2024

Updated the readme to include detailed info on installation as well as how to use with ipython
d19400a

from moleculekit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.