Issue while installing Tethys on Windows (Python 3)

33 views
Skip to first unread message

Gonzalo Espinoza Davalos

unread,
Jul 5, 2018, 11:10:37 AM7/5/18
to Tethys Platform
A couple of issues:

(1) I tried to install Tethys on windows following the instructions on: http://docs.tethysplatform.org/en/stable/installation/windows.html but the bat file (https://raw.githubusercontent.com/tethysplatform /tethys/release/scripts/install_tethys.bat) does not work completely. It installs miniconda but it does not install the thetys environment (it does not continue with the procedure from line 235 onwards)

(2) I did create the environment and continue with the installation following the steps on the bat file but I got the attached error message (after running line 264: tethys gen settings ...). I think the 'unsetenv' function is not available in the 'os' module on windows (... \ src \ tethys_apps \ base \ testing \ environment.py)
error_message.PNG

swainn

unread,
Jul 9, 2018, 11:06:46 AM7/9/18
to Tethys Platform
Gonzalo:

I'm sorry you are having trouble. Can you give us a little more detail? Which version of Windows are you trying to install Tethys on and which version of Python are you using/installing?

swainn

unread,
Jul 9, 2018, 11:15:07 AM7/9/18
to Tethys Platform
Gonzalo:

I did further investigation and discovered that this is an issue with Python 3. In the current release version of Tethys Platform, Python 3 is experimental. We plan to have full Python 3 support in our next release. You may try checking out the latest development version by switching to the master branch and pulling the latest. Scott addressed many of the Python 3 issues in a recent pull request. We are still working on making tethys_dataset_services compatible with Python 3, which includes the GeoServer API. For any production installation, I would recommend working with Python 2 for the time being.

Regards,

Nathan


On Thursday, July 5, 2018 at 9:10:37 AM UTC-6, Gonzalo Espinoza Davalos wrote:
Reply all
Reply to author
Forward
0 new messages