question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ImportError: cannot import name 'RocketMissingParamException' after upgrade in pip

See original GitHub issue

Hello!

After using this Python Wrapper for a while during several months without issues I find that after updating today using

pip install rocketchat_API --upgrade

I get:

File "xxxx.py", line 13, in <module>
from rocketchat_API.rocketchat import RocketChat
File "/usr/local/lib/python3.6/site-packages/rocketchat_API/rocketchat.py", line 5, in <module>
from rocketchat_API.APIExceptions.RocketExceptions import RocketConnectionException, RocketAuthenticationException, \
ImportError: cannot import name 'RocketMissingParamException'

In: Python version: 3.6.4 (default, Dec 21 2017, 01:29:34) [GCC 6.3.0 20170516]

Same identical source code and enviroment was working till today after this upgrade.

Any tips?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
ghostcommented, Apr 27, 2018

I can confirm the exact same error with a fresh install of Version „rocketchat-API (0.6.8)”:

Traceback (most recent call last):
  File "./foobar.py", line 4, in <module>
    from rocketchat_API.rocketchat import RocketChat
  File "/usr/local/lib/python3.5/dist-packages/rocketchat_API/rocketchat.py", line 5, in <module>
    from rocketchat_API.APIExceptions.RocketExceptions import RocketConnectionException, RocketAuthenticationException, \
ImportError: cannot import name 'RocketMissingParamException' 
0reactions
jadolgcommented, May 3, 2018

perfect! I will close this issue then. Thanks for your cooperation and support @all 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error after upgrading pip: cannot import name 'main'
You must have inadvertently upgraded your system pip (probably through something like sudo pip install pip --upgrade ).
Read more >
[SOLVED] Error after upgrading pip: cannot import name ' ...
This error mostly occurs when you have accidentally upgraded the pip in our system. · It appears when pip and unpack_url are used...
Read more >
Error after upgrading pip cannot import name main
Whenever I am trying to install any package using pip, I am getting this import error: dey@niroj-notebook:~$ pip3 install numpy Traceback ...
Read more >
ImportError: cannot import name 'PackageFinder' error solved
Open your terminal and run the following command to install and upgrade pip. shell. Copied! # 👇️ On Linux or MacOS python ...
Read more >
[Solved] pip Import Error: cannot import name main
I had this error report once a while, it was happened when I upgrade my pip. Simply speaking, this problem usually occurs when...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found