remove py3.5 build because windows install fails with 1.7.3 build py_35_1
mss crashes with an EntryPointError
Traceback (most recent call last):
File "C:\Users\j.ungermann\Anaconda3\envs\mss-1.7.3-1\Scripts\mss-script.py",line 10, in <module>
sys.exit(main())
File "C:\Users\j.ungermann\Anaconda3\envs\mss-1.7.3-1\lib\site-packages\mslib\msui\mss_pyui.py", line 778, in main
mainwindow.create_new_flight_track()
File "C:\Users\j.ungermann\Anaconda3\envs\mss-1.7.3-1\lib\site-packages\mslib\msui\mss_pyui.py", line 548, in create_new_flight_track
name="new flight track ({:d})".format(self.new_flight_track_counter))
File "C:\Users\j.ungermann\Anaconda3\envs\mss-1.7.3-1\lib\site-packages\mslib\msui\flighttrack.py", line 157, in __init__
self.load_settings()
File "C:\Users\j.ungermann\Anaconda3\envs\mss-1.7.3-1\lib\site-packages\mslib\msui\flighttrack.py", line 172, in load_settings
self.performance_settings = load_settings_pickle(self.settings_tag, DEFAULT_PERFORMANCE)
File "C:\Users\j.ungermann\Anaconda3\envs\mss-1.7.3-1\lib\site-packages\mslib\utils.py", line 176, in load_settings_pickle
_fs = open_fs(_dirname)
File "C:\Users\j.ungermann\Anaconda3\envs\mss-1.7.3-1\lib\site-package\fs\opener\registry.py", line 177, in open_fs
default_protocol=default_protocol,
File "C:\Users\j.ungermann\Anaconda3\envs\mss-1.7.3-1\lib\site-package\fs\opener\registry.py", line 136, in open
opener = self.get_opener(protocol)
File "C:\Users\j.ungermann\Anaconda3\envs\mss-1.7.3-1\lib\site-packages\fs\opener\registry.py", line 86, in get_opener
exception,
File "<string>", line 3, in raise_from
fs.opener.errors.EntryPointError: could not load entry point; The 'typing~=3.6'
distribution was not found and is required by the application
The problem seems to be the requirement "typing~=3.6" in the requirements.txt file of the "fs" library. Any requirement for python system libraries fails in my Anaconda3 installation. These work on my linux Anaconda3 installation.
Minimal testcase:
import pkg_resources
tst = pkg_resources.WorkingSet()
tst.require("typing")
Comments (16)
-
reporter -
reporter Further exploration: If I fix python to 3.6 (which install python 3.6.0) or python 3.6.6, the pillow DLL error raises it nasty head again. Manually installing pillow from conda-forge resolves the issue.
Such, to install mss on Windows one needs to fix python to 3.6 as the fs/pkg_resources combination for python version for 3.5 seems to be broken on windows
-
conda-forge is planning on stopping new Python 3.5 builds by default after Oct. 1, 2018. Please let us know now if this is problematic for you! This is consistent with our policy of building two versions of Python 3 (v3.6 and v3.7) and Python 2.7
https://twitter.com/condaforge/status/1045699331171528707
We have to move to 3.6.
-
At minmimum we may have to set a fixation pillow 5.*
https://anaconda.org/conda-forge/pillow
pillow 2.9.0 is rather old
-
reporter I do not know, why conda installed py35 for the mss environment I newly created.
conda create -n env mss
used python 3.5 even though the root env uses python 3.6.
Only enforcing py36 with
conda create -n env mss python=3.6
used the more recent py3.6.0 (even though higher subversion are available). I have no idead what is going on there.
With respect to pillow, the py36 environments use pillow 5.x, but fail due to the documented DLL problem, which can be fixed by using the conda-forge pillow.
-
Please check:
-
Pillow issue described
-
@joernu76 please file a bug report to:
-
We schould verify that
pywin32-ctypes
is for py3.5 available and that it is installed by pillow
-
1.7.3-2 just merged, please retry
-
reporter Success!? Now he installs by default py27 instead of py35....
-
reporter So, in my Win7 virtual machine, mss works both in the py27 and in a py36 environment it created with "conda create -n mssenv mss python>=3". So it seems fine. Kind of....
-
hmm, this installs 3.6.6 python on linux.
windows config or windows bug?
-
- changed status to resolved
we skip python 3.5 from builds and set a minimum version 5 of pillow, fixes
#370→ <<cset ef9ad09f03ba>>
-
Merged in ReimarBauer/mss/stable (pull request #588)
we skip python 3.5 from builds and set a minimum version 5 of pillow, fixes
#370→ <<cset d4ea666d3e4b>>
-
- Log in to comment
Some more information. This is the list of packages it currently installs. For some reason it now uses python 3.5....