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.

Installation Issue

See original GitHub issue

It may just be me, but after installing cruzdb…

pip install cruzdb

… and trying to import it in python and python3 I am getting this error:

>>> import cruzdb
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/josephsolvason/miniconda3/lib/python3.6/site-packages/cruzdb/__init__.py", line 5, in <module>
    from . import soup
  File "/Users/josephsolvason/miniconda3/lib/python3.6/site-packages/cruzdb/soup.py", line 1, in <module>
    from . import sqlsoup
  File "/Users/josephsolvason/miniconda3/lib/python3.6/site-packages/cruzdb/sqlsoup.py", line 458
    except KeyError, ke:
                   ^
SyntaxError: invalid syntax
>>> 

Thoughts?

Joe

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Biojenifercommented, Feb 3, 2020

Do you know if it is possible now to install it using Python 3? Cause I am getting the same error

0reactions
beibeixiaomucommented, Mar 29, 2021

@brentp

Hello!

When I use python 3.9.2. I had the same error as above.

And when I use python 2.7.15. Errors are as following: Traceback (most recent call last): File “/home/data/gma15/miniconda3/envs/combineP/bin/comb-p”, line 39, in <module> main() File “/home/data/gma15/miniconda3/envs/combineP/bin/comb-p”, line 36, in main module.main() File “/home/data/gma15/miniconda3/envs/combineP/lib/python2.7/site-packages/cpv/pipeline.py”, line 9, in main from ._common import get_col_num File “/home/data/gma15/miniconda3/envs/combineP/lib/python2.7/site-packages/cpv/_common.py”, line 164, in <module> IMapIterator.next = wrapper(IMapIterator.next) File “/home/data/gma15/miniconda3/envs/combineP/lib/python2.7/site-packages/cpv/_common.py”, line 161, in wrapper def wrap(self, timeout=threading.TIMEOUT_MAX): AttributeError: ‘module’ object has no attribute ‘TIMEOUT_MAX’

I wonder which version of python should be used and if you can give me a list of all requirements. Thank you very much for your contribution. I am looking forward to your help. Sincerely Judy

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to troubleshoot Windows Installer errors - Microsoft Support
Describes how to troubleshoot problems that occur when you install, uninstall, or upgrade a program on a Windows-based computer by using Windows Installer....
Read more >
Fix problems installing Chrome - Google Chrome Help
Fix problems installing Chrome. If you get an error message when you try to download and install Google Chrome, try these fixes.
Read more >
Common Installation Issues and Solutions
Common ways installation can fail and what to do about it. ... The common issues break out into three main categories: Downloaded files...
Read more >
Possible Causes of an Installation Problem
Incorrect patches installed · Installing a patch that does not correspond to your architecture · Permissions problems · The presence of a previous...
Read more >
12 irritating Windows 10 installation issues, and how to fix them
Having trouble installing and setting up Windows 10? You aren't alone. Here are a dozen-plus of the most common problems, along with a...
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