Comments (5)
Even when I tried to import git after installing gitpython throws the below exception.
import git
File "C:\Python27\lib\site-packages\git__init_.py", line 30, in
init_externals()
File "C:\Python27\lib\site-packages\git__init_.py", line 24, in init_externals
raise ImportError("'gitdb' could not be found in your PYTHONPATH")
ImportError: 'gitdb' could not be found in your PYTHONPATH
from jython3.
In general, putting the CPython library on the path in Jython is a recipe for disaster: much of the Jython stdlib is identical, but low-level code is not. At the end sounds like it would be safe, but in fact it's not reliable. It would be better to have a distinct copy of the modules you need in (say) the Jython Lib/site-packages.
I notice that the names reported are git__init_.py and gitdb__init_.py, which looks wrong in an obvious way. This may be a bug in os.path.join or our import apparatus: or it may just be in the production of the error message.
BTW this is the Jython3 sandbox and you're using Jython 2.7.
from jython3.
Thanks jeff, the information is really helpful.
from jython3.
I ought to be able to say install the things you need with pip under 2.7.0, but it doesn't work on Windows. Now that is a bug
from jython3.
**import dropbox
File "C:\jython2.7.0\Lib\site-packages\dropbox__init__.py", line 3, in
from .dropbox import version, Dropbox, DropboxTeam, create_session
File "C:\jython2.7.0\Lib\site-packages\dropbox\dropbox.py", line 19, in
from . import stone_serializers
File "C:\jython2.7.0\Lib\site-packages\dropbox\stone_serializers.py", line 23, in
from . import stone_validators as bv
File "C:\jython2.7.0\Lib\site-packages\dropbox\stone_serializers.py", line 23, in
from . import stone_validators as bv
File "C:\jython2.7.0\Lib\site-packages\dropbox\stone_validators.py", line 21, in
from typing import Optional
File "C:\jython2.7.0\Lib\site-packages\typing.py", line 345, in
class Any(Final):
File "C:\jython2.7.0\Lib\site-packages\typing.py", line 332, in new
cls.assert_no_subclassing(bases)
File "C:\jython2.7.0\Lib\site-packages\typing.py", line 100, in assert_no_subclassing
if isinstance(base, cls):
RuntimeError: maximum recursion depth exceeded (Java StackOverflowError)**
I tried the by copying the dropbox module but unfortunately it shows the above error :(
from jython3.
Related Issues (20)
- Merge PyInteger into PyLong
- Merge PyString into PyUnicode
- Compile failed
- build explanation HOT 3
- errors while trying to run jython3 HOT 3
- Travis ? HOT 1
- Jython 3 on GraalVM & Truffle? HOT 4
- .jar HOT 3
- zippy (python3 on jvm) - join forces HOT 2
- Error faced while interpreting a python file in java HOT 1
- This can support python3.5 third-party libraries? For example: numpy, if so, how to use HOT 1
- Project pulse is flatline. HOT 19
- Jython is still in development ? HOT 9
- Error on import javafx control HOT 2
- How to build HOT 1
- where can i find the most advanced and stable version jython? HOT 4
- How to install?
- Android support HOT 2
- when are jython3 download? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jython3.