uvemas / ViTables

ViTables, a GUI for PyTables
GNU General Public License v3.0
153 stars 55 forks source link

Unable to create process under conda on Windows #94

Open dacoex opened 5 years ago

dacoex commented 5 years ago

On Windows I installed vitables as instructed here: https://anaconda.org/conda-forge/vitables

When starting via viatables in the conda command window in the same environment I get the following error: 2019-06-11_vitables-from-conda-base-env_issue

The program then aborts :-(

Is this related to https://github.com/uvemas/ViTables/issues/31 ?

charlesbaynham commented 5 years ago

I get the same error

mp-007 commented 4 years ago

To make it work with Anaconda, I have download the zip file on the Vitables GitHub (ViTables-master.zip). After thay you have extracted the zip file, I have open a Command Prompt and I have run this line (note: you must be in the extracted file directory, ex: C:\Users\MyUser\Downloads\ViTables-master):

python setup.py install

After that, just run Vitables my typing in the command prompt (note: this command don't need to be execute in a specific path):

vitables

ankostis commented 4 years ago

@uvema could it be due to gui-scripts entry-point in the setup.py? I don't have good memories with this entry-point, both under Windows & Linux (e.g. stderr/stdout are blocked and app suffers a horrible death).

May i suggest to: a) use simple console_scripts on the setup.py, and b) retrofit conda-recipe to use conda's menuinst to add launch menu-items?

uvemas commented 4 years ago

@ankostis thanks for your suggestions. I'll try to give a look to this problem ASAP.

uvemas commented 4 years ago

In release 3.0.2 I've replaced gui_scripts with console_scripts as suggested by @ankostis. Hope it helps (the conda package is not yet ready, https://github.com/conda-forge/vitables-feedstock/pull/14).

uvemas commented 4 years ago

The new conda package is available. You can try it and see if it works for you.

S-hannon commented 3 years ago

image I have just installed vitables to conda and also get this error

S-hannon commented 3 years ago

image I have just installed vitables to conda and also get this error

Ah, this works: (Anaconda3) > conda create --name vitables pytables pyqt (Anaconda3) > conda activate vitables (vitables) > pip install ViTables

uvemas commented 3 years ago

Yes, its exactly what the FAQ says :-)

meawoppl commented 3 years ago

Same issue here. Notably the windows package instructions here result in a broken installtion as above: https://anaconda.org/conda-forge/vitables