enki icon indicating copy to clipboard operation
enki copied to clipboard

Installing Enki 18.08.0 on Windows

Open nov314k opened this issue 5 years ago • 0 comments

This is not an issue as such, it is a report of my (successful) installation experience, in case it helps somebody.

qutepart

  • Started off with instructions given in qutepart - Building and installation on Windows
  • Installed CMake 3.14.2, and made sure that cmake is added to my path
  • Skipped Microsoft Visual Studio Express Edition 2010 installation, as I already had Microsoft Visual Studio 14 installed (and some other versions too)
  • Downloaded pcre v8.38, the version being closest to the tested one (note there is no version 8.37)
  • Downloaded qutepart v3.2.0
  • Ran commands as listed in Make pcre section, with two changes:
    • 8.38 instead of 8.37
    • "Visual Studio 14 2015" instead of "Visual Studio 10 2010"
  • Ran commands as listed in Build/install Python modules section, with two changes:
    • 8.38 instead of 8.37
    • python instead of python3
  • Ran into an rc.exe issue, which I solved by copying rc.exe and rcdll.dll from C:\Program Files (x86)\Windows Kits\8.1\bin\x86 to C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin, as detailed here: SO rc.exe issue.

enki

  • Downloaded Enki 18.08.0 source archive
  • Ran python setup.py install
  • Tried running python -m enki and got the following error:
    • This Windows version (6.3.9600) does not support the required Bluetooth API. Consider updating to a more recent Windows (10.0.10586 or above).
  • Thanks to this SO question, I solved the Bluetooth API problem by running:
    • pip uninstall PyQt5
    • pip install PyQt5==5.9.2
  • After this, Enki started up, but I realised that I forgot to pip install qtconsole
  • I further installed pip install flake8
  • I still have to get the Navigator working (it requires ctags); it is not a priority at the moment.

PyQt5.QtWebEngineWidgets

Since I don't need it at the moment, I also commented out import PyQt5.QtWebEngineWidgets in enki-18.08.0\enki\__main__.py and also in one more file (it will become obvious which one during application startup).

Recommendation

Looking back, I should have probably done all this in a virtual environment.

Other version information

python --version Python 3.6.2 pip --version pip 18.0 from d:\python\lib\site-packages\pip (python 3.6)

nov314k avatar Apr 20 '19 18:04 nov314k