Giter VIP home page Giter VIP logo

Comments (2)

fabiobatalha avatar fabiobatalha commented on July 20, 2024

This is probably a issue with your environment.

You need to check where pip is installing the libraries, if the crossrefapi was installed in the correct site package (if you have more them one version of python in you machine), if the sys.path is correct and if there are no conflict names with other libraries.

ThinkPad:~/Work/ots_docker$ python -m site
sys.path = [
    '/home/fabiobatalha/Work/ots_docker',
    '/usr/lib/python2.7',
    '/usr/lib/python2.7/plat-x86_64-linux-gnu',
    '/usr/lib/python2.7/lib-tk',
    '/usr/lib/python2.7/lib-old',
    '/usr/lib/python2.7/lib-dynload',
    '/home/fabiobatalha/.local/lib/python2.7/site-packages',
    '/usr/local/lib/python2.7/dist-packages',
    '/usr/lib/python2.7/dist-packages',
    '/usr/lib/python2.7/dist-packages/gtk-2.0',
]
USER_BASE: '/home/fabiobatalha/.local' (exists)
USER_SITE: '/home/fabiobatalha/.local/lib/python2.7/site-packages' (exists)
ENABLE_USER_SITE: True

A good way to have an isolated environment is using virtualenv.

from crossrefapi.

mneedham91 avatar mneedham91 commented on July 20, 2024

@fabiobatalha I'm not sure what the issue was, but creating a new project in PyCharm with a fresh virtualenv did the trick. Thanks for your quick help.

from crossrefapi.

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.