|
|
#1 |
|
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jun 2021
Device: none
|
Problem setting up calibre development environment
I'v read this page and done it step by step:
1- I downloaded the source code from github 2- I set environment variable CALIBRE_DEVELOP_FROM after these steps I started calibre but error message appears. I used calibre-debug to find a problem: Code:
Python function terminated unexpectedly
'module' object has no attribute 'zip' (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 101, in main
File "site.py", line 77, in run_entry_point
File "C:\Users\*****\Downloads\Compressed\calibre-master\src\calibre\__init__.py", line 9, in <module>
from polyglot.builtins import codepoint_to_chr, unicode_type, range, hasenv, native_string_type
File "C:\Users\*****\Downloads\Compressed\calibre-master\src\polyglot\builtins.py", line 69, in <module>
zip = builtins.zip
AttributeError: 'module' object has no attribute 'zip'
Code:
print(builtins.__file__) Code:
zip = builtins.zip map = builtins.map filter = builtins.filter range = builtins.range Code:
C:\Users\*****\Downloads\Compressed\calibre-master\src\polyglot\builtins.py ![]() I can't understand what does buitins.py do. Please explain it and help me to solve the problem Thanks
|
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Make sure you have installed calibre 5.0 or newer
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jun 2021
Device: none
|
Actually I'm still using Windows 7 in this PC. So I can't install versions higher than 3.48
Is there any source code that is compatible with version 3.48? Thanks |
|
|
|
|
|
#4 |
|
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jun 2021
Device: none
|
I found the source code of 3.48 and it works well
Thanks |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Questions about setting up the Calibre development environment | dejavudwh | Development | 1 | 02-09-2021 12:33 AM |
| Need help in setting up a Development environment | gabox01 | Development | 6 | 05-01-2018 07:35 AM |
| Setting up Calibre development environment | EngelEatos | Development | 3 | 04-22-2018 01:20 PM |
| Setting up a development environment ... | BWinmill | Kobo Developer's Corner | 27 | 06-16-2014 09:21 AM |
| Setting up Mac Calibre development environment? | pdurrant | Calibre | 2 | 01-06-2009 08:10 AM |