Re: [diffpy-users] Re: Diffpy-CMI in windows 10

119 views
Skip to first unread message
Message has been deleted
Message has been deleted

Simon Billinge

unread,
May 14, 2019, 12:44:20 PM5/14/19
to diffpy...@googlegroups.com
Thanks for this Rob!

On Tue, May 14, 2019 at 12:41 PM Robert Koch <rkoc...@gmail.com> wrote:
It looks like installing an X server may not be necessary

Rob

On Tuesday, May 14, 2019 at 11:33:43 AM UTC-4, Robert Koch wrote:
Hey everyone,

I recently discovered that Windows 10 supports a linux subsystem. This effectively means you can install and run Diffpy-CMI without setting up a virtual machine.

Details on installing the windows subsystem for linux are here:

https://docs.microsoft.com/en-us/windows/wsl/install-win10


Once you have a bash terminal, you can install anaconda python by issuing the commands:

wget https://repo.continuum.io/archive/[YOUR VERSION]

Example: 
then:
bash Anaconda[YOUR_VERSION].sh

The installation should ask you to accept a license agreement, prompt you for an installation directory (default is acceptable), then ask if you'd like the installer to pre-pend your path. If this is your only python distribution, it's probably acceptable or recommended to say "yes" here

Some of the functionality will require you to install an X Server. Xming is a decent choice: 

Once this is installed, you'll need to edit your shell configuration file to include the following, on it's own line:

export DISPLAY=:0

This is usually the file ~/.bashrc

Apologies if this is brief, I can definitely try to help anyone if they have issues/questions.
Rob

--
You received this message because you are subscribed to the Google Groups "diffpy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to diffpy-users...@googlegroups.com.
To post to this group, send email to diffpy...@googlegroups.com.
Visit this group at https://groups.google.com/group/diffpy-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/diffpy-users/659e7682-abe7-44d8-a17e-584cef78fc1b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
----
Prof. Simon Billinge

Applied Physics & Applied Mathematics
Columbia University
500 West 120th Street
Room 200 Mudd, MC 4701
New York, NY 10027
Tel: (212)-854-2918 (o) 851-7428 (lab)

Condensed Matter Physics and Materials Science Dept.
Brookhaven National Laboratory
P.O. Box 5000
Upton, NY 11973-5000
(631)-344-5661

email: sb2896 at columbia dot edu
home: http://thebillingegroup.com
Reply all
Reply to author
Forward
0 new messages