partcad icon indicating copy to clipboard operation
partcad copied to clipboard

Installation (cortibutor type) on Windows 10

Open 42sol-eu opened this issue 1 year ago • 5 comments

I can not get PartCAD and PartCAD-CLI installed without errors using the version 0.5.11. (using VS Code Insider Build or VS Code ) This errors were thrown with Python 3.10 and 3.11

I used a clean conda environment. (Maybe conda could be the cause of the issue? Or is it the requirements.txt that tries to pull the package it from pypi.org ?)

PIP throws dependency errors for part-cad

partcad-cli 0.5.10 requires partcad==0.5.10, but you have partcad 0.5.11 which is incompatible.
Successfully installed partcad-0.5.11

and for partcad-cli

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
partcad-cli 0.5.10 requires partcad==0.5.10, but you have partcad 0.5.11 which is incompatible.

As expected the PartCAD client (VS Code Extensions) also throws error messages.

Tell me if you need more details or have an idea, what is going wrong here.

42sol-eu avatar Mar 09 '24 17:03 42sol-eu

image

42sol-eu avatar Mar 09 '24 17:03 42sol-eu

Hi Andreas,

Could you, please, share which branch are you trying to install from? At the moment 0.5.11 is where the devel branch points to. And 0.5.10 is where the main branch points to.

It looks like you aretrying to install 0.5.10. However, in both cases, it says that you already have 0.5.11 installed. Could you, please, uninstall 0.5.11 first?

Please, show the output of

conda activate <env-name>
conda list | grep partcad

Please, note, that the VS Code extension may install the latest PartCAD in PyPI (which is now 0.5.10) in the environment currently activated in VS Code. So whatever installed 0.5.11, it's not the VS Code extension.

For troubleshooting purposes, please, share both the contents of the Terminal View (when PartCAD is selected in the dropdown in the Terminal View) and the contents of the Output View (also, when PartCAD is selected in the dropdown in the Output View).

openvmp avatar Mar 09 '24 20:03 openvmp

Regarding the VSCode errors, is it using the same conda environment?

openvmp avatar Mar 09 '24 21:03 openvmp

I'm not sure what the ask here is and I wasn't able to reproduce it.

openvmp avatar Apr 03 '24 02:04 openvmp

@openvmp sorry. I will send you the data

42sol-eu avatar Apr 03 '24 05:04 42sol-eu

@42sol-eu , is there still any problem left? A lot has changed since then.

openvmp avatar Nov 12 '24 02:11 openvmp

My first test with partcad 0.7.16 I could not reproduce this issue.

After selecting the correct Python interpreter I can use PartCAD now. image

42sol-eu avatar Nov 21 '24 19:11 42sol-eu