Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install FreeCAD_Conda inside an existing environment #42

Open
hex41434 opened this issue Mar 5, 2021 · 5 comments
Open

install FreeCAD_Conda inside an existing environment #42

hex41434 opened this issue Mar 5, 2021 · 5 comments

Comments

@hex41434
Copy link

hex41434 commented Mar 5, 2021

Hi,

thanks for your previous help, I could successfully create a new <freecad_fem_env> environment and execute my codes on Windows, Mac and Linux.

now my question: I do not know how can I add this package to an existing environment (for instance : running freecad scripts (including fem) inside my existing environment along with Pytorch )

(as a second solution, I think I can create a freecad env and then add Pytorch to it - but I still prefer to use my existing env because I have a lot of dependencies there)

Thanks In advance

@looooo
Copy link
Collaborator

looooo commented Mar 5, 2021

You can simple use conda install freecad within the specific environment. Otherwise you can create a new environment with multiple drpendencies like this:
conda create -n my_env freecad pytorch ...

@hex41434
Copy link
Author

hex41434 commented Mar 5, 2021

I actually tried this:
conda install freecad qt=5.9.* -c freecad/label/dev -c conda-forge

and unfortunately, it has conflict with my Linux: (I have cuda 10.1)

image

could you recommend me an specific version of freecad that FEM toolbox works well and has no conflict with my environment?

@looooo
Copy link
Collaborator

looooo commented Mar 5, 2021

Why 5.9 ? Recent freecad uses qt5.12.

@hex41434
Copy link
Author

hex41434 commented Mar 9, 2021

Why 5.9 ? Recent freecad uses qt5.12.

(sorry for my late reply, I had a very important meeting for today.)

so, I tried simply the last version too:
conda install -c conda-forge freecad

and still has conflicts... I am trying different versions. when I find a solution I would share here.

Regards

@hex41434
Copy link
Author

hex41434 commented Mar 9, 2021

I have a Linux OS and cuda: version 10.1
I tried to install a clean conda environment for pytorch using this link:
conda install pytorch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2 cudatoolkit=10.1 -c pytorch
and then
conda install -c conda-forge freecad
and I got this:

image

I would be happy if you have any suggestion ( I need FEM package besides Pytorch)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants