Question: Install PySCeS without Enthought on OSX?
0
gravatar for jolespin
4.5 years ago by
jolespin120
United States
jolespin120 wrote:

Is there any way to install PySCeS without installing the commercial Enthought Python Distribution? I'm trying to exclusively use Anaconda's Python distribution and I don't want to clutter my computer with extra distributions.

python • 1.0k views
ADD COMMENTlink modified 4.5 years ago • written 4.5 years ago by jolespin120
2
gravatar for Saulius Lukauskas
4.5 years ago by
London, UK
Saulius Lukauskas530 wrote:

Uhm.. have you tried installing it just like any other python package -- using pip ?

$ pip install pysces
Downloading/unpacking pysces
  Downloading pysces-0.9.1.zip (1.4MB): 1.4MB downloaded
  Running setup.py (path:/home/saulius/.virtualenvs/ms-data/build/pysces/setup.py) egg_info for package pysces
<...snip...>
Successfully installed pysces
Cleaning up...

 

ADD COMMENTlink written 4.5 years ago by Saulius Lukauskas530

when I tried that, my error started at ::
 

Could not locate executable gfortran


Could not locate executable f95


customize NAGFCompiler


customize AbsoftFCompiler


Could not locate executable f90


Could not locate executable f77


customize IBMFCompiler


Could not locate executable xlf90


Could not locate executable xlf


customize IntelFCompiler


Could not locate executable ifort


Could not locate executable ifc


customize GnuFCompiler


Could not locate executable g77


customize G95FCompiler


Could not locate executable g95


customize PGroupFCompiler


Could not locate executable pgfortran


don't know how to compile Fortran code on platform 'posix'


warning: build_ext: f77_compiler=None is not available.




building 'pysces.pitcon.pitcon' extension


error: extension 'pysces.pitcon.pitcon' has Fortran sources but no Fortran compiler found


----------------------------------------

Cleaning up...

Command /Users/Mu/anaconda/bin/python -c "import setuptools, tokenize;__file__='/private/var/folders/hc/n2vgcxqj6_z9lbq1539rcl080000gn/T/pip_build_Mu/pysces/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/hc/n2vgcxqj6_z9lbq1539rcl080000gn/T/pip-ks4EUP-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /private/var/folders/hc/n2vgcxqj6_z9lbq1539rcl080000gn/T/pip_build_Mu/pysces

Storing debug log for failure in /Users/Mu/.pip/pip.log
ADD REPLYlink written 4.5 years ago by jolespin120
1

Well, it's pretty self explanatory:

error: extension 'pysces.pitcon.pitcon' has Fortran sources but no Fortran compiler found

You need to install a Fortran compiler before you can compile the package.

I assume you use Mac OS X? HomeBrew package manager is the easiest way to do this. 

ADD REPLYlink written 4.5 years ago by Saulius Lukauskas530
​Successfully installed pysces

Cleaning up...

 

ADD REPLYlink written 4.5 years ago by jolespin120

thanks for the help!

ADD REPLYlink modified 4.5 years ago • written 4.5 years ago by jolespin120
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1993 users visited in the last hour