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

Help/About on Windows Release #1887

Closed
braymp opened this issue Mar 25, 2016 · 11 comments
Closed

Help/About on Windows Release #1887

braymp opened this issue Mar 25, 2016 · 11 comments
Labels

Comments

@braymp
Copy link
Contributor

braymp commented Mar 25, 2016

Yields

Traceback (most recent call last):
  File "cellprofiler\gui\cpframe.pyc", line 986, in about
  File "cellprofiler\gui\dialog.pyc", line 15, in __init__
  File "pkg_resources\__init__.pyc", line 545, in get_distribution
  File "pkg_resources\__init__.pyc", line 425, in get_provider
  File "pkg_resources\__init__.pyc", line 946, in require
  File "pkg_resources\__init__.pyc", line 833, in resolve
DistributionNotFound: The 'cellprofiler' distribution was not found and is required by the application
@braymp braymp added the Bug label Mar 25, 2016
@0x00b1
Copy link
Contributor

0x00b1 commented Mar 25, 2016

Nightly?

@0x00b1
Copy link
Contributor

0x00b1 commented Mar 25, 2016

pip install --upgrade pip?

@braymp
Copy link
Contributor Author

braymp commented Mar 25, 2016

Same error for nightly (3cb30f4).

@braymp
Copy link
Contributor Author

braymp commented Mar 25, 2016

Pip is up-to-date.

@braymp
Copy link
Contributor Author

braymp commented Mar 25, 2016

I should mention I did not use pip install --pre cellprofiler to get CP running from source (though I assume that shouldn't matter...?)

@0x00b1
Copy link
Contributor

0x00b1 commented Mar 25, 2016

pip install -e . from the CellProfiler source directory works too. 😄

Would you mind posting the output of pip freeze?

@braymp
Copy link
Contributor Author

braymp commented Mar 25, 2016

Here you go. Along with CP deps, there's a lot of Jupyter-related deps as well:

C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC>pip freeze
backports-abc==0.4
backports.ssl-match-hostname==3.5.0.1
biopython==1.66
centrosome==1.0.4
certifi==2016.2.28
cycler==0.10.0
Cython==0.23.4
dask==0.8.1
decorator==4.0.9
functools32==3.2.3.post2
futures==3.0.5
h5py==2.5.0
inflect==0.2.5
ipykernel==4.3.1
ipyparallel==5.0.1
ipython==4.1.2
ipython-genutils==0.1.0
ipywidgets==4.1.1
javabridge==1.0.14
Jinja2==2.8
jsonschema==2.5.1
jupyter==1.0.0
jupyter-client==4.2.1
jupyter-console==4.1.1
jupyter-core==4.1.0
lxml==3.4.4
MarkupSafe==0.23
matplotlib==1.5.1
mistune==0.7.2
MySQL-python==1.2.5
nbconvert==4.1.0
nbformat==4.0.1
networkx==1.11
notebook==4.1.0
numpy==1.10.4
pandas==0.18.0
path.py==8.1.2
pickleshare==0.6
Pillow==3.1.1
prokaryote==1.0.10
Pygments==2.1.3
pyparsing==2.1.0
PyQt4==4.11.4
python-bioformats==1.0.5
python-dateutil==2.5.0
pytz==2016.1
pyzmq==15.2.0
qtconsole==4.2.0
scikit-image==0.12.3
scikit-learn==0.17.1
scipy==0.17.0
seaborn==0.7.0
simplegeneric==0.8.1
singledispatch==3.4.0.3
six==1.10.0
toolz==0.7.4
tornado==4.3
traitlets==4.2.1
verlib==0.1
wxPython==3.0.2.0
wxPython-common==3.0.2.0

@0x00b1
Copy link
Contributor

0x00b1 commented Mar 25, 2016

biopython==1.66
centrosome==1.0.4
certifi==2016.2.28
cycler==0.10.0
Cython==0.23.4

It looks like you’re missing an important package. :D

(pip install -e . from the CellProfiler source directory.)

@braymp
Copy link
Contributor Author

braymp commented Mar 25, 2016

Huh, that did it.
image
Since I was able to run CP (at least in test mode), I didn't realize that the project needed installation too.

BTW, there's a  in the About; can you get rid of it?

@0x00b1
Copy link
Contributor

0x00b1 commented Mar 25, 2016

BTW, there's a  in the About; can you get rid of it?

Yeah, it’s a silly Unicode issue. I’ll fix it today. I think @LeeKamentsky is leaving the Broad because of Unicode errors. 😆

@0x00b1
Copy link
Contributor

0x00b1 commented Mar 25, 2016

Since I was able to run CP (at least in test mode), I didn't realize that the project needed installation too.

Yep. CellProfiler is both a library and an application. 👍

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

No branches or pull requests

2 participants