Giter Club home page Giter Club logo

Comments (7)

gregstarr avatar gregstarr commented on September 17, 2024 1

image

from aacgmv2.

aburrell avatar aburrell commented on September 17, 2024 1

Huh. This is very confusing. I agree that the compilation steps you made shouldn't be an issue. Short term we can put a note in the docs about this being a potential issue and how to solve it. I will try to think of another way to track down what's going on with the environment variables.

from aacgmv2.

aburrell avatar aburrell commented on September 17, 2024

Thanks! I will first check and see if I can reproduce this on my mac. That should help us see if it's OS specific or due to a change in the way the environment variables are set or accessed.

from aacgmv2.

aburrell avatar aburrell commented on September 17, 2024

Ok, can verify that I cannot reproduce this bug in OS X Sierra, python 3.7.9. I will poke around the internet and see if I can see why the environment variables aren't being set in your version of windows. It is working on AppVeyor with Visual Studio 2019.

from aacgmv2.

aburrell avatar aburrell commented on September 17, 2024

Quick question, what happens if you try each of these (in order)?

import aacgmv2
import os

os.getenv('IGRF_COEFFS')

If it's unknown on the system, it should return None.

os.environ['IGRF_COEFFS'] = 'desired path'
os.environ['AACGM_v2_DAT_PREFIX'] = 'desired path here'

print(os.getenv('IGRF_COEFFS'), os.getenv('AACGM_v2_DAT_PREFIX'))

If that works, what happens if you try that before importing aacgmv2 and then try your test code? It would basically be doing what init does manually. I am wondering if it's a problem with the os module interface. The docs claim it should work on Windows, so I am curious to see what your system does.

from aacgmv2.

gregstarr avatar gregstarr commented on September 17, 2024

Side note: probably unrelated, in order to get it to compile I had to replace msvcr140 in anaconda3\envs\aacgm\Lib\distutils\cygwinccompiler.py with vcruntime140

from aacgmv2.

hlmxlj2018 avatar hlmxlj2018 commented on September 17, 2024

Pycharm cannot be installed aacgmv2.At the same time, PIP cannot be installed.

from aacgmv2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.