Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install without internet connection? #40

Closed
EmmanuelChr opened this issue Jun 20, 2018 · 4 comments
Closed

install without internet connection? #40

EmmanuelChr opened this issue Jun 20, 2018 · 4 comments

Comments

@EmmanuelChr
Copy link

Is there a possibility to install the package without needing an interent connection? I have tried all the possible ways to install (apart from PIP) and all have failed due to connect timeouts. I suppose the problem in my case lies in the firewall of the company or in a proxy setting.
What is an aternative to this? Can one download the package and just install it?
Thanks in advance for any hint.

Emmanuel

@t-sommer
Copy link
Contributor

You can install FMPy without an internet connection with PIP by downloading the latest wheel. Copy it to the target machine and enter

pip install --no-deps FMPy-0.2.5-py2.py3-none-any.whl

or using Conda by downloading the respective Conda package

conda install --no-deps fmpy-0.2.5-py36_0.tar.bz2

Depending on your use case you might need additional packages. The Anaconda distribution contains most of these packages out-of-the-box.

@EmmanuelChr
Copy link
Author

EmmanuelChr commented Jun 20, 2018

Hello,

thanks a lot for the quick responce. I've tried both. They seemde to work. Now I cannot check if everything is OK. What I do is to try to start the GUI (python -m fmpy.gui). This doesn't work, I get the following messages on the console:

Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\runpy.py", line 193, in _run_module_as_main "main", mod_spec)
File "C:\ProgramData\Anaconda3\lib\runpy.py", line 85, in run_code exec(code, run_globals)
File "C:\ProgramData\Anaconda3\lib\site-packages\fmpy\gui_main
.py", line 16, in
from fmpy.gui.generated.MainWindow import Ui_MainWindow
File "C:\ProgramData\Anaconda3\lib\site-packages\fmpy\gui\generated\MainWindow.py", line 869, in
from pyqtgraph import GraphicsLayoutWidget
ModuleNotFoundError: No module named 'pyqtgraph'

Do you have a clue what the Problem can be?
If I try to install with dependencies the installation fails due to pathlib. That's where I get the connect timeouts. Is that lib so essential for the gui and all?

@t-sommer
Copy link
Contributor

The GUI depends on PyQtGraph available as a Wheel on PyPI and as a Conda package

@EmmanuelChr
Copy link
Author

Now it works! Thanks a lot again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants