Code Monkey home page Code Monkey logo

Comments (5)

petercorke avatar petercorke commented on September 23, 2024

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.

Ahmed8395 avatar Ahmed8395 commented on September 23, 2024

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:

image

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.

petercorke avatar petercorke commented on September 23, 2024

Ahmed, this is not a bdeditproblem, 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.

Ahmed8395 avatar Ahmed8395 commented on September 23, 2024

That is OK, Thank you very much Peter. I'll certainly look into how this can be fixed.

from bdsim.

petercorke avatar petercorke commented on September 23, 2024

Hi @Ahmed8395, I put some notes on the wiki which includes a test example.

from bdsim.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.