Installation problems (beginner)

268 views
Skip to first unread message

Robert Udale

unread,
Jan 20, 2021, 10:55:06 AM1/20/21
to hddm-users
Hi, 

I am trying to install HDDM, and am a beginner with Python, so I am sure I am making some sort of very simply mistake. 

My operating system is Windows 10.

I am using Python 3.8.5

As per the installation instructions, I have installed Anaconda. It then says: Go to Start->Programs->Anaconda->Anaconda command prompt

The closest thing I have is Start > Anaconda3 (64 bit) > Anaconda Powershell Prompt (anconda3)

After opening this, I type:

conda install -c pymc hddm

Which gives:

(base) C:\Users\rudale>conda install -c pymc hddm
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: \
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:

Specifications:

  - hddm -> python[version='2.7.*|3.5.*']

Your python: python=3.8

If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.


I don't understand all of those outputs, but it looks like hddm requires an older version of Python. However, I can't see any way to use older versions on python.org

Any help would be very much appreciated. 

Best wishes, 

Rob Udale


Gorana Gonzalez

unread,
Jan 20, 2021, 2:10:54 PM1/20/21
to hddm-users
I had to use Conda to create a 2.7 environment. 

This is the code I used in my terminal and then I opened juypiter notebook. My current issue is that I have no idea how to read the tutorial file. I think it's looking in the wrong place but I don't understand the issue and how to fix the directory. 

conda create --name py27 python=2.7 jupyter

Robert Udale

unread,
Jan 20, 2021, 11:20:01 PM1/20/21
to hddm-users
Thanks for the suggestion, although unfortunately this also doesn't work for me. 

hcp...@gmail.com

unread,
Jan 21, 2021, 5:21:00 AM1/21/21
to hddm-users
Dear Rob,

I recently also tried to install HDDM directly on my window system, but found it's quite difficult, even I had successfully installed and used it about two or three years ago.
My suggestion would be: either switch to ubuntu system, or use docker. If your IT administrator allow you to use docker, then docker is a better choice for beginners.
There are multiple docker images of HDDM, I am maintaining one of them (see https://hub.docker.com/r/hcp4715/hddm). Of course, this one is based on Mads's previous version, credit is his.
If you can't use docker but able to use ubuntu, I can share my .yml file, based on which you can use conda to create a HDDM environment.

Best,
Chuan-Peng

Robert Udale

unread,
Jan 21, 2021, 9:47:14 AM1/21/21
to hddm-users
Thanks for the suggestion Chuan-Peng. Just to give you an update, I managed to create a python 2.7 environment, and I'm now able to go through the tutorials. 

Thanks for your help. 

Best, 

Rob

hcp...@gmail.com

unread,
Jan 25, 2021, 10:15:22 AM1/25/21
to hddm-users
Great that you made it!

Best,
Chuan-Peng
Reply all
Reply to author
Forward
0 new messages