I tried to install jpype by pip as follows
sudo pip3 install JPype1-py3
but, I received a bunch of errors; the screenshot is attached. Click hereThen I installed manually that package, and when I run, it says: (the screenshot is also attached )
Click here
ModuleNotFoundError: No module named 'jpype'
If you have experienced this problem before, please give me any idea or recommendations to fix it
Thank you very much in advance
JPype-py3 branch has been deprecated for a while. See https://jpype.readthedocs.io/en/latest/install.html for current install instructions for the main distribution.
Related
(sorry for my English), i'm trying to use ursina on visual studio but when i run my code the IDE show a file: texture.py and and in particular the error: no module named 'direct'
I try to install direct but there are other error and i don't understand why for me this module is necessary and in internet i don't found of it nothing.
thanks for the help
sorry,the start of the error
the error
the error
direct is part of panda3d, which is a dependency of ursina. I suggest making sure it installed correctly. Maybe try reinstalling.
thank you very very much, my probem was that with pip panda3d have some problems end i decided to install it by the online site and now my program go.
i never thought that the problem was in panda3d(that contain direct) installation.
It seems panda3d is not correctly installed. Direct is part of panda3d and ursina is made over panda3d, so if direct is not correctly installed, then ursina will not run.
I recommend you to reinstall ursina and panda3d (latest version):
replace pip with your pip version/command
sudo is optional
(sudo) pip3 install ursina
(sudo) pip3 install panda3d
If you want the latest version of ursina, you can do (sudo) pip install git+https://github.com/pokepetter/ursina.git
Best wishes, Lixt
I'm working with a python notebook in Dataiku, I used gensmin package and it worked fine till last week.
Now I've tried to pip install gensim again, and at first it seems that it loads the chached package:
'Using cached gensim-4.2.0.tar.gz'
But at the end I get a fatal error attached in the image below.
error
I appreciate any help!
From Dataiku support:
Navigate to Administrations>Code Envs>Python_xxx and add gensim in
Requested packages.
If the code-environment update fails, please reach out to the admin to
install the system package python3-devel. The admin should be able
to install this depending on the OS the DSS is installed.
Error is posted here as pastebin, it's very long
'''https://pastebin.com/8ssgGNdL'''
(edit paste bin expired)
https://pastebin.com/BRuPeifp
I've since tried installing packages using pip3 and still get similar results. I haven't changed anything since the last time I installed 'requests'
I'm sorry if i'm asking an annoying question. I've googled similar questions but nothing seems to help. If anyone can point me in the right place to look and solve this for my self I will be very grateful.
The error states:
fatal error: 'SDL.h' file not found
and
For help with compilation see:', 'https://www.pygame.org/wiki/MacCompile'
It looks like one or more of the SDL dependencies is missing.
Have you installed SDL dependencies mentioned on that page using HomeBrew?
It seems like it's crashing while installing PyGame. According the PyGame's Getting Started page there seems to be some issues with newer version of OS X.
Quoting from the page:
If your examples aren't running and you are using a recent version of
Mac OS X; try this line to install pygame instead:
python3 -m pip install -U pygame==2.0.0.dev6 --user
Also looking over the Internet, the problem might be because of Python3.8 itself, and therefore requiring a newer version to resolve the issue.
~ Solved ~
pygame doesn't work with python3.8 so I had to use:
pipenv install pygame==2.0.0.dev6
when testing by trying to install other packages such as requests, I was met with the same error. This error was infact the error for pygame repeating itself (I don't understand why)
pywhatkit, requests, and pillow are already installed in my system. But, during importing any one of these, ImportError occurs.
After installing it through jupyter notebook, I still got the same error.
Actually I am a student and a noob in this field, so you can underestimate me. and feel free to help.
I think you are using python 2 instead of python 3. This particular error happens to me too. I think it might help.
Installing via pip on your local won’t necessarily install it for the kernel in your jupyter notebook. I typically write something like %pip install {libraries_here} into a cell. After running that cell, I restart the kernel and the packages should be there.
I’m completely new to Python and I want to install the package py-webrtcvad in Windows 7, but I'm stuck at the error ImportError: No module named 'pip.utils.setuptools_build'. There is an answer to this problem in stackoverflow which seems to solve the problem for others, but it doesn't work for me.
Here’s a summary of what I’ve done and tried so far:
Installed Python 3.5 and set up the Windows path environment so
that it works from any directory.
Installed pip for Python.
Tried to install the package with python -m pip install webrtcvad,
but it failed, returning the error Unable to find vcvarsall.bat.
I found a blog that deals with the vcvarsall.bat
problem: blogs.msdn.microsoft.com/pythonengineering/2016/04/11/unable-to-find-vcvarsall-bat. Following the directions of that blog:
First I just installed Visual C++ Build Tools 2015 and tried installing the package straight away (without updating setuptools), but I received a lot of error messages (which I didn’t write down).
I tried reinstalling setuptools, which I did following the directions in https://pypi.python.org/pypi/setuptools: I removed the version of setuptools that came with my Python installation (v20), and installed the latest version (v30). This time I got a different error message when trying to install py-webrtcvad: ImportError: No module named 'pip.utils.setuptools_build'.
Asked for assistance in the Python official chat. They made three
suggestions:
Updating pip with python -m pip install --upgrade pip. Didn’t
work. Again, the error ImportError: No module named 'pip.utils.setuptools_build'.
Reinstalling Visual C++ Build Tools 2015. No difference, same error
again.
Reinstalling Python itself. The Python installer offers three
choices: Repair, modify and uninstall.
Repair: Didn’t work. Same error.
Modify: Doesn’t look like it offers useful modifications for this.
Uninstall: Uninstalled and reinstalled. Still the same error.
I’m out of ideas. Can you help me?
Note: I imagine this should be doable in Windows 7 with Python 3.5. However, if it isn't I'm open to trying anything different. For example, installing a different version of Python would be no problem at all. I could also try installing Linux if that will solve the problem.
There was a bug in version 2.0.8 of webrtcvad that caused it to use the wrong flags when compiling for Windows: it was using -DWEBRTC_POSIX instead of -DWIN32. This might have been the source of the "lot of error messages" you got during one of your early attempts.
The fixed version has been pushed to pypi as version 2.0.9. I've confirmed that pip install webrtcvad works correctly on Windows 10. I'm using a pretty fresh install of Python, so I would try it first without reinstalling setuptools.