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

No module named 'cq_server' - import fails #77

Open
Paul8043 opened this issue Mar 27, 2023 · 5 comments
Open

No module named 'cq_server' - import fails #77

Paul8043 opened this issue Mar 27, 2023 · 5 comments

Comments

@Paul8043
Copy link

I have tried to set up your cadquery-server. This is a very promissing package. I followed as close as possible your procedure from the Readme.md. The installation was without complaints (except of a few warnings) and I could start the web-server.

(xxx) C:\Users\Paul\Projects\Workspace\myscript>cq-server -p 5000
 * Serving Flask app 'src.server'
 * Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
 * Running on all addresses (0.0.0.0)
 * Running on http://127.0.0.1:5000
 * Running on http://192.168.2.116:5000
Press CTRL+C to quit
127.0.0.1 - - [27/Mar/2023 16:24:44] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [27/Mar/2023 16:24:44] "GET /favicon.ico HTTP/1.1" 404 -

Then I tried to run inside VSCode the code-snippet below, it fails at line 2:

import cadquery as cq
from cq_server.ui import ui, show_object, debug

part = cq.Workplane("XY").tag("home")
part = part.box(100,100,50)
part = part.edges("|Z").fillet(10)
part = part.faces("+Z").workplane()
part = part.circle(20).cutThruAll()

show_object(part,name="part",options={"alpha":0.2,"color":(255,170,0)})

and got this exception:

Ausnahme: ModuleNotFoundError
No module named 'cq_server'
  File "C:\Users\Paul\Projects\Workspace\myscript\myscript.py", line 2, in <module>
    from cq_server.ui import ui, show_object, debug
ModuleNotFoundError: No module named 'cq_server'

Please help.

I have created a totally new environment for this experiment. See the instructions below:

mamba create --name xxx
mamba activate xxx
mamba install -c cadquery python=3.11 cadquery=master cq-editor=master
pip install --upgrade pip setuptools
pip install cadquery-server
cd  "C:\Users\Paul\Projects\Workspace\myscript"
code myscript.py

Just for completeness I have added the output of "mamba list":

(xxx) C:\Users\Paul>mamba list
# packages in environment at C:\Users\Paul\mambaforge\envs\xxx:
#
# Name                    Version                   Build  Channel
aiohttp                   3.8.3           py311h2bbff1b_0
aiosignal                 1.2.0              pyhd3eb1b0_0
alabaster                 0.7.12             pyhd3eb1b0_0
anyio                     3.6.2                    pypi_0    pypi
aom                       3.5.0                h63175ca_0    conda-forge
argon2-cffi               21.3.0                   pypi_0    pypi
argon2-cffi-bindings      21.2.0                   pypi_0    pypi
arrow                     1.2.3           py311haa95532_1
astroid                   2.14.2          py311haa95532_0
asttokens                 2.0.5              pyhd3eb1b0_0
async-timeout             4.0.2           py311haa95532_0
atomicwrites              1.4.0                      py_0
attrs                     22.1.0          py311haa95532_0
autopep8                  1.6.0              pyhd3eb1b0_1
babel                     2.11.0          py311haa95532_0
backcall                  0.2.0              pyhd3eb1b0_0
bcrypt                    3.2.0           py311h2bbff1b_1
beautifulsoup4            4.11.1          py311haa95532_0
binaryornot               0.4.4              pyhd3eb1b0_1
black                     22.6.0          py311haa95532_0
bleach                    4.1.0              pyhd3eb1b0_0
brotlipy                  0.7.0           py311h2bbff1b_1002
bzip2                     1.0.8                he774522_0
ca-certificates           2023.01.10           haa95532_0
cachetools                5.2.1                    pypi_0    pypi
cad-viewer-widget         1.4.1                    pypi_0    pypi
cadquery                  master                   py3.11    cadquery
cadquery-massembly        0.9.0                    pypi_0    pypi
cadquery-server           0.1.5                    pypi_0    pypi
casadi                    3.5.5           py311he26517d_18    conda-forge
certifi                   2022.12.7       py311haa95532_0
cffi                      1.15.1          py311h2bbff1b_3
chardet                   4.0.0           py311haa95532_1003
charset-normalizer        2.0.4              pyhd3eb1b0_0
click                     8.0.4           py311haa95532_0
cloudpickle               2.0.0              pyhd3eb1b0_0
colorama                  0.4.6           py311haa95532_0
comm                      0.1.2           py311haa95532_0
contourpy                 1.0.7                    pypi_0    pypi
cookiecutter              1.7.3              pyhd3eb1b0_0
cq-editor                 master                     py_0    cadquery
cryptography              39.0.1          py311h21b164f_0
curl                      7.88.1               h2bbff1b_0
cycler                    0.11.0                   pypi_0    pypi
debugpy                   1.5.1           py311hd77b12b_0
decorator                 5.1.1              pyhd3eb1b0_0
defusedxml                0.7.1              pyhd3eb1b0_0
diff-match-patch          20200713           pyhd3eb1b0_0
dill                      0.3.6           py311haa95532_0
docstring-to-markdown     0.11            py311haa95532_0
docutils                  0.18.1          py311haa95532_3
double-conversion         3.2.0                h63175ca_1    conda-forge
eigen                     3.3.7                h59b6b97_1
entrypoints               0.4             py311haa95532_0
executing                 0.8.3              pyhd3eb1b0_0
expat                     2.5.0                h1537add_0    conda-forge
ezdxf                     1.0.2           py311h005e61a_0    conda-forge
ffmpeg                    5.1.2           gpl_h5b1d025_106    conda-forge
flake8                    6.0.0           py311haa95532_0
flask                     2.2.3                    pypi_0    pypi
flit-core                 3.8.0           py311haa95532_0
font-ttf-dejavu-sans-mono 2.37                 hd3eb1b0_0
font-ttf-inconsolata      2.001                hcb22688_0
font-ttf-source-code-pro  2.030                hd3eb1b0_0
font-ttf-ubuntu           0.83                 h8b1ccd4_0
fontconfig                2.14.2               hbde0cde_0    conda-forge
fonts-anaconda            1                    h8fa9717_0
fonts-conda-ecosystem     1                    hd3eb1b0_0
fonttools                 4.39.2                   pypi_0    pypi
freeimage                 3.18.0              h30d40d2_12    conda-forge
freetype                  2.12.1               ha860e81_0
frozenlist                1.3.3           py311h2bbff1b_0
gettext                   0.21.1               h5728263_0    conda-forge
giflib                    5.2.1                h8cc25b3_3
gl2ps                     1.4.2                hce2df77_1
glew                      2.1.0                hd77b12b_3
glib                      2.74.1               h12be248_1    conda-forge
glib-tools                2.74.1               h12be248_1    conda-forge
gst-plugins-base          1.21.3               h001b923_1    conda-forge
gstreamer                 1.21.3               h6b5321d_1    conda-forge
hdf4                      4.2.15               h1b1b6ef_5    conda-forge
hdf5                      1.12.2          nompi_h2a0e4a3_101    conda-forge
icu                       70.1                 h0e60522_0    conda-forge
idna                      3.4             py311haa95532_0
imagesize                 1.4.1           py311haa95532_0
imath                     3.1.6                h12be248_1    conda-forge
importlib-metadata        6.0.0           py311haa95532_0
importlib_metadata        6.0.0                hd3eb1b0_0
inflection                0.5.1           py311haa95532_0
intel-openmp              2023.0.0         h59b6b97_25923
intervaltree              3.1.0              pyhd3eb1b0_0
ipopt                     3.14.11              ha9547d1_0    conda-forge
ipykernel                 6.19.2          py311h86cfffd_0
ipython                   8.10.0          py311haa95532_0
ipython_genutils          0.2.0              pyhd3eb1b0_1
ipywidgets                7.7.4                    pypi_0    pypi
isort                     5.9.3              pyhd3eb1b0_0
itsdangerous              2.1.2                    pypi_0    pypi
jaraco.classes            3.2.1              pyhd3eb1b0_0
jedi                      0.18.1          py311haa95532_1
jellyfish                 0.9.0           py311h2bbff1b_0
jinja2                    3.1.2           py311haa95532_0
jinja2-time               0.2.0              pyhd3eb1b0_3
jpeg                      9e                   h2bbff1b_1
json5                     0.9.11                   pypi_0    pypi
jsoncpp                   1.9.5                h2d74725_1    conda-forge
jsonschema                4.17.3          py311haa95532_0
jupyter-cadquery          3.5.2                    pypi_0    pypi
jupyter-server            1.23.6                   pypi_0    pypi
jupyter_client            7.4.9           py311haa95532_0
jupyter_core              5.2.0           py311haa95532_0
jupyterlab                3.5.3                    pypi_0    pypi
jupyterlab-server         2.21.0                   pypi_0    pypi
jupyterlab-widgets        1.1.3                    pypi_0    pypi
jupyterlab_pygments       0.1.2                      py_0
jxrlib                    1.1                  he774522_2
keyring                   23.13.1         py311haa95532_0
kiwisolver                1.4.4                    pypi_0    pypi
krb5                      1.20.1               h6609f42_0    conda-forge
lazy-object-proxy         1.6.0           py311h2bbff1b_0
lcms2                     2.15                 ha5c8aab_0    conda-forge
lerc                      3.0                  hd77b12b_0
libaec                    1.0.6                h63175ca_1    conda-forge
libblas                   3.9.0              16_win64_mkl    conda-forge
libcblas                  3.9.0              16_win64_mkl    conda-forge
libclang                  15.0.7          default_h77d9078_1    conda-forge
libclang13                15.0.7          default_h77d9078_1    conda-forge
libcurl                   7.88.1               h86230a5_0
libdeflate                1.17                 h2bbff1b_0
libffi                    3.4.2                hd77b12b_6
libflang                  5.0.0           h6538335_20180525    conda-forge
libglib                   2.74.1               he8f3873_1    conda-forge
libiconv                  1.17                 h8ffe710_0    conda-forge
liblapack                 3.9.0              16_win64_mkl    conda-forge
libnetcdf                 4.8.1           nompi_h8c042bf_106    conda-forge
libogg                    1.3.5                h2bbff1b_1
libopus                   1.3.1                h8ffe710_1    conda-forge
libosqp                   0.6.2                h63175ca_4    conda-forge
libpng                    1.6.39               h8cc25b3_0
libqdldl                  0.1.5                h63175ca_1    conda-forge
libraw                    0.21.1               h3eb7d9d_0    conda-forge
libsodium                 1.0.18               h62dcd97_0
libspatialindex           1.9.3                h6c2663c_0
libsqlite                 3.40.0               hcfcfb64_0    conda-forge
libssh2                   1.10.0               hcd4344a_0
libtheora                 1.1.1                h8cc25b3_3
libtiff                   4.5.0                h6c2663c_2
libvorbis                 1.3.7                he774522_0
libwebp                   1.2.4                hbc33d0d_1
libwebp-base              1.2.4                h2bbff1b_1
libxml2                   2.10.3               h0ad7f3c_0
libxslt                   1.1.37               h2bbff1b_0
libzip                    1.9.2                hfed4ece_1    conda-forge
libzlib                   1.2.13               hcfcfb64_4    conda-forge
llvm-meta                 5.0.0                         0    conda-forge
logbook                   1.5.3           py311ha68e1ae_7    conda-forge
loguru                    0.5.3           py311haa95532_4
lxml                      4.9.2           py311h2bbff1b_0
lz4-c                     1.9.4                h2bbff1b_0
markupsafe                2.1.1           py311h2bbff1b_0
matplotlib                3.7.1                    pypi_0    pypi
matplotlib-inline         0.1.6           py311haa95532_0
mccabe                    0.7.0              pyhd3eb1b0_0
metis                     5.1.0                h6538335_4
mistune                   0.8.4           py311h2bbff1b_1000
mkl                       2022.1.0           h6a75c08_874    conda-forge
more-itertools            8.12.0             pyhd3eb1b0_0
multidict                 6.0.2           py311h2bbff1b_0
multimethod               1.9.1              pyhd8ed1ab_0    conda-forge
mumps-seq                 5.2.1               hb3f9cae_11    conda-forge
mypy_extensions           0.4.3           py311haa95532_1
nbclassic                 0.5.3                    pypi_0    pypi
nbclient                  0.5.13          py311haa95532_0
nbconvert                 6.5.4           py311haa95532_0
nbformat                  5.7.0           py311haa95532_0
nest-asyncio              1.5.6           py311haa95532_0
nlohmann_json             3.10.5               h6c2663c_0
nlopt                     2.7.1           py311h6e294a0_3    conda-forge
notebook                  6.5.3                    pypi_0    pypi
notebook-shim             0.2.2                    pypi_0    pypi
nptyping                  2.5.0              pyhd8ed1ab_0    conda-forge
numpy                     1.24.2          py311h0b4df5a_0    conda-forge
numpy-quaternion          2022.4.1                 pypi_0    pypi
numpydoc                  1.5.0           py311haa95532_0
occt                      7.7.0                h54f5ab0_2    conda-forge
ocp                       7.7.0.0                 py311_0    cadquery
openexr                   3.1.5                h97333cc_2    conda-forge
openh264                  2.3.1                h63175ca_2    conda-forge
openjpeg                  2.5.0                ha2aaf27_2    conda-forge
openmp                    5.0.0                    vc14_1    conda-forge
openssl                   1.1.1t               h2bbff1b_0
packaging                 23.0            py311haa95532_0
pandocfilters             1.5.0              pyhd3eb1b0_0
paramiko                  2.8.1              pyhd3eb1b0_0
parso                     0.8.3              pyhd3eb1b0_0
path                      16.2.0             pyhd3eb1b0_0
pathspec                  0.10.3          py311haa95532_0
pcre2                     10.40                h17e33f8_0    conda-forge
pexpect                   4.8.0              pyhd3eb1b0_3
pickleshare               0.7.5           pyhd3eb1b0_1003
pillow                    9.4.0                    pypi_0    pypi
pip                       23.0.1          py311haa95532_0
platformdirs              2.5.2           py311haa95532_0
pluggy                    1.0.0           py311haa95532_1
ply                       3.11            py311haa95532_0
poyo                      0.5.0              pyhd3eb1b0_0
proj                      9.1.1                heca977f_2    conda-forge
prometheus-client         0.16.0                   pypi_0    pypi
prompt-toolkit            3.0.36          py311haa95532_0
psutil                    5.9.0           py311h2bbff1b_0
ptyprocess                0.7.0              pyhd3eb1b0_2
pugixml                   1.11.4               hd77b12b_1
pure_eval                 0.2.2              pyhd3eb1b0_0
pycodestyle               2.10.0          py311haa95532_0
pycparser                 2.21               pyhd3eb1b0_0
pydocstyle                6.3.0           py311haa95532_0
pyflakes                  3.0.1           py311haa95532_0
pygments                  2.11.2             pyhd3eb1b0_0
pylint                    2.16.2          py311haa95532_0
pylint-venv               2.3.0           py311haa95532_0
pyls-spyder               0.4.0              pyhd3eb1b0_0
pynacl                    1.5.0           py311h8cc25b3_0
pyopenssl                 23.0.0          py311haa95532_0
pyparsing                 3.0.9           py311haa95532_0
pyqt                      5.15.7          py311hd77b12b_0
pyqt5-sip                 12.11.0         py311hd77b12b_0
pyqtgraph                 0.13.1          py311haa95532_0
pyqtwebengine             5.15.7          py311hd77b12b_0
pyrsistent                0.18.0          py311h2bbff1b_0
pysocks                   1.7.1           py311haa95532_0
python                    3.11.0               h966fe2a_3
python-dateutil           2.8.2              pyhd3eb1b0_0
python-fastjsonschema     2.16.2          py311haa95532_0
python-lsp-black          1.2.1           py311haa95532_0
python-lsp-jsonrpc        1.0.0              pyhd3eb1b0_0
python-lsp-server         1.7.1           py311haa95532_0
python-slugify            5.0.2              pyhd3eb1b0_0
python_abi                3.11                    2_cp311    conda-forge
pytoolconfig              1.2.5           py311haa95532_1
pytz                      2022.7          py311haa95532_0
pywin32                   305             py311h2bbff1b_0
pywin32-ctypes            0.2.0           py311haa95532_1000
pywinpty                  2.0.10                   pypi_0    pypi
pyyaml                    6.0             py311h2bbff1b_1
pyzmq                     23.2.0          py311hd77b12b_0
qdarkstyle                3.0.2              pyhd3eb1b0_0
qstylizer                 0.2.2           py311haa95532_0
qt-main                   5.15.6               h068e40c_6    conda-forge
qt-webengine              5.15.9               hb9a9bb5_5
qtawesome                 1.2.2           py311haa95532_0
qtconsole                 5.4.0           py311haa95532_0
qtpy                      2.2.0           py311haa95532_0
qtwebkit                  5.212                h992fabe_7    conda-forge
rapidjson                 1.1.0                he980bc4_0
requests                  2.28.1          py311haa95532_1
rope                      1.7.0           py311haa95532_0
rtree                     1.0.1           py311h2eaa2aa_0
send2trash                1.8.0                    pypi_0    pypi
setuptools                65.6.3          py311haa95532_0
sip                       6.6.2           py311hd77b12b_0
six                       1.16.0             pyhd3eb1b0_1
sniffio                   1.3.0                    pypi_0    pypi
snowballstemmer           2.2.0              pyhd3eb1b0_0
sortedcontainers          2.4.0              pyhd3eb1b0_0
soupsieve                 2.3.2.post1     py311haa95532_0
sphinx                    5.0.2           py311haa95532_0
sphinxcontrib-applehelp   1.0.2              pyhd3eb1b0_0
sphinxcontrib-devhelp     1.0.2              pyhd3eb1b0_0
sphinxcontrib-htmlhelp    2.0.0              pyhd3eb1b0_0
sphinxcontrib-jsmath      1.0.1              pyhd3eb1b0_0
sphinxcontrib-qthelp      1.0.3              pyhd3eb1b0_0
sphinxcontrib-serializinghtml 1.1.5              pyhd3eb1b0_0
spyder                    5.4.2           py311haa95532_0
spyder-kernels            2.4.2           py311haa95532_0
sqlite                    3.41.1               h2bbff1b_0
stack_data                0.2.0              pyhd3eb1b0_0
svt-av1                   1.4.1                h63175ca_0    conda-forge
tbb                       2021.7.0             h59b6b97_0
tbb-devel                 2021.7.0             h59b6b97_0
terminado                 0.17.1                   pypi_0    pypi
text-unidecode            1.3                pyhd3eb1b0_0
textdistance              4.2.1              pyhd3eb1b0_0
three-merge               0.1.1              pyhd3eb1b0_0
tinycss2                  1.2.1           py311haa95532_0
tk                        8.6.12               h2bbff1b_0
toml                      0.10.2             pyhd3eb1b0_0
tomli                     2.0.1                    pypi_0    pypi
tomlkit                   0.11.1          py311haa95532_0
tornado                   6.2             py311h2bbff1b_0
traitlets                 5.9.0                    pypi_0    pypi
typing_extensions         4.4.0           py311haa95532_0
typish                    1.9.3              pyhd8ed1ab_0    conda-forge
tzdata                    2022g                h04d1e81_0
ucrt                      10.0.20348.0         haa95532_0
ujson                     5.4.0           py311hd77b12b_0
unidecode                 1.2.0              pyhd3eb1b0_0
urllib3                   1.26.14         py311haa95532_0
utfcpp                    3.2.1                haa95532_0
vc                        14.2                 h21ff451_1
voila                     0.3.6                    pypi_0    pypi
vs2015_runtime            14.34.31931         h4c5c07a_10    conda-forge
vtk                       9.2.5           qt_py311hdcb56fe_202    conda-forge
watchdog                  2.1.6           py311haa95532_0
wcwidth                   0.2.5              pyhd3eb1b0_0
webcolors                 1.13                     pypi_0    pypi
webencodings              0.5.1           py311haa95532_1
websocket-client          1.5.1                    pypi_0    pypi
websockets                10.4                     pypi_0    pypi
werkzeug                  2.2.3                    pypi_0    pypi
whatthepatch              1.0.2           py311haa95532_0
wheel                     0.38.4          py311haa95532_0
widgetsnbextension        3.6.3                    pypi_0    pypi
win32_setctime            1.1.0              pyhd3eb1b0_0
win_inet_pton             1.1.0           py311haa95532_0
wincertstore              0.2             py311haa95532_0
wrapt                     1.14.1          py311h2bbff1b_0
wslink                    1.10.1             pyhd8ed1ab_0    conda-forge
x264                      1!164.3095           h8ffe710_2    conda-forge
x265                      3.5                  h2d74725_3    conda-forge
xz                        5.2.10               h8cc25b3_1
yaml                      0.2.5                he774522_0
yapf                      0.31.0             pyhd3eb1b0_0
yarl                      1.8.1           py311h2bbff1b_0
zeromq                    4.3.4                hd77b12b_0
zipp                      3.11.0          py311haa95532_0
zlib                      1.2.13               hcfcfb64_4    conda-forge
zstd                      1.5.2                h19a0ad4_0

and also from "pip list":

(xxx) C:\Users\Paul>pip list
WARNING: Skipping C:\Users\Paul\mambaforge\envs\xxx\Lib\site-packages\nlopt-2.7.1.dist-info due to invalid metadata entry 'name'
WARNING: Skipping C:\Users\Paul\mambaforge\envs\xxx\Lib\site-packages\vtk-9.2.5.egg-info due to invalid metadata entry 'name'
Package                       Version
----------------------------- -----------
aiohttp                       3.8.3
aiosignal                     1.2.0
alabaster                     0.7.12
anyio                         3.6.2
argon2-cffi                   21.3.0
argon2-cffi-bindings          21.2.0
arrow                         1.2.3
astroid                       2.14.2
asttokens                     2.0.5
async-timeout                 4.0.2
atomicwrites                  1.4.0
attrs                         22.1.0
autopep8                      1.6.0
Babel                         2.11.0
backcall                      0.2.0
bcrypt                        3.2.0
beautifulsoup4                4.11.1
binaryornot                   0.4.4
black                         22.6.0
bleach                        4.1.0
brotlipy                      0.7.0
cachetools                    5.2.1
cad-viewer-widget             1.4.1
cadquery                      0.0.0
cadquery-massembly            0.9.0
cadquery-server               0.1.5
casadi                        3.5.5
certifi                       2022.12.7
cffi                          1.15.1
chardet                       4.0.0
charset-normalizer            2.0.4
click                         8.0.4
cloudpickle                   2.0.0
colorama                      0.4.6
comm                          0.1.2
contourpy                     1.0.7
cookiecutter                  1.7.3
CQ-editor                     0.3.0.dev0
cryptography                  39.0.1
cycler                        0.11.0
debugpy                       1.5.1
decorator                     5.1.1
defusedxml                    0.7.1
diff-match-patch              20200713
dill                          0.3.6
docstring-to-markdown         0.11
docutils                      0.18.1
entrypoints                   0.4
executing                     0.8.3
ezdxf                         1.0.2
fastjsonschema                2.16.2
flake8                        6.0.0
Flask                         2.2.3
flit_core                     3.8.0
fonttools                     4.39.2
frozenlist                    1.3.3
idna                          3.4
imagesize                     1.4.1
importlib-metadata            6.0.0
inflection                    0.5.1
intervaltree                  3.1.0
ipykernel                     6.19.2
ipython                       8.10.0
ipython-genutils              0.2.0
ipywidgets                    7.7.4
isort                         5.9.3
itsdangerous                  2.1.2
jaraco.classes                3.2.1
jedi                          0.18.1
jellyfish                     0.9.0
Jinja2                        3.1.2
jinja2-time                   0.2.0
json5                         0.9.11
jsonschema                    4.17.3
jupyter-cadquery              3.5.2
jupyter_client                7.4.9
jupyter_core                  5.2.0
jupyter-server                1.23.6
jupyterlab                    3.5.3
jupyterlab-pygments           0.1.2
jupyterlab_server             2.21.0
jupyterlab-widgets            1.1.3
keyring                       23.13.1
kiwisolver                    1.4.4
lazy-object-proxy             1.6.0
Logbook                       1.5.3
loguru                        0.5.3
lxml                          4.9.2
MarkupSafe                    2.1.1
matplotlib                    3.7.1
matplotlib-inline             0.1.6
mccabe                        0.7.0
mistune                       0.8.4
more-itertools                8.12.0
multidict                     6.0.2
multimethod                   1.9.1
mypy-extensions               0.4.3
nbclassic                     0.5.3
nbclient                      0.5.13
nbconvert                     6.5.4
nbformat                      5.7.0
nest-asyncio                  1.5.6
notebook                      6.5.3
notebook_shim                 0.2.2
nptyping                      2.5.0
numpy                         1.24.2
numpy-quaternion              2022.4.1
numpydoc                      1.5.0
packaging                     23.0
pandocfilters                 1.5.0
paramiko                      2.8.1
parso                         0.8.3
path                          16.2.0
pathspec                      0.10.3
pexpect                       4.8.0
pickleshare                   0.7.5
Pillow                        9.4.0
pip                           23.0.1
platformdirs                  2.5.2
pluggy                        1.0.0
ply                           3.11
poyo                          0.5.0
prometheus-client             0.16.0
prompt-toolkit                3.0.36
psutil                        5.9.0
ptyprocess                    0.7.0
pure-eval                     0.2.2
pycodestyle                   2.10.0
pycparser                     2.21
pydocstyle                    6.3.0
pyflakes                      3.0.1
Pygments                      2.11.2
pylint                        2.16.2
pylint-venv                   2.3.0
pyls-spyder                   0.4.0
PyNaCl                        1.5.0
pyOpenSSL                     23.0.0
pyparsing                     3.0.9
PyQt5                         5.15.7
PyQt5-sip                     12.11.0
pyqtgraph                     0.13.1
PyQtWebEngine                 5.15.4
pyrsistent                    0.18.0
PySocks                       1.7.1
python-dateutil               2.8.2
python-lsp-black              1.2.1
python-lsp-jsonrpc            1.0.0
python-lsp-server             1.7.1
python-slugify                5.0.2
pytoolconfig                  1.2.5
pytz                          2022.7
pywin32                       305.1
pywin32-ctypes                0.2.0
pywinpty                      2.0.10
PyYAML                        6.0
pyzmq                         23.2.0
QDarkStyle                    3.0.2
qstylizer                     0.2.2
QtAwesome                     1.2.2
qtconsole                     5.4.0
QtPy                          2.2.0
requests                      2.28.1
rope                          1.7.0
Rtree                         1.0.1
Send2Trash                    1.8.0
setuptools                    65.6.3
sip                           6.6.2
six                           1.16.0
sniffio                       1.3.0
snowballstemmer               2.2.0
sortedcontainers              2.4.0
soupsieve                     2.3.2.post1
Sphinx                        5.0.2
sphinxcontrib-applehelp       1.0.2
sphinxcontrib-devhelp         1.0.2
sphinxcontrib-htmlhelp        2.0.0
sphinxcontrib-jsmath          1.0.1
sphinxcontrib-qthelp          1.0.3
sphinxcontrib-serializinghtml 1.1.5
spyder                        5.4.2
spyder-kernels                2.4.2
stack-data                    0.2.0
terminado                     0.17.1
text-unidecode                1.3
textdistance                  4.2.1
three-merge                   0.1.1
tinycss2                      1.2.1
toml                          0.10.2
tomli                         2.0.1
tomlkit                       0.11.1
tornado                       6.2
traitlets                     5.9.0
typing_extensions             4.4.0
typish                        1.9.3
ujson                         5.4.0
Unidecode                     1.2.0
urllib3                       1.26.14
voila                         0.3.6
watchdog                      2.1.6
wcwidth                       0.2.5
webcolors                     1.13
webencodings                  0.5.1
websocket-client              1.5.1
websockets                    10.4
Werkzeug                      2.2.3
whatthepatch                  1.0.2
wheel                         0.38.4
widgetsnbextension            3.6.3
win-inet-pton                 1.1.0
win32-setctime                1.1.0
wincertstore                  0.2
wrapt                         1.14.1
wslink                        1.10.1
yapf                          0.31.0
yarl                          1.8.1
zipp                          3.11.0
WARNING: Skipping C:\Users\Paul\mambaforge\envs\xxx\Lib\site-packages\nlopt-2.7.1.dist-info due to invalid metadata entry 'name'
WARNING: Skipping C:\Users\Paul\mambaforge\envs\xxx\Lib\site-packages\nlopt-2.7.1.dist-info due to invalid metadata entry 'name'
WARNING: Skipping C:\Users\Paul\mambaforge\envs\xxx\Lib\site-packages\nlopt-2.7.1.dist-info due to invalid metadata entry 'name'

@Gray-Stone
Copy link

I also run into this.

My guess the problem lies in the version. We both have python3.11 on system. which result in only cadquery-server 0.1.5 is install-able.

when I try to install higher version of cadquery server:

▶ pip3 install --upgrade cadquery-server==0.4.0
ERROR: Ignored the following versions that require a different python version: 0.2 Requires-Python >=3.8,<3.11; 0.2.1 Requires-Python >=3.8,<3.11; 0.2.2 Requires-Python >=3.8,<3.11; 0.3 Requires-Python >=3.8,<3.11; 0.3.1 Requires-Python >=3.8,<3.11; 0.3.2 Requires-Python >=3.8,<3.11; 0.4.0 Requires-Python >=3.8,<3.11; 0.4.1 Requires-Python >=3.8,<3.11

@Paul8043
Copy link
Author

Seems that this repository is no longer actively supported. But there is a good alternative. Try to use vscode-ocp-cad-viewer. It runs inside of VS-Code. It can work together with either CadQuery or Build123d. I would highly recommend to jump over completely. Build123d is a continuation of CadQuery and much easier to use.

@roipoussiere
Copy link
Owner

Thank you, I didn't know about vscode-ocp-cad-viewer, I added a note on the readme with a link to this project.

@Paul8043
Copy link
Author

I am very glad to get a sign of life from you. There is great demand for a CAD-Viewer that can be run inside of VS-Code. Thanks for the great work have provided over the last years. It's a pity that you cannot continue this work. Seems we will lose a lot of expertise.

All the best for you

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

4 participants
@roipoussiere @Gray-Stone @Paul8043 and others