Giter Club home page Giter Club logo

Comments (5)

Technologicat avatar Technologicat commented on July 28, 2024 1

Ok, checked. setup.py seems to be ok. It's compiling the wlsqm.fitter.defs module, as well as including it into the distribution (checked by a clean pip3 install wlsqm and then manually verifying the exact .tar.gz file it said it downloaded). For me wlsqm still works after the clean install via pip.

One possibility is, did your terminal happen to be in the python-wlsqm directory when you started python3 and invoked import wlsqm? In that case Python will find the local wlsqm subdirectory instead of the installed wlsqm package.

(Loading from the local directory doesn't work, because the compiled Cython modules won't exist there.)

from python-wlsqm.

Technologicat avatar Technologicat commented on July 28, 2024

Hmm, probably something relevant has changed between Python 3.4 and 3.6. Since the official support for Python 3.4 just ended this March, I'll be upgrading soon, and then I can take a look at it. Thanks for the heads-up!

Not working in 3.4 is definitely a bug, but it seems I can't reproduce it. I tried a clean reinstall of wlsqm on my machine with (Linux, Python 3.4) and import wlsqm completes without error. So let's debug. How did you install the package? From pip or by python3 setup.py install --user?

from python-wlsqm.

Technologicat avatar Technologicat commented on July 28, 2024

Ah, right, you already said at the top that it was a pip install :)

I'll check my packaging logic and comment here when done...

from python-wlsqm.

duaneya avatar duaneya commented on July 28, 2024

Ok, checked. setup.py seems to be ok. It's compiling the wlsqm.fitter.defs module, as well as including it into the distribution (checked by a clean pip3 install wlsqm and then manually verifying the exact .tar.gz file it said it downloaded). For me wlsqm still works after the clean install via pip.

One possibility is, did your terminal happen to be in the python-wlsqm directory when you started python3 and invoked import wlsqm? In that case Python will find the local wlsqm subdirectory instead of the installed wlsqm package.

(Loading from the local directory doesn't work, because the compiled Cython modules won't exist there.)

from python-wlsqm.

duaneya avatar duaneya commented on July 28, 2024

thanks,the proplem is in the python-wlsqm directory

from python-wlsqm.

Related Issues (4)

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.