GithubHelp home page GithubHelp logo

pahdb / amespahdbpythonsuite Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 5.0 8.36 MB

A Python module to work with a downloaded PAHdb library XML-file.

Home Page: https://www.astrochemistry.org/pahdb/

License: BSD 3-Clause "New" or "Revised" License

Python 100.00%

amespahdbpythonsuite's Issues

Possible matplotlib backend issue on OS X (default to TkAgg?)

Ran into this while working on the dev branch, while using Matplotlib 3.0.2, Python 3.7.2, Numpy 1.16.2 on Mac OS X 10.14.3, environment was set up with Conda. Error:

2019-03-12 10:48:23.388 python[39527:1103627] -[NSApplication _setup:]: unrecognized selector sent to instance 0x7fb21d27d0e0
2019-03-12 10:48:23.391 python[39527:1103627] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSApplication _setup:]: unrecognized selector sent to instance 0x7fb21d27d0e0'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff3780cded __exceptionPreprocess + 256
1 libobjc.A.dylib 0x00007fff638d4720 objc_exception_throw + 48
2 CoreFoundation 0x00007fff3788a195 -[NSObject(NSObject) __retain_OA] + 0
....
126 python 0x0000000105ec3bbd main + 125
127 libdyld.dylib 0x00007fff649a2ed9 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6

(Clipped the middle bits out for brevity.)

Apparently this has cropped up before when using Matplotlib on OS X, e,g.,
MTG/sms-tools#36
vlajnaya-mol/message-analyser#1

As suggested in the links above, this fixed the issue:
$ mkdir -p ~/.matplotlib
$ echo "backend: TkAgg" > ~/.matplotlib/matplotlibrc

Might need to incorporate a default TkAgg backend in some scenarios. Not sure what the underlying cause is though.

Installation error

When I run the command for installation, the system returns the following error message:

Collecting git+git://github.com/PAHdb/AmesPAHdbPythonSuite.git
Cloning git://github.com/PAHdb/AmesPAHdbPythonSuite.git to /tmp/pip-tYZxXY-build
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-tYZxXY-build/setup.py", line 22
""".format(*sys.version_info[:2], *min_version)
^
SyntaxError: invalid syntax

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

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-tYZxXY-build/

Does anyone know how to fix this?

Thank you in advance.

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.