python-eel / Eel

A little Python library for making simple Electron-like HTML/JS GUI apps
MIT License
6.44k stars 587 forks source link

Is it possible to install Eel by using "conda"? #372

Open yuzuri opened 4 years ago

yuzuri commented 4 years ago

This eel package looks very great! I want to use this package to construct GUI.

As I checked, there is a install instruction by using pip. But, in my environment, the administrator prohibit to use pip, in order not to break the environment. Is is possible to install this package by using "conda"? Or, can I install by using another way?

yuzuri commented 4 years ago

I tried to install eel by using conda as following this page. https://anaconda.org/bioconda/python-eel

conda install -c bioconda python-eel

But, this request me to python 2.7. I'm using python 3.7. So, this failed.

samuelhwilliams commented 4 years ago

Do you still have access to the pip command? You should be able to use it to install packages in your user environment, which won't need any admin permissions.

Re: conda, the python-eel package you're trying to install isn't actually this Eel project. It's this project made by someone else to do something else.

I can look into packaging this up for Conda but that's new to me so not sure what's involved.

yuzuri commented 4 years ago

Thank you for reply.

Re: conda, the python-eel package you're trying to install isn't actually this Eel project. It's this project made by someone else to do something else.

Oh.... sorry for misunderstanding.

Do you still have access to the pip command? You should be able to use it to install packages in your user environment, which won't need any admin permissions.

So, the situation is complicated a bit. We are using the common account in one computer. Although I can install new package by using pip, I might break common environment for python. Due to this reason, I want to avoid pip. I will try to investigate the way to install eel package without pip, because this package looks very great! Thank you!

yuzuri commented 4 years ago

I will close this issue. Thanks!

samuelhwilliams commented 4 years ago

Have you heard of/looked at virtual environments? This should give you the ability to have a single shared user account with separate Python environments so that you can install whatever python packages you want without interfering with other users/projects.

yuzuri commented 4 years ago

Yes! Probably that's the solution. I need to move from conda to pip...

yuzuri commented 4 years ago

Hi

In the end, I could install eel by using conda from pypi! Probably this page is fruitful for that purpose.

I left the list of command lines which I used. conda skeleton pypi bottle-websocket conda build bottle-websocket conda install --use-local /Users/hogehoge/anaconda3/conda-bld/osx-64/bottle-websocket-0.2.9-py37_0.tar.bz2 conda skeleton pypi Eel --version 0.13.2 conda build eel conda install --use-local /Users/hogehoge/anaconda3/conda-bld/osx-64/eel-0.13.2-py37_0.tar.bz2 conda install gevent-websocket

Note that the path such as /Users/hogehoge/anaconda3/conda-bld/osx-64/eel-0.13.2-py37_0.tar.bz2 will depends on your environment. Check the printed lines during installation.

I will enjoy your great package! Thanks.