GithubHelp home page GithubHelp logo

pyvistaqt install about pyvistaqt HOT 4 CLOSED

pyvista avatar pyvista commented on June 11, 2024
pyvistaqt install

from pyvistaqt.

Comments (4)

GuillaumeFavelier avatar GuillaumeFavelier commented on June 11, 2024 2

I tried again on my work PC without problem.

This is good to hear and is useful as baseline.

The only thing I can think off is that the other PC's have python 3.9.1

Could be because of this. Although I just realize I missed the update of pyvista/pyvista#1001, AFAIK pyvistaqt is not tested yet on python=3.9.*.

I just created a quick test env on my linux with:

conda create -n test-py39 python=3.9

And then I did:

conda activate test-py39
conda install -c conda-forge pyvista pyvistaqt

I was surprised to see that my basic script works as expected but I can't guarantee the same result on Windows.

As a short term solution, you could try on a different version of python.

It's just my guess unfortunately, the other @pyvista/developers might have a different perspective.

I was wondering if there is a procedure to manually install pyvistaqt

You could also try to install the package from source?

git clone https://github.com/pyvista/pyvistaqt.git
cd pyvistaqt
python -m pip install -e .

The commands above will install the latest version still in development.

from pyvistaqt.

GuillaumeFavelier avatar GuillaumeFavelier commented on June 11, 2024

Not sure if this can be classified as an issue.

Hi @zoner72 , I'll try to help anyway

PIP install gives an SSL error.

Could you share the log?

Are you behind a proxy? After a short search online, I found the following:

pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org <package>

Reference: https://stackoverflow.com/questions/49943410/pip-ssl-error-on-windows

from pyvistaqt.

zoner72 avatar zoner72 commented on June 11, 2024

@GuillaumeFavelier

thanks for your help

I will retry to reproduce the PIP error when Im back home (currently at work) and post the log.
I initially I thought it was my internal network (new router), but after I tried on the laptop and the install went perfect I realised it must be pc related. I tried again on my work PC without problem.

Since it is a clean install with only Anaconda and Pycharm on the PC, Im a bit surprised it did not work 'out of the box'.

I did try the link you posted yesterday

The only thing I can think off is that the other PC's have python 3.9.1 latest version installed in addition to the full Anaconda installation.

I was wondering if there is a procedure to manually install pyvistaqt

from pyvistaqt.

zoner72 avatar zoner72 commented on June 11, 2024

pip:

WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pyvistaqt/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pyvistaqt/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pyvistaqt/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pyvistaqt/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pyvistaqt/
Could not fetch URL https://pypi.org/simple/pyvistaqt/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pyvistaqt/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
ERROR: Could not find a version that satisfies the requirement pyvistaqt (from versions: none)
ERROR: No matching distribution found for pyvistaqt

pip after stackoverflow solution has the same result (as above)

Anaconda:

Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

Manual Install:
great success!
I never realise this is how the manual install works, so will definitely bookmark this.
pyvista now shows in my Anaconda environment and can use pyvistaqt in my code.
However, pyvistaqt does not show in my anaconda environment, not sure if this is how it is suppose to be.

Thanks again for your help, really appreciated.
I hope someone else can maybe solve the problem or solve their install problems

from pyvistaqt.

Related Issues (20)

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.