Skip to content Skip to sidebar Skip to footer

Install A Python Package That Built For Windows And Macos On Linux

I have currently used the python Package Larch (https://pypi.python.org/pypi/larch) on Windows. It works nicely and I am really impressed with its performance. To use the package w

Solution 1:

[Edit]

larch does not support python2.x, and only support Windows, MACOSX.

For installing in Linux, I suggest to use wine to run windows python program with larch.

For more information about wine in Ubuntu. You can search with keyword such as How To Run Windows Software on Ubuntu with Wine


For installing in macosx. Making sure your environment have python3. You can use which python3 to check that.

$ which python3
/usr/local/bin/python3

Then, without root permission, you can install package via virtualenv. (A workstation should provide this command)

$ virtualenv -p $(which python3) env$ . env/bin/activate
(env) $ python -V
Python 3.x.x

And finally, you can install larch via pip.

(env) $ pip3 install larch

For more information about virtualenv

Solution 2:

"Larch can be installed from source code. If not using Anaconda, this is necessary for Linux, and can be done for other systems as well.

The latest releases of the source code will be available from Larch releases (github.com). In addition, you can use git to grab the latest development version of the source code:git clone http://github.com/xraypy/xraylarch.git" After unpacking the source distribution kit, installation from source on any platform is:

python setup.py install

source:http://cars.uchicago.edu/xraylarch/installation/index.html edit: See this for doing this without root access How to install python modules without root access?

Post a Comment for "Install A Python Package That Built For Windows And Macos On Linux"