GEOUNED-org / GEOUNED

A tool to convert CAD to CSG & CSG to CAD for Monte Carlo transport codes
European Union Public License 1.2
53 stars 29 forks source link

[BUG] - Windows installation seems to be broken #260

Open AlvaroCubi opened 1 month ago

AlvaroCubi commented 1 month ago

Describe the bug

Following the instructions for the Windows installation with Anaconda did not work for me. I created a new environment, activated it and used the command: conda install -c conda-forge geouned -y

To Reproduce

Follow the instructions for installation on Windows via Anaconda as stated in the documentation.

Expected behavior

A full installation that doesnt require the installation of FreeCAD independently.

Error message

(using_geouned) D:\WORK\using_GEOUNED>conda install -c conda-forge geouned -y Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

Current channels:

To search for alternate channels that may provide the conda package you're looking for, navigate to

https://anaconda.org

and use the search bar at the top of the page.

Please complete the following information):

shimwell commented 1 month ago

I think conda supports installing from a url so this might work

conda install https://anaconda.org/conda-forge/geouned/1.2.0/download/noarch/geouned-1.2.0-pyhd8ed1ab_0.conda
AlvaroCubi commented 1 month ago

Thank you @shimwell, the link seems to successfully install GEOUNED but not the FreeCAD software. I get the error: ModuleNotFoundError: No module named 'FreeCAD'

jon-proximafusion commented 1 month ago

As conda can install from the url but does not find the package when asked I think this is something with the locally conda. Perhaps try some of the solutions here https://stackoverflow.com/questions/64651410/conda-cannot-find-packages-to-install

SterlingButters commented 1 month ago

Thank you @shimwell, the link seems to successfully install GEOUNED but not the FreeCAD software. I get the error: ModuleNotFoundError: No module named 'FreeCAD'

@AlvaroCubi, you should be able to just conda install freecad separately although I admittedly did not require this step

jon-proximafusion commented 1 month ago

I notice we had a merge from Develop to main recently, so perhaps there will be a github release soon? which will generate a new to pypi distribution. Then we can update the conda package on conda forge. Perhaps this helps

akolsek commented 1 month ago

@AlvaroCubi, would you be able to help with a new release?

shimwell commented 4 weeks ago

Thanks for making the release

I've just merged in the conda forge package release over here so we should have a new version on conda forge soon

https://github.com/conda-forge/geouned-feedstock/pull/2

akolsek commented 2 weeks ago

@AlvaroCubi, whenever you can, please confirm if the error persists with the new release on conga-forge.