Comments (43)
I used pip to install initially and to re-install.
from dearpygui.
32 or 64 bit python?
Python 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 23:03:10) [MSC v.1916 64 bit (AMD64)] on win32
Can you verify that dearpygui.pyd is located in your “site-packages”?
Confirmed, found in "C:\Users\dylan\AppData\Local\Programs\Python\Python38\Lib\site-packages\dearpygui"
You may need to upgrade python (preferably to 3.8.5)
I upgrade from 3.8.2 to 3.8.5 and now the sample code provided is working as intended!
Please put this as a requirement, assuming it is one, in the install section of your ReadME
from dearpygui.
I have this same issue in Windows 7, running python 64 bit in a windows cmd terminal.
from dearpygui.
Thanks for the report! Were you using pip to install? Or the zipped executable?
from dearpygui.
32 or 64 bit python?
I do not seem to be able to replicate the issue. Can you verify that dearpygui.pyd is located in your “site-packages”? It should be located at pythonInstallLocation/Lib/site-packages/dearpygui
You may need to upgrade python (preferably to 3.8.5) but we are still trying to reproduce and will update this when we can.
from dearpygui.
Thank you for the information and will do. It appears some of the recent fixes in the python 3.8 versions have to do with importing native binaries. Closing this.
from dearpygui.
Is this bug fixed? I still have this bug when importing the module v0.4.2 in python3.8.5 on Win64.
from dearpygui.
It’s been fix. Would you happen to be naming your module dearpygui?
from dearpygui.
I did not rename the module, I used the code in README.md.
from dearpygui.
Can you post the actual error message?
from dearpygui.
Traceback (most recent call last):
File "e:\Code Box\py0\pyGUI\Src\test0.py", line 1, in <module>
from dearpygui.core import *
ImportError: DLL load failed while importing core: 找不到指定的模块。
from dearpygui.
In all previous cases, this only occurs if are using a 32bit version of python DPG (even though you are on a 64 bit windows machine).
from dearpygui.
emm... Is there a solution?
from dearpygui.
Using 64 bit python atm.
from dearpygui.
What is python atm? I am using python-3.8.5-amd64.exe.
from dearpygui.
Are you on windows 10 or 7?
from dearpygui.
windows 10
from dearpygui.
Atm is at the moment
from dearpygui.
@Jah-On I have never heard of "python at the moment". Python3.8.5 should be the latest in python38, right?
from dearpygui.
You have to explicitely find the download for 64bit python
from dearpygui.
from dearpygui.
Yep. And you need to ensure thats the actual one you are running if you have multiple installed
from dearpygui.
I'm sure I'm running this because I only installed this version.
D:\Study Files\Python38\Lib\site-packages\dearpygui
This is the path I installed.
from dearpygui.
What version of windows?
from dearpygui.
Windows10 2004(19041.508)
from dearpygui.
What ide?
from dearpygui.
VSCode
from dearpygui.
It's a vs code environment issue. I had to add this to the settings.json file to point vscode in the proper direction:
{
"python.defaultInterpreterPath": "C:\Users\Jonathan Hoffstadt\AppData\Local\Programs\Python\Python38\python.exe",
"python.globalModuleInstallation": true,
"python.linting.lintOnSave": false,
"python.terminal.activateEnvironment": false,
"python.linting.pylintArgs": [
"--init-hook",
"import sys; sys.path.append('C:\Users\Jonathan Hoffstadt\AppData\Local\Programs\Python\Python38\Lib\site-packages')"
]
}
from dearpygui.
Still no effect, I want to give up. 😂
from dearpygui.
I don't think its a DPG issue though ha.
from dearpygui.
Can you show the result of pip debug
from dearpygui.
I have the same issue, Python 3.8.6 64bit on Windows 7 64bit. I try to run the example in a cmd terminal, and I use a virtualenv.
Here is the output of pip debug
:
pip version: pip 20.3.1 from <PROJECT_ROOT>\venv\lib\site-packages\pip (python 3.8)
sys.version: 3.8.6 (tags/v3.8.6:db45529, Sep 23 2020, 15:52:53) [MSC v.1927 64 bit (AMD64)]
sys.executable: <PROJECT_ROOT>\venv\Scripts\python.exe
sys.getdefaultencoding: utf-8
sys.getfilesystemencoding: utf-8
locale.getpreferredencoding: cp1252
sys.platform: win32
sys.implementation:
name: cpython
'cert' config value: Not specified
REQUESTS_CA_BUNDLE: None
CURL_CA_BUNDLE: None
pip._vendor.certifi.where(): <PROJECT_ROOT>\venv\lib\site-packages\pip\_vendor\certifi\cacert.pem
pip._vendor.DEBUNDLED: False
vendored library versions:
appdirs==1.4.4
CacheControl==0.12.6
colorama==0.4.4
contextlib2==0.6.0.post1 (Unable to locate actual module version, using vendor.txt specified version)
distlib==0.3.1
distro==1.5.0 (Unable to locate actual module version, using vendor.txt specified version)
html5lib==1.1
ipaddress==1.0.23
msgpack==1.0.0 (Unable to locate actual module version, using vendor.txt specified version)
packaging==20.7
pep517==0.9.1
progress==1.5
pyparsing==2.4.7
requests==2.25.0
certifi==2020.11.08
chardet==3.0.4
idna==2.10
urllib3==1.26.2
resolvelib==0.5.3
retrying==1.3.3 (Unable to locate actual module version, using vendor.txt specified version)
setuptools==44.0.0 (Unable to locate actual module version, using vendor.txt specified version)
six==1.15.0
toml==0.10.2
webencodings==0.5.1 (Unable to locate actual module version, using vendor.txt specified version)
Compatible tags: 30
cp38-cp38-win_amd64
cp38-abi3-win_amd64
cp38-none-win_amd64
cp37-abi3-win_amd64
cp36-abi3-win_amd64
cp35-abi3-win_amd64
cp34-abi3-win_amd64
cp33-abi3-win_amd64
cp32-abi3-win_amd64
py38-none-win_amd64
py3-none-win_amd64
py37-none-win_amd64
py36-none-win_amd64
py35-none-win_amd64
py34-none-win_amd64
py33-none-win_amd64
py32-none-win_amd64
py31-none-win_amd64
py30-none-win_amd64
cp38-none-any
py38-none-any
py3-none-any
py37-none-any
py36-none-any
py35-none-any
py34-none-any
py33-none-any
py32-none-any
py31-none-any
py30-none-any
(at this point imgui is easier to use, directly in C++)
from dearpygui.
Windows 7 will come eventually.
from dearpygui.
Windows 7 will come eventually.
Well, then I want to understand: I can use imgui in C++ on Windows 7 without problems, so what is limiting here ? Why is this OS excluded, what is the technical reason ?
from dearpygui.
I'm not the lead dev but if I recall correctly there is not a build for it yet and/or Jonathan modified imgui's code to use DX12 instead if DX11 for a future 3D DPG engine. (DPG.core and .simple is just the 2D version of the 3D version)
from dearpygui.
Oh I see, DX12 definitely blocks Win7. Maybe a fallback on OpenGL 3 would be sufficient (and avoid too much dev work for this OS) ?
from dearpygui.
@Synxis there are a few reasons. Us switching to DX12 soon, is part of it. The other part is that appveyor and GitHub actions do not have windows 7 runners, so we haven’t worked out a way to deploy it easily for this OS. Even if we add a fallback renderer (for OpenGL for example), we still need to manage to build the library on window 7 for 8 versions of python. So either we need a CI system that supports it OR just offer a build script that allows the user to pull in this repo and easily build it in place. (The latter is where I’m leaning)
from dearpygui.
Hi! I'm Having the same issue on a fresh install of Windows 10 and Python 3.9.1.
I'm running virtualenv, requirements.txt containing only dearpygui.
Directory of c:\users\hehar\pycharmprojects\uitest\venv\lib\site-packages\dearpygui
06/02/2021 14.04
.
06/02/2021 14.04 ..
06/02/2021 14.04 2 444 288 core.pyd
06/02/2021 14.04 65 297 core.pyi
06/02/2021 14.04 85 259 demo.py
06/02/2021 14.04 25 755 simple.py
06/02/2021 14.04 6 init.py
06/02/2021 14.04 pycache
5 File(s) 2 620 605 bytes
from dearpygui.
@heharkon What error occurs?
from dearpygui.
The "original":
from dearpygui.dearpygui import *
ImportError: DLL load failed while importing dearpygui: The specified module could not be found.
from dearpygui.
dearpygui.dearpygui is no longer a module. Did you happen to come from the medium article?
from dearpygui.
If so, I just updated it.
from dearpygui.
Ah! Indeed that was it, I had cop-pasted an old example! :D
Now it works, thanks!
from dearpygui.
Related Issues (20)
- Readme improvement suggestion: adding captions/sources to the images in the readme HOT 3
- Change z-order between two windows HOT 2
- support for WantCaptureMouse
- user_data parameter for bind_item_handler_registry? HOT 2
- Component-specific themes corrupt the heap HOT 1
- Tree nodes toggle at mouse button down when clicking on triangle, but with mouse button up when clicking on label. HOT 5
- Optional "item handler registry" argument for popups HOT 1
- dpg.draw_text cannot rotate by applying a rotation matrix. HOT 3
- Individual mouse click callback for Node Editor grid & nodes HOT 24
- get_value returns a string representation instead of the object itself HOT 2
- Showcase on Python.org HOT 5
- Error loading font for Chinese path HOT 1
- Can't use set_y_scroll for listbox HOT 1
- v1.11.0 doesn't seem to work on Apple Silicon (M1) HOT 6
- Option to bring absolutely positioned) button to front? HOT 3
- [HELP] Axis limit never update HOT 2
- get_item_rect_size for plot annotations? HOT 6
- Windows Access Violation while plotting non-empty X and empty Y arrays
- A guildline how to build DearPyGui with Windows 32-bit systems HOT 5
- Dear PyGUI can support the function of embedding a browser
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 dearpygui.