CadQuery / CadQuery/CQ-editor

CQ-Editor binary release for Linux ignores Conda environment

Open
#253 2 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
1.2k
Forks
210
PR merge metrics
No merged PRs in 30d

Description

I downloaded and installed the 0.2 binary release in `/opt/cq-editor`. I'm using miniconda3 to manage my environment; as such I have a `cad` environment that includes all of the CadQuery libraries as well as other packages I need/like. Here's the `sys.path` when I start Python from a command line.

```
$ python -c "import sys ; print( '\n'.join( sys.path ) )"

/opt/miniconda3/envs/cad/lib/python38.zip
/opt/miniconda3/envs/cad/lib/python3.8
/opt/miniconda3/envs/cad/lib/python3.8/lib-dynload
/home/ct7/.local/lib/python3.8/site-packages
/opt/miniconda3/envs/cad/lib/python3.8/site-packages
```

When I start CQ-Editor from the command line with this env activated, the `sys.path` doesn't include my environment.
```
import sys

print( '\n'.join( sys.path ) )
/opt/cq-editor/CQ-editor/base_library.zip
/opt/cq-editor/CQ-editor
/opt/cq-editor/CQ-editor/IPython/extensions
```

There should be a way to include other packages / libraries into the CQ-editor environment.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.