Comments (5)
It would be helpful if you could use the bdedit
bug report template, it asks you a bunch of questions that would help diagnose the problem. Did you do
pip install PyQt5
from bdsim.
No I did not, but now that I did, the following message appears (ImportError: No module named PyQt5.QtWidgets)
The following describes the issue in the bug report format.
Describe the bug: Not being able to launch the bdedit editor when running the python file bdedit.py
To Reproduce Steps to reproduce the behavior I have done the following steps:
Go to: the (bdsim) folder
Click on: the (bin) folder, and then open the file bdedit.py
using Visual Studio code, and running the file
I get the error: ImportError: No module named PyQt5.QtWidgets
Expected behavior: from what I understood, running the bdedit.py
file should launch a blank page bdedit editor.
Screenshot:
Operating environment:
OS: [MacOS]
Version: [Big Sur version 11.6.4]
Your version of PyQT: PyQt5
The output of running [pip install PyQt5]:
Ahmeds-MBP-2:~ ahmed$ pip install PyQt5
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
Requirement already satisfied: PyQt5 in /usr/local/lib/python3.9/site-packages (5.15.9)
Requirement already satisfied: PyQt5-sip<13,>=12.11 in /usr/local/lib/python3.9/site-packages (from PyQt5) (12.12.1)
Requirement already satisfied: PyQt5-Qt5>=5.15.2 in /usr/local/lib/python3.9/site-packages (from PyQt5) (5.15.2)
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
Ahmeds-MBP-2:~ ahmed$
from bdsim.
Ahmed, this is not a bdedit
problem, it's an issue with your python, pip or PyQt5 install. I really can't help with this, I'm using more modern MacOS and PyQt5 works fine for me. You are going to have to google the error and fix it. If you are not using conda
I would strongly recommend you do.
from bdsim.
That is OK, Thank you very much Peter. I'll certainly look into how this can be fixed.
from bdsim.
Hi @Ahmed8395, I put some notes on the wiki which includes a test example.
from bdsim.
Related Issues (16)
- recursive imports
- eg1.bd not found HOT 1
- OS Error on Ubuntu 22.04 HOT 1
- PID cannot be instantiated HOT 6
- Example of integrator of hybrid system on a Python project HOT 6
- INTEGRATOR into LTI_SS block fails HOT 1
- [bdedit Enhancement] Switch from PyQT5 to PySide6? HOT 5
- bdedit function block HOT 3
- [bdedit BUG] problem with arial font although it seems it is installed HOT 2
- [bdsim BUG] Cannot run examples in Python 3.12 HOT 8
- PID controller implementation HOT 4
- what am I missing? HOT 6
- AttributeError during running the sample code HOT 4
- Missing examples in PyPI package HOT 2
- Missing RELEASE file in pypi 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 bdsim.