Comments (5)
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.
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.
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.
Ok, checked.
setup.py
seems to be ok. It's compiling thewlsqm.fitter.defs
module, as well as including it into the distribution (checked by a cleanpip3 install wlsqm
and then manually verifying the exact.tar.gz
file it said it downloaded). For mewlsqm
still works after the clean install via pip.One possibility is, did your terminal happen to be in the
python-wlsqm
directory when you startedpython3
and invokedimport wlsqm
? In that case Python will find the localwlsqm
subdirectory instead of the installedwlsqm
package.(Loading from the local directory doesn't work, because the compiled Cython modules won't exist there.)
from python-wlsqm.
thanks,the proplem is in the python-wlsqm directory
from python-wlsqm.
Related Issues (4)
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 python-wlsqm.