demjeson install cannot be done since setuptools upgrade, so neither justpy can.
See original GitHub issueToday on a new deploy I did :
pip3 install justpy
but ends up failing because:
ERROR: Cannot install justpy==0.0.5, justpy==0.0.6, justpy==0.0.7, justpy==0.0.8, justpy==0.0.9, justpy==0.1.0, justpy==0.1.1, justpy==0.1.2, justpy==0.1.3, justpy==0.1.4 and justpy==0.1.5 because these package versions have conflicting dependencies.
The conflict is caused by:
justpy 0.1.5 depends on demjson>=2.2.4
justpy 0.1.4 depends on demjson>=2.2.4
justpy 0.1.3 depends on demjson>=2.2.4
justpy 0.1.2 depends on demjson>=2.2.4
justpy 0.1.1 depends on demjson>=2.2.4
justpy 0.1.0 depends on demjson>=2.2.4
justpy 0.0.9 depends on demjson>=2.2.4
justpy 0.0.8 depends on demjson>=2.2.4
justpy 0.0.7 depends on demjson>=2.2.4
justpy 0.0.6 depends on demjson>=2.2.4
justpy 0.0.5 depends on demjson>=2.2.4
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
it is an open issue at demjson repo:
https://github.com/dmeranda/demjson/issues/40
Downgrading to setuptools 57.5.0 it des not work, it installs but while doing:
import justpy
gives:
import justpy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/data/giodegas/dev/AQ2009/myenv/lib/python3.8/site-packages/justpy/__init__.py", line 1, in <module>
from .justpy import *
File "/data/giodegas/dev/AQ2009/myenv/lib/python3.8/site-packages/justpy/justpy.py", line 13, in <module>
from .chartcomponents import *
File "/data/giodegas/dev/AQ2009/myenv/lib/python3.8/site-packages/justpy/chartcomponents.py", line 2, in <module>
import demjson
File "/data/giodegas/dev/AQ2009/temp/demjson/demjson.py", line 645
class json_int( (1L).__class__ ): # Have to specify base this way to satisfy 2to3
^
SyntaxError: invalid syntax
@elimintz what can I do now? Thank you for your support.
Issue Analytics
- State:
- Created 2 years ago
- Comments:18
Top Results From Across the Web
demjeson install cannot be done since setuptools upgrade, so ...
Today on a new deploy I did : pip3 install justpy but ends up failing because: ERROR: Cannot install justpy==0.0.5, justpy==0.0.6, ...
Read more >sudo pip install setuptools --upgrade error - Stack Overflow
Try to upgrade manually: pip uninstall setuptools pip install setuptools. If it doesn't work, try: pip install --upgrade setuptools --user python.
Read more >demjeson install cannot be done since setuptools ... - bytemeta
Today on a new deploy I did : pip3 install justpy. but ends up failing because: ERROR: Cannot install justpy==0.0.5, justpy==0.0.6, justpy==0.0.7, ...
Read more >Getting Started - JustPy
Installation ¶. First, make sure that the version of python3 you have is 3.7 or higher: $ python3 --version. If not, ...
Read more >JustPy is an object-oriented, component based, high-level ...
JustPy can also be used to create graphic user interfaces for Python ... demjeson install cannot be done since setuptools upgrade, so ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It works fine for me too
Some preliminary test show it is ok now. Thank you.