Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install and sub-modules? #1

Closed
aewallin opened this issue May 25, 2016 · 7 comments
Closed

pip install and sub-modules? #1

aewallin opened this issue May 25, 2016 · 7 comments
Labels

Comments

@aewallin
Copy link

after a "pip install bms" and trying one example I get:
Traceback (most recent call last):
File "bms_ex1.py", line 9, in
from bms.signals.functions import Ramp
ImportError: No module named signals.functions

could you please check on a fresh install if the pypi package install works? I suspect the init.py files for the submodules need more content.
I am on ubuntu 16.04lts with python 2.7.11

@masfaraud
Copy link
Owner

I would need this 'bms_ex1.py" to have a better idea of the situation.

@darrell-rg
Copy link

darrell-rg commented Jun 27, 2016

I had this same problem, this is due to the pip install being an older version(0.4 for me). When i installed from github with setup.py this problem is fixed.

Oh and btw this project is a pretty good start on a block simulator! Thanks for sharing this project.

@masfaraud masfaraud added the bug label Jun 28, 2016
@masfaraud
Copy link
Owner

It should work now, I have reuploaded the package with pip, it should be at version 0.0.6 now.

@K0ertis
Copy link

K0ertis commented Jul 25, 2016

Hi! I have installed it with pip install bms and got the same version. I get with pip show bms and pip3 show bms :

 ---
Name: bms
Version: 0.4
Location: /home/alk/.local/lib/python2.7/site-packages
Requires: numpy, matplotlib, networkx

I have Ubuntu 15.10

@masfaraud masfaraud reopened this Jul 26, 2016
@K0ertis
Copy link

K0ertis commented Jul 26, 2016

The same with Ubuntu 16.04:
pip3 install bms

Collecting bms
  Downloading bms-0.04.tar.gz

@masfaraud
Copy link
Owner

Thanks for reporting, I will check ASAP.

@masfaraud
Copy link
Owner

Ok, I think the problem come from the change of versioning number: I changed from 0.04 to 0.0.5 and for pypi the situation is now: 0.04>0.0.7
I deleted the old versions on pypi, tell me if you still have this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants