Setting up the MicroDrop development environment


#1


Hello,
When I set up the MicroDrop development environment, I encounter such a problem, would anyone help me?

C:\Users\15705\AppData\Local\MicroDrop>conda env create -n microdrop-dev --file environment.yaml
Collecting package metadata (repodata.json): done
Solving environment: failed

ResolvePackageNotFound:

  • matplotlib==2.0.2=np111py27_gtk2_3
  • redirect-io==0.1=0
  • cycler==0.10=1
  • pygst-0.10==0.1.post2=0
  • microdrop.droplet-planning-plugin==2.6.2=0
  • path_helpers==0.8=py27_0
  • dmf-device-ui==0.15=0
  • opencv-helpers==0.1.post1=0
  • git_helpers==0.2=0
  • pycairo-gtk2==0.1.0=py27_1
  • microdrop-device-converter==0.1.post5=0
  • nanopb==0.3.7=8
  • pyutilib.component.loader==3.4.1=0
  • svgwrite==1.1.8=0
  • droplet-planning==0.2.post1=0
  • py2exe==0.6.9=py27
  • pyglib2==0.1.0=py27_1
  • pymunk==4.0.0=0
  • pygst_utils==0.3.5=1
  • platformio-tool-avrdude==1.60300.2=1
  • svg-model==0.9.2=0
  • pip-helpers==0.6.post3=0
  • pygtk2==0.1.0=py27_3
  • microdrop-utility==0.4.post2=0
  • microdrop==2.35.0=0
  • lxml==4.1.1.post1=0
  • rename-package-files==0.1.post1=0
  • microdrop-plugin-manager==0.25.2=0
  • pyutilib.component.config==3.8=0
  • run-exe==0.5.post2=0
  • flatland-fork==0.5=0
  • application-repository-jsonrpc==0.1=0
  • qt==5.6.2=vc9he136c73_12
  • pygio2==0.1.0=py27_1
  • cairo-helpers==0.2.post1=0
  • microdrop.step-label-plugin==2.2.3=0
  • hv-switching-board==0.10.0=py27_0
  • task-scheduler==0.2=0
  • pygtk-textbuffer-with-undo==0.2=0
  • geo_util==0.3=0
  • pyutilib.component.core==4.6.4=0
  • microdrop-plugin-template==1.3=0
  • microdrop.dropbot-plugin==2.39.0=0
  • platformio-framework-arduinoavr==1.10620.2=2
  • microdrop.user-prompt-plugin==2.4.1=0
  • microdrop.dmf-device-ui-plugin==2.12=0
  • application-repository==0.5=0

#2

Great to see you are interested in working on development with MicroDrop!

I have a couple of questions to help diagnose the issue:

  • What is the output of the following command?
    conda info
    
  • Which environment.yaml file are you using?

Thanks!


#3

Thank you for your reply!
First, the output of the “conda info” is

Second, the environment.yaml is following.

name: microdrop-exe
channels:

  • dropbot
  • sci-bots/label/py2exe
  • sci-bots/label/microdrop-2-plugins
  • sci-bots/label/microdrop-2
  • sci-bots
  • conda-forge
  • defaults
    dependencies:
  • alabaster=0.7.10=py27_1
  • application-repository-jsonrpc=0.1=0
  • application-repository=0.5=0
  • arduino-fast-digital=0.1.0=3
  • arduino-helpers=0.7=py27_0
  • arduino-linked-list=1.2.3=5
  • arduino-memory=1.4=0
  • arduino-rpc-dev=1.16=0
  • arduino-rpc=1.16=py_0
  • arduino-slow-soft-i2c-master=1.0.1=4
  • arduino-slow-soft-wire=1.0.1=6
  • arrow=0.12.1=py27_1
  • asn1crypto=0.24.0=py27_0
  • asyncserial=0.2.3=py_0+git8b4b71e
  • asyncio-helpers=0.2.1=0
  • attrs=18.1.0=py_1
  • babel=2.5.3=py27_0
  • backports.functools_lru_cache=1.5=py27_0
  • backports.shutil_get_terminal_size=1.0.0=py_3
  • backports.shutil_which=3.5.1=py27_1
  • backports=1.0=py27_1
  • backports_abc=0.5=py27_0
  • base-node-dev=0.14=0
  • base-node-rpc-dev=0.51.3=0
  • base-node-rpc=0.51.3=0
  • base-node=0.14=py_0
  • beautifulsoup4=4.6.0=py27_0
  • bleach=2.1.3=py_0
  • blinker=1.4=py_1
  • blosc=1.14.3=h95ae18b_0
  • bottle=0.12.13=py27_0
  • bzip2=1.0.6=vc9_1
  • c-array-defs=1.3=0
  • ca-certificates=2018.4.16=0
  • cairo-helpers=0.2.post1=0
  • certifi=2018.4.16=py27_0
  • cffi=1.11.5=py27_0
  • chardet=3.0.4=py27_0
  • clang-helpers=0.8=py_0
  • clang=5.0.0=2
  • click=5.1.0=py_0
  • cogapp=2.5.1=py27_0
  • colorama=0.3.9=py27_0
  • conda-helpers=0.21=0
  • conda-wrappers=1.0.3=py27_0
  • configobj=4.7.2=py27_0
  • configparser=3.5.0=py27_0
  • cryptography=2.2.1=py27_0
  • cycler=0.10=1
  • debounce=0.4.1=0
  • decorator=4.3.0=py_0
  • deepdiff=3.3.0=py_0
  • dmf-device-ui=0.15=0
  • docutils=0.14=py27_0
  • dropbot-dev=1.73.2=0
  • dropbot=1.73.2=py_0
  • droplet-planning=0.2.post1=0
  • entrypoints=0.2.3=py27_1
  • enum34=1.1.6=py27_1
  • et_xmlfile=1.0.1=py27_0
  • exec-wrappers=1.1.1=py_0
  • fastcache=1.0.2=py27_0
  • flatland-fork=0.5=0
  • funcsigs=1.0.2=py_2
  • functools32=3.2.3.2=py27_2
  • future=0.16.0=py27_0
  • futures=3.2.0=py27_0
  • geo_util=0.3=0
  • git=2.14.2=3
  • git_helpers=0.2=0
  • gitdb2=2.0.3=py_0
  • gitpython=2.1.10=py_0
  • hdf5=1.10.1=vc9_2
  • html5lib=1.0.1=py_0
  • hv-switching-board=0.10.0=py27_0
  • icc_rt=2017.0.4=h97af966_0
  • icu=58.2=vc9_0
  • idna=2.6=py27_1
  • imagesize=1.0.0=py27_0
  • ipaddress=1.0.22=py_1
  • ipykernel=4.8.2=py27_0
  • ipython=5.6.0=py27_0
  • ipython_genutils=0.2.0=py27_0
  • ipywidgets=7.2.1=py27_1
  • jdcal=1.4=py27_0
  • jinja2=2.10=py27_0
  • joblib=0.11=py27_0
  • jpeg=9b=vc9_2
  • json-tricks=3.11.3=py_0
  • jsonpickle=0.9.6=py_1
  • jsonschema=2.6.0=py27_1
  • jupyter-helpers=0.11=py_0
  • jupyter=1.0.0=py_1
  • jupyter_client=5.2.3=py27_0
  • jupyter_console=5.2.0=py27_0
  • jupyter_core=4.4.0=py_0
  • libpng=1.6.34=vc9_0
  • libprotobuf=3.5.2=vc9_0
  • libsodium=1.0.16=vc9_0
  • lockfile=0.12.2=py27_0
  • logging-helpers=0.4=py_0
  • lxml=4.1.1.post1=0
  • m2w64-gcc-libgfortran=5.3.0=6
  • m2w64-gcc-libs-core=5.3.0=7
  • m2w64-gcc-libs=5.3.0=7
  • m2w64-gmp=6.1.0=2
  • m2w64-libwinpthread-git=5.0.0.4634.697f757=2
  • markdown2pango=0.1=0
  • markupsafe=1.0=py27_0
  • matplotlib=2.0.2=np111py27_gtk2_3
  • microdrop-device-converter=0.1.post5=0
  • microdrop-plugin-manager=0.25.2=0
  • microdrop-plugin-template=1.3=0
  • microdrop-utility=0.4.post2=0
  • microdrop.dmf-device-ui-plugin=2.12=0
  • microdrop.dropbot-plugin=2.39.0=0
  • microdrop.droplet-planning-plugin=2.6.2=0
  • microdrop.step-label-plugin=2.2.3=0
  • microdrop.user-prompt-plugin=2.4.1=0
  • microdrop=2.35.0=0
  • mistune=0.8.3=py_0
  • mkl=2017.0.1=0
  • more-itertools=4.2.0=py_0
  • mpmath=1.0.0=py_0
  • mqtt-messages-python=0.2=py_0
  • msys2-conda-epoch=20160418=1
  • nadamq-dev=0.19.3=0
  • nadamq=0.19.3=py27_0
  • nanopb-helpers-dev=0.12=0
  • nanopb-helpers=0.12=py_0
  • nanopb=0.3.7=8
  • natsort=5.3.2=py_0
  • nbconvert=5.4.1=py_2
  • nbformat=4.4.0=py27_0
  • networkx=2.1=py27_0
  • nose=1.3.7=py27_2
  • notebook=5.4.1=py27_0
  • ntfsutils=0.1.3.post2=1
  • numexpr=2.6.4=py27_1
  • numpy=1.11.3=py27_0
  • onoff=1.0.1=py_0
  • opencv-helpers=0.1.post1=0
  • openpyxl=2.5.3=py27_0
  • openssl=1.0.2o=vc9_0
  • or-event=0.2.1=py_0
  • packaging=17.1=py_0
  • paho-mqtt-helpers=0.4=py_0
  • paho-mqtt=1.3.1=py_1
  • pandas-helpers=0.3=py_0
  • pandas=0.22.0=py27_0
  • pandoc=2.1.3=0
  • pandocfilters=1.4.2=py27_0
  • path_helpers=0.8=py27_0
  • pathlib2=2.3.0=py27_0
  • paver=1.2.4=py27_0
  • pickleshare=0.7.4=py27_0
  • pint=0.8.1=py27_0
  • pip-helpers=0.6.post3=0
  • pip=9.0.3=py27_0
  • platformio-framework-arduinoavr=1.10620.2=2
  • platformio-helpers=0.10.2=py_0
  • platformio-platform-atmelavr=1.8.1.post1=ge80a6ae0
  • platformio-platform-teensy=3.0.1=0
  • platformio-tool-avrdude=1.60300.2=1
  • platformio-tool-scons=3.30001.0=0
  • platformio-tool-teensy=1.141.0=1
  • platformio-toolchain-atmelavr=1.40902.1=0
  • platformio=3.5.2b2.post20=g42c1c804_0
  • pluggy=0.6.0=py_0
  • progressbar2=3.37.0=py27_0
  • prompt_toolkit=1.0.15=py27_0
  • protobuf=3.5.2=py27_vc9_0
  • psutil=5.4.5=py27_0
  • py2exe-helpers=0.2.7=0
  • py2exe=0.6.9=py27
  • py=1.5.3=py_0
  • pycairo-gtk2=0.1.0=py27_1
  • pycparser=2.18=py27_0
  • pydash=4.4.0=py_0
  • pygio2=0.1.0=py27_1
  • pyglib2=0.1.0=py27_1
  • pygments=2.2.0=py27_0
  • pygst-0.10=0.1.post2=0
  • pygst_utils=0.3.5=1
  • pygtk-textbuffer-with-undo=0.2=0
  • pygtk2=0.1.0=py27_3
  • pymunk=4.0.0=0
  • pyopenssl=17.5.0=py27_1
  • pyparsing=2.2.0=py27_0
  • pyqt=5.6.0=py27_5
  • pyserial=3.4=py27_0
  • pysocks=1.6.8=py27_1
  • pytables=3.4.4=py27_8
  • pytest-runner=4.2=py_0
  • pytest=3.5.0=py27_0
  • python-clang=5.0.0=py_1
  • python-dateutil=2.7.3=py_0
  • python-utils=2.3.0=py27_0
  • python=2.7.14=5
  • pytz=2018.4=py_0
  • pyutilib.component.config=3.8=0
  • pyutilib.component.core=4.6.4=0
  • pyutilib.component.loader=3.4.1=0
  • pywin32=221=py27_0
  • pywinpty=0.5.2=py27_1
  • pyyaml=3.12=py27_1
  • pyzmq=17.0.0=py27_4
  • qt=5.6.2=vc9he136c73_12
  • qtconsole=4.3.1=py27_0
  • redirect-io=0.1=0
  • rename-package-files=0.1.post1=0
  • requests=2.18.4=py27_1
  • ruamel.ordereddict=0.4.13=py27_0
  • ruamel.yaml=0.15.37=py27_0
  • run-exe=0.5.post2=0
  • scandir=1.7=py27_0
  • scipy=0.19.0=np111py27_0
  • semantic_version=2.6.0=py27_0
  • send2trash=1.5.0=py_0
  • serial-device=0.11=py_0
  • setuptools=39.0.1=py27_0
  • si-prefix=1.2.1=py_0
  • simplegeneric=0.8.1=py27_0
  • singledispatch=3.4.0.3=py27_0
  • sip=4.18=py27_1
  • six=1.11.0=py27_1
  • smmap2=2.0.3=py27_0
  • snappy=1.1.7=vc9_1
  • snowballstemmer=1.2.1=py27_0
  • sphinx=1.7.5=py27_0
  • sphinxcontrib-websupport=1.0.1=py27_0
  • svg-model=0.9.2=0
  • svgwrite=1.1.8=0
  • sympy=1.1.1=py27_0
  • tabulate=0.8.2=py_0
  • task-scheduler=0.2=0
  • teensy-minimal-rpc-dev=0.10=0
  • teensy-minimal-rpc=0.10=py_0
  • terminado=0.8.1=py27_0
  • testpath=0.3.1=py27_0
  • tornado=5.0.2=py27_0
  • traitlets=4.3.2=py27_0
  • trollius=2.2=py27_0
  • typing=3.6.4=py27_0
  • urllib3=1.22=py27_0
  • vc=9=0
  • versioneer=0.18=py27_0
  • virtualenv=15.1.0=py27_0
  • vs2008_runtime=9.0.30729.6161=0
  • wcwidth=0.1.7=py27_0
  • webencodings=0.5.1=py27_0
  • wheel=0.31.0=py27_0
  • wheeler.pygtkhelpers=0.22=0
  • wheezy.routing=0.1.157=py_0
  • whichcraft=0.4.1=py27_0
  • widgetsnbextension=3.2.1=py27_0
  • win_inet_pton=1.0.1=py27_1
  • win_unicode_console=0.5=py27_0
  • wincertstore=0.2=py27_0
  • winpty=0.4.3=4
  • yaml=0.1.7=vc9_0
  • zeromq=4.2.5=vc9_1
  • zlib=1.2.11=vc9_0
  • zmq-plugin=0.4=0

Sorry, I don’t know how to upload this file, so I copied the contents of the file.


#4

I download in https://github.com/sci-bots/microdrop-exe.git.


#5

Thanks for providing this info. Looking at your conda info output, I see that your Conda installation is Windows 64-bit. However, MicroDrop is only currently compatible with 32-bit, due to some third-party dependencies.

Please try again using the Windows Python 2.7 32-bit Miniconda installation (from here):

https://repo.anaconda.com/miniconda/Miniconda2-latest-Windows-x86.exe

Please let me know how things go.


#6

Hello, Thank you for your guidance.
We have tried again using the Windows Python 2.7 32-bit Miniconda installation.
After that, We have successfully completed these two steps.
But We have encountered the following problems:

First, when executing “python -m mpm.bin.api enable $(dir $env:CONDA_PREFIX\share\microdrop\plugins\available)” ,the output is “[ ]”.
We are not sure whether it is succeefully done!

Second, the Command – link-py-dev microdrop – couldn’t be found.

I will appreciate it if you help me.


#7

This is the picture: