Code Monkey home page Code Monkey logo

Comments (13)

MikePia avatar MikePia commented on August 23, 2024

Got it. They are gone. Please let me know any other problems

from structjour.

MikePia avatar MikePia commented on August 23, 2024

Are you Luke from BBT?

from structjour.

luigima avatar luigima commented on August 23, 2024

I am! :P

After installation the app crashes with ModuleNotFoundError: No module named 'PyQt5.sip'. Do you happen to know what is wrong? Unfortunately I have no experiences with pyqt5.

from structjour.

MikePia avatar MikePia commented on August 23, 2024

You should be able to fix that with
pip install pyqt5-sip

I think it should have been installed as a dependency of pyqt5. But if this fixes it, I’ll add it to the dependency list in setup.py

from structjour.

luigima avatar luigima commented on August 23, 2024

Using a fresh python install I still cannot fix it unfortunately. Maybe you can do an install from scratch on a Windows VM yourself and see if you can reproduce the error?

from structjour.

MikePia avatar MikePia commented on August 23, 2024

I have been barking up the wrong tree. I think the error is not about pyqt5-sip. Its about QtWebEngineWidgets and a hack to import it that uses import sip. Although it works on my machine, I may have to remove the Strategy web browser.

from structjour.

MikePia avatar MikePia commented on August 23, 2024

Could you please print out the entire error. Does it occur when you run the structjour.exe command?

from structjour.

luigima avatar luigima commented on August 23, 2024
python.exe --version
Python 3.7.4
pip list
Package         Version
--------------- -------
beautifulsoup4  4.8.0
cycler          0.10.0
et-xmlfile      1.0.1
jdcal           1.4.1
kiwisolver      1.1.0
matplotlib      3.1.1
mpl-finance     0.10.0
numpy           1.17.2
openpyxl        2.5.14
pandas          0.25.1
pip             19.0.3
pyparsing       2.4.2
pyqt5           5.13.1
pyqt5-sip       4.19.19
pyqtwebengine   5.13.1
python-dateutil 2.8.0
pytz            2019.2
scipy           1.3.1
seaborn         0.9.0
setuptools      40.8.0
six             1.12.0
soupsieve       1.9.3
structjour      0.9.9a0
...\Python37\Scripts>structjour.exe
Traceback (most recent call last):
  File "...\Python37\Scripts\structjour-script.py", line 11, in <module>
    load_entry_point('structjour==0.9.9a0', 'console_scripts', 'structjour')()
  File "...\Python37\lib\site-packages\pkg_resources\__init__.py", line 489, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "...\Python37\lib\site-packages\pkg_resources\__init__.py", line 2793, in load_entry_point
    return ep.load()
  File "...\Python37\lib\site-packages\pkg_resources\__init__.py", line 2411, in load
    return self.resolve()
  File "...\Python37\lib\site-packages\pkg_resources\__init__.py", line 2417, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "...\Python37\lib\site-packages\structjour-0.9.9a0-py3.7.egg\structjour\view\runtrade.py", line 28, in <module>
    from PyQt5.QtCore import QDate, QDateTime
ModuleNotFoundError: No module named 'PyQt5.sip'

from structjour.

MikePia avatar MikePia commented on August 23, 2024

From a Stack question:

uninstall pyqt5 and pyqt5-tools packages and then reinstall them.

Of course if it works, it gives me no clue how to fix my setup.py for a clean install

from structjour.

luigima avatar luigima commented on August 23, 2024

Yeah I saw this as well but it doesn't fix it as expected

from structjour.

MikePia avatar MikePia commented on August 23, 2024

The good news, I can reliably reproduce and fix the error by uninstalling all dependencies and then installing with
python setup.py sdist install

Then I can fix them with:
pip uninstall -y pyqtwebengine pyqt5 pyqt5-sip
pip install structjour

from structjour.

MikePia avatar MikePia commented on August 23, 2024

I am going to close the original issue and open a new one that address the PyQt5 install stuff. Please reply to that thread and your help is appreciated

from structjour.

MikePia avatar MikePia commented on August 23, 2024

Should work now. v0.9.91a8 from PyPi
pip install structjour
Please respond to
#3

from structjour.

Related Issues (11)

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.