Comments (12)
A lot of places suggest the delocate tool which makes pip wheels portable. That would at least solve the issue where users aren't able to install with pip.
from pysatcdf.
from pysatcdf.
Hi, I also run into a problem trying to install pysat, pysatCDF, and pysatMagVect with pip. It is not directly relevant but I was hesitant to start a new issue, since it is technically an "installation with pip issue". Please feel free to move/edit as you see fit.
I have the following:
- macOS v.10.14.6
- gcc 9.2.0_1 (installed with Brew)
- python2.7.15 (also tried this in python3)
I get a bunch of warnings during installation, all seem to be related with the incompatibility between Apple clang and gfortran versions I installed with Homebrew. To fix I had to define new aliases in my bashrc file to point the gcc and gfortran installed by brew in my /usr/local/bin/.
The problem is similar to pymc-devs/pymc#119
from pysatcdf.
from pysatcdf.
Also, note that install_name_tool
requires users to have the xcode developer tools installed so putting the command in setup.py may not help: https://stackoverflow.com/a/11598098
from pysatcdf.
The delocate looks like it would be helpful for pip.
from pysatcdf.
I found a lot of issues with clang as well, but gcc seems to work better.
I'm able to install from setup.py using the following environment setup
conda create -n pysatCDF python=2.7
conda install -c anaconda gcc
conda install -c anaconda numpy
pip install pysat (or setup.py after cloning pysat)
Then, from pysatCDF directory:
python setup.py install (or pip install .)
@rstoneback Anything left to do here?
from pysatcdf.
from pysatcdf.
Yep, it works with python3 as well.
from pysatcdf.
I've uploaded delocated versions of pysatCDF to pypi for macosx. python 2 and 3.8 are currently supported.
from pysatcdf.
I was finally able to fix various issues and got pysatCDF to install on my laptop (OSX Mojave) with python 2.7, 3.7, and 3.8.
from pysatcdf.
from pysatcdf.
Related Issues (20)
- conda recipe HOT 11
- BAD_REC_COUNT: Illegal record count specified. HOT 1
- ZLIB_ERROR HOT 3
- Expand read support for higher dimension data HOT 2
- cannot install pysatCDF HOT 4
- STY: import DataFrame from pandas, not pysat
- Install pysatCDF error: '-mno-cygwin' did you mean... HOT 1
- Trouble reading the SWARM L1B Langmuir Probe cdf files HOT 1
- BUG: `to_pysat` only works for fixed epoch labels
- Non-standard Fortran syntax causing installation issues HOT 1
- CDF version is out of date HOT 3
- Add docstring checks HOT 1
- MAINT: distutils deprecation
- ENH: flake-8 standards
- TST: windows and macos support in Github Actions
- ENH: rename develop branches
- MAINT: numpy 1.24 compliance HOT 3
- BUG: epoch referenced before assignment HOT 1
- MAINT: update to use pyproject.toml
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pysatcdf.