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

ImportError #105

Closed
miscaandrei opened this Issue Jan 21, 2016 · 2 comments

Comments

Projects
None yet
3 participants
@miscaandrei

miscaandrei commented Jan 21, 2016

Hi,
I'm very interested in the project and while I was testing it I has a problem when I wanted to make a pinax zero new app

The code error

(pinax)amisca@amisca-laptop pinax$ pinax start zero mysite
Traceback (most recent call last):
  File "/home/amisca/Envs/pinax/bin/pinax", line 9, in <module>
    load_entry_point('pinax-cli==0.4', 'console_scripts', 'pinax')()
  File "/home/amisca/Envs/pinax/local/lib/python2.7/site-packages/pkg_resources.py", line 356, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/home/amisca/Envs/pinax/local/lib/python2.7/site-packages/pkg_resources.py", line 2431, in load_entry_point
    return ep.load()
  File "/home/amisca/Envs/pinax/local/lib/python2.7/site-packages/pkg_resources.py", line 2152, in load
    raise ImportError("%r has no %r attribute" % (entry, attr))
ImportError: <module 'pinax' from '/home/amisca/Envs/pinax/local/lib/python2.7/site-packages/pinax/__init__.pyc'> has no 'main' attribute

My pip freeze:

Django==1.9.1
argparse==1.2.1
click==5.1
django-appconf==1.0.1
django-bootstrap-form==3.2
django-user-accounts==1.3.1
jsonfield==1.0.3
metron==1.3.7
pinax-cli==0.4
pinax-eventlog==1.1.1
pinax-theme-bootstrap==7.2.0
pytz==2015.7
requests==2.7.0
six==1.10.0
wsgiref==0.1.2
@ossanna16

This comment has been minimized.

Show comment
Hide comment
@ossanna16

ossanna16 Jan 21, 2016

Hey @miscaandrei! Thanks for reporting this error. Would you mind joining our Pinax Slack team (http://slack.pinaxproject.com) and asking your question there? Someone should be able to help you in Slack faster than here :)

ossanna16 commented Jan 21, 2016

Hey @miscaandrei! Thanks for reporting this error. Would you mind joining our Pinax Slack team (http://slack.pinaxproject.com) and asking your question there? Someone should be able to help you in Slack faster than here :)

@paltman

This comment has been minimized.

Show comment
Hide comment
@paltman

paltman Feb 8, 2016

Member

This is fixed with pinax-cli==0.5 that was just released.

Member

paltman commented Feb 8, 2016

This is fixed with pinax-cli==0.5 that was just released.

@paltman paltman closed this Feb 8, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment