conda-forge / spyder-feedstock

A conda-smithy repository for spyder.
BSD 3-Clause "New" or "Revised" License
1 stars 17 forks source link

Spyder can't work well with python.app provided by conda-forge #60

Closed easior closed 5 years ago

easior commented 5 years ago

I installed the FEniCS package provided by conda-forge channel in new Anaconda python Enviroment on MacOS 10.10. Spyder was also installed into it. I found that Spyder can't be started up. In order to trace the issue, I execute the following command lines in iTerms:

$ conda activate fenicsproject
$ spyder
/Users/xxx/Developer/anaconda3/envs/fenicsproject/bin/pythonw: line 3: /Users/xxx/Developer/anaconda3/envs/fenicsproject/python.app/Contents/MacOS/python: No such file or directory

Therefor, I want to see what happend with python.app provided by conda-forge by typing

$ ls /Users/xxx/Developer/anaconda3/envs/fenicsproject/python.app/Contents/MacOS/python
ls: /Users/xxx/Developer/anaconda3/envs/fenicsproject/python.app/Contents/MacOS/python: No such file or directory
$ ls /Users/xxx/Developer/anaconda3/envs/fenicsproject/python.app/
Contents pythonapp
$ ls /Users/xxx/Developer/anaconda3/envs/fenicsproject/python.app/Contents/
lib
$ ls /Users/xxx/Developer/anaconda3/envs/fenicsproject/python.app/pythonapp/Contents/
Info.plist MacOS PkgInfo Resources

You see, some directory path in python.app didn't follow Apple's naming convention. So please help me to fix it as soon as possible.

Environment (conda list):

``` $ conda list # packages in environment at /Users/xxx/Developer/anaconda3/envs/fenicsproject: # # Name Version Build Channel alabaster 0.7.12 py_0 conda-forge appnope 0.1.0 py37_1000 conda-forge asn1crypto 0.24.0 py37_1003 conda-forge astroid 2.2.5 py37_0 conda-forge attrs 19.1.0 py_0 conda-forge babel 2.7.0 py_0 conda-forge backcall 0.1.0 py_0 conda-forge bleach 3.1.0 py_0 conda-forge boost-cpp 1.70.0 h75728bb_2 conda-forge bzip2 1.0.8 h01d97ff_0 conda-forge ca-certificates 2019.6.16 hecc5488_0 conda-forge certifi 2019.6.16 py37_1 conda-forge cffi 1.12.3 py37hccf1714_0 conda-forge chardet 3.0.4 py37_1003 conda-forge cloudpickle 1.2.1 py_0 conda-forge cmake 3.15.1 hdd2e4aa_0 conda-forge cryptography 2.7 py37h212c5bf_0 conda-forge curl 7.65.3 h22ea746_0 conda-forge cycler 0.10.0 py_1 conda-forge dbus 1.13.6 h2f22bb5_0 conda-forge decorator 4.4.0 py_0 conda-forge defusedxml 0.5.0 py_1 conda-forge docutils 0.15.2 py37_0 conda-forge eigen 3.3.7 h04f5b5a_1000 conda-forge entrypoints 0.3 py37_1000 conda-forge expat 2.2.5 h6de7cb9_1003 conda-forge fastcache 1.1.0 py37h01d97ff_0 conda-forge fenics 2019.1.0 py37_4 conda-forge fenics-dijitso 2019.1.0 py_4 conda-forge fenics-dolfin 2019.1.0 py37h7e4af38_4 conda-forge fenics-ffc 2019.1.0 py_4 conda-forge fenics-fiat 2019.1.0 py_4 conda-forge fenics-libdolfin 2019.1.0 h733b22e_4 conda-forge fenics-ufl 2019.1.0 py_4 conda-forge freetype 2.10.0 h24853df_0 conda-forge gettext 0.19.8.1 h46ab8bc_1002 conda-forge glib 2.58.3 h9d45998_1002 conda-forge gmp 6.1.2 h0a44026_1000 conda-forge gmpy2 2.1.0b1 py37h1744cca_0 conda-forge hdf5 1.10.4 mpi_mpich_h2f3dee2_1006 conda-forge hypre 2.15.1 he0087a8_1001 conda-forge icu 64.2 h6de7cb9_0 conda-forge idna 2.8 py37_1000 conda-forge imagesize 1.1.0 py_0 conda-forge ipykernel 5.1.1 py37h5ca1d4c_0 conda-forge ipython 7.7.0 py37h5ca1d4c_0 conda-forge ipython_genutils 0.2.0 py_1 conda-forge isort 4.3.21 py37_0 conda-forge jedi 0.14.1 py37_0 conda-forge jinja2 2.10.1 py_0 conda-forge jpeg 9c h1de35cc_1001 conda-forge jsonschema 3.0.2 py37_0 conda-forge jupyter_client 5.3.1 py_0 conda-forge jupyter_core 4.4.0 py_0 conda-forge keyring 19.0.2 py37_0 conda-forge kiwisolver 1.1.0 py37h770b8ee_0 conda-forge krb5 1.16.3 hcfa6398_1001 conda-forge lazy-object-proxy 1.4.1 py37h01d97ff_0 conda-forge libblas 3.8.0 11_openblas conda-forge libcblas 3.8.0 11_openblas conda-forge libcurl 7.65.3 h16faf7d_0 conda-forge libcxx 8.0.0 4 conda-forge libcxxabi 8.0.0 4 conda-forge libedit 3.1.20170329 hcfe32e1_1001 conda-forge libffi 3.2.1 h6de7cb9_1006 conda-forge libgfortran 3.0.1 0 conda-forge libiconv 1.15 h01d97ff_1005 conda-forge liblapack 3.8.0 11_openblas conda-forge libopenblas 0.3.6 hd44dcd8_6 conda-forge libpng 1.6.37 h2573ce8_0 conda-forge libsodium 1.0.17 h01d97ff_0 conda-forge libssh2 1.8.2 hcdc9a53_2 conda-forge libuv 1.30.1 h01d97ff_0 conda-forge markupsafe 1.1.1 py37h1de35cc_0 conda-forge matplotlib 3.1.1 py37_1 conda-forge matplotlib-base 3.1.1 py37h3a684a6_1 conda-forge mccabe 0.6.1 py_1 conda-forge metis 5.1.0 h0a44026_1003 conda-forge mistune 0.8.4 py37h1de35cc_1000 conda-forge mpc 1.1.0 h3aece09_1006 conda-forge mpfr 4.0.2 h0a95893_0 conda-forge mpi 1.0 mpich conda-forge mpi4py 3.0.1 py37h77202c6_0 conda-forge mpich 3.2.1 ha90c164_1013 conda-forge mpmath 1.1.0 py_0 conda-forge mshr 2019.1.0 py37hdb5614c_1 conda-forge mumps-include 5.2.1 0 conda-forge mumps-mpi 5.2.1 haf446c3_0 conda-forge nbconvert 5.5.0 py_0 conda-forge nbformat 4.4.0 py_1 conda-forge ncurses 6.1 h0a44026_1002 conda-forge numpy 1.16.4 py37h6b0580a_0 conda-forge numpydoc 0.9.1 py_0 conda-forge openssl 1.1.1c h01d97ff_0 conda-forge packaging 19.0 py_0 conda-forge pandoc 2.7.3 0 conda-forge pandocfilters 1.4.2 py_1 conda-forge parmetis 4.0.3 hc4b10a8_1002 conda-forge parso 0.5.1 py_0 conda-forge pcre 8.41 h0a44026_1003 conda-forge petsc 3.11.3 hf985393_0 conda-forge petsc4py 3.11.0 py37hc745293_0 conda-forge pexpect 4.7.0 py37_0 conda-forge pickleshare 0.7.5 py37_1000 conda-forge pip 19.2.1 py37_0 conda-forge pkg-config 0.29.2 h112b980_1005 conda-forge pkgconfig 1.3.1 py37_1001 conda-forge prompt_toolkit 2.0.9 py_0 conda-forge psutil 5.6.3 py37h01d97ff_0 conda-forge ptscotch 6.0.6 ha54644a_1002 conda-forge ptyprocess 0.6.0 py_1001 conda-forge pybind11 2.2.4 py37h770b8ee_1001 conda-forge pycodestyle 2.5.0 py_0 conda-forge pycparser 2.19 py37_1 conda-forge pyflakes 2.1.1 py_0 conda-forge pygments 2.4.2 py_0 conda-forge pylint 2.3.1 py37_0 conda-forge pyopenssl 19.0.0 py37_0 conda-forge pyparsing 2.4.2 py_0 conda-forge pyqt 5.9.2 py37h2a560b1_2 conda-forge pyrsistent 0.15.4 py37h01d97ff_0 conda-forge pysocks 1.7.0 py37_0 conda-forge python 3.7.3 h93065d6_1 conda-forge python-dateutil 2.8.0 py_0 conda-forge python.app 1.2 py37h1de35cc_1200 conda-forge pytz 2019.2 py_0 conda-forge pyzmq 18.0.2 py37hee98d25_2 conda-forge qt 5.9.7 h8cf7e54_3 conda-forge qtawesome 0.6.0 py_0 conda-forge qtconsole 4.3.1 py37_0 defaults qtpy 1.9.0 py_0 conda-forge readline 8.0 hcfe32e1_0 conda-forge requests 2.22.0 py37_1 conda-forge rhash 1.3.6 h1de35cc_1001 conda-forge rope 0.14.0 py_0 conda-forge scalapack 2.0.2 h2db4217_1005 conda-forge scotch 6.0.6 hde27766_1002 conda-forge setuptools 41.0.1 py37_0 conda-forge sip 4.19.8 py37h0a44026_1000 conda-forge six 1.12.0 py37_1000 conda-forge slepc 3.11.2 h5bdb03d_0 conda-forge slepc4py 3.11.0 py37hc459697_0 conda-forge snowballstemmer 1.9.0 py_0 conda-forge sphinx 2.1.2 py_0 conda-forge sphinxcontrib-applehelp 1.0.1 py_0 conda-forge sphinxcontrib-devhelp 1.0.1 py_0 conda-forge sphinxcontrib-htmlhelp 1.0.2 py_0 conda-forge sphinxcontrib-jsmath 1.0.1 py_0 conda-forge sphinxcontrib-qthelp 1.0.2 py_0 conda-forge sphinxcontrib-serializinghtml 1.1.1 py_0 conda-forge spyder 3.3.6 py37_0 conda-forge spyder-kernels 0.5.1 py37_0 conda-forge sqlite 3.29.0 hb7d70f7_0 conda-forge suitesparse 4.5.6 h7019593_1202 conda-forge sympy 1.4 py37_0 conda-forge tbb 2019.7 h770b8ee_0 conda-forge testpath 0.4.2 py_1001 conda-forge tk 8.6.9 h2573ce8_1002 conda-forge tornado 6.0.3 py37h01d97ff_0 conda-forge traitlets 4.3.2 py37_1000 conda-forge urllib3 1.25.3 py37_0 conda-forge wcwidth 0.1.7 py_1 conda-forge webencodings 0.5.1 py_1 conda-forge wheel 0.33.4 py37_0 conda-forge wrapt 1.11.2 py37h01d97ff_0 conda-forge wurlitzer 1.0.3 py37_0 conda-forge xz 5.2.4 h1de35cc_1001 conda-forge zeromq 4.3.2 h6de7cb9_2 conda-forge zlib 1.2.11 h01d97ff_1005 conda-forge ```


Details about conda and system ( conda info ):

``` $ conda info active environment : fenicsproject active env location : /Users/xxx/Developer/anaconda3/envs/fenicsproject shell level : 1 user config file : /Users/xxx/.condarc populated config files : /Users/xxx/.condarc conda version : 4.7.10 conda-build version : 3.18.9 python version : 3.7.3.final.0 virtual packages : base environment : /Users/xxx/Developer/anaconda3 (writable) channel URLs : https://repo.anaconda.com/pkgs/main/osx-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/osx-64 https://repo.anaconda.com/pkgs/r/noarch package cache : /Users/xxx/Developer/anaconda3/pkgs /Users/xxx/.conda/pkgs envs directories : /Users/xxx/Developer/anaconda3/envs /Users/xxx/.conda/envs platform : osx-64 user-agent : conda/4.7.10 requests/2.22.0 CPython/3.7.3 Darwin/14.5.0 OSX/10.10.5 UID:GID : 501:20 netrc file : None offline mode : False ```
ccordoba12 commented 5 years ago

Please report this problem in the python.app feedstock:

https://github.com/conda-forge/python.app-feedstock

We can't do anything about it here.