8000 Zomus instal from pip missing folder · Issue #1 · prschmid/zoomus · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Zomus instal from pip missing fold 8000 er #1

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

Closed
jairot opened this issue Mar 21, 2016 · 3 comments
Closed

Zomus instal from pip missing folder #1

jairot opened this issue Mar 21, 2016 · 3 comments
Labels

Comments

@jairot
Copy link
jairot commented Mar 21, 2016

I just installed the client using pip and it doesn't runs, because the component folder is missing in the install.

In [2]: from zoomus import ZoomClient
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-2-a9bd3832bb69> in <module>()
----> 1 from zoomus import ZoomClient

/home/jtrad/play/mejorpromedio/local/lib/python2.7/site-packages/zoomus/__init__.py in <module>()
      7 __version__ = '0.1.1'
      8 
----> 9 from zoomus.client import ZoomClient

/home/jtrad/play/mejorpromedio/local/lib/python2.7/site-packages/zoomus/client.py in <module>()
      4 __email__ = "prschmid@act.md"
      5 
----> 6 from zoomus import (
      7     components,
      8     util)

ImportError: cannot import name components
@prschmid
Copy link
Owner

Can you give me a little more details as to what you were doing? I did a clean pip install on a new virtualenv (we use virtualenvwrapper) and everything seems to be working correctly.

# Make new virtual environment
$ mkvirtualenv zoomus-test

# Install zoomus in the environment
$ pip install zoomus

# Show what is installed in the current environment
$ pip freeze
requests==2.9.1
wheel==0.24.0
zoomus==0.1.1

# Start python and test it
$ python
Python 2.7.10 (default, Oct 23 2015, 18:05:06) 
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from zoomus import ZoomClient
>>> client = ZoomClient('API_KEY', 'API_SECRET')
>>> rv = client.user.list()
>>> print rv.text
{"error":{"code":200,"message":"Invalid api key or secret"}}

(Note, the last error is expected since I didn't provided it with a real API_KEY and API_SECRET)

@prschmid
Copy link
Owner

I haven't heard anything back, so I'm closing this issue.

@prschmid
Copy link
Owner
prschmid commented Apr 1, 2016

@jairot Looks like the issue was in the building of the .egg file pushed to Pypi. This was fixed in 846e00b (release 0.1.2).

@prschmid prschmid closed this as completed Apr 1, 2016
tarkatronic referenced this issue in tarkatronic/zoomus Mar 29, 2019
Update requirements.txt
jrfernandes pushed a commit to bevy/zoomus that referenced this issue May 13, 2020
Create test_add_registrant.py
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

2 participants
0