petrasvestartas / compas_wood

Project for Timber Joint Generation. Documentation:
https://petrasvestartas.github.io/compas_wood/latest/
MIT License
39 stars 2 forks source link

Could not find a version that satisfies the requirement nptyping (from compas-wood) (from versions: none) #8

Closed reallynn closed 7 months ago

reallynn commented 8 months ago

Describe the bug Could not find a version that satisfies the requirement nptyping (from compas-wood) (from versions: none) I have followed all the provided instructions, but I am still having trouble with installation of compas_wood

To Reproduce (base) C:\Windows\System32>conda activate wood-dev

(wood-dev) C:\Windows\System32>cd C:\IBOIS57_code\Software\Python

(wood-dev) C:\IBOIS57_code\Software\Python>git clone https://github.com/petrasvestartas/compas_wood.git Cloning into 'compas_wood'... remote: Enumerating objects: 41367, done. remote: Counting objects: 100% (2838/2838), done. remote: Compressing objects: 100% (1046/1046), done. remote: Total 41367 (delta 1817), reused 2784 (delta 1765), pack-reused 38529 Receiving objects: 100% (41367/41367), 946.09 MiB | 11.78 MiB/s, done. Resolving deltas: 100% (17757/17757), done. Updating files: 100% (843/843), done.

(wood-dev) C:\IBOIS57_code\Software\Python>cd compas_wood

(wood-dev) C:\IBOIS57_code\Software\Python\compas_wood>pip install -e . Obtaining file:///C:/IBOIS57/_code/Software/Python/compas_wood Preparing metadata (setup.py) ... done Requirement already satisfied: compas in c:\users\lynn\appdata\local\anaconda3\envs\wood-dev\lib\site-packages (from compas-wood==1.0.0) (2.1.0) WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1131)'))': /simple/nptyping/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1131)'))': /simple/nptyping/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1131)'))': /simple/nptyping/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1131)'))': /simple/nptyping/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1131)'))': /simple/nptyping/ Could not fetch URL https://pypi.org/simple/nptyping/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/nptyping/ (Caused by SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1131)'))) - skipping INFO: pip is looking at multiple versions of compas-wood to determine which version is compatible with other requirements. This could take a while. ERROR: Could not find a version that satisfies the requirement nptyping (from compas-wood) (from versions: none) ERROR: No matching distribution found for nptyping Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1131)'))) - skipping

petrasvestartas commented 7 months ago

The repository has been refactored.

You can try again with the following:


Conda

git clone https://github.com/petrasvestartas/compas_wood.git
conda create -n compas_wood_3_9_10 python=3.9.10 compas
conda activate compas_wood_3_9_10
pip install -r requirements.txt
pip install -e .

Geometry is displayed using compas_viewer. Please clone the viewer to have the latest version install in the current environment:¨

git clone https://github.com/compas-dev/compas_viewer.git
cd compas_viewer
conda activate compas_wood_3_9_10
pip install -e .
petrasvestartas commented 6 months ago

Hi,

I have updated finally compas_wood thanks to Rhino8. Could you please try to install and run an example files? Thank you a lot.

Following is the link with a video installation tutorial: https://www.food4rhino.com/en/app/compaswood?lang=en

Best, Petras

On Mon, 18 Mar 2024, 19:21 reallynn, @.***> wrote:

Describe the bug Could not find a version that satisfies the requirement nptyping (from compas-wood) (from versions: none) I have followed all the provided instructions, but I am still having trouble with installation of compas_wood

To Reproduce (base) C:\Windows\System32>conda activate wood-dev

(wood-dev) C:\Windows\System32>cd C:\IBOIS57_code\Software\Python

(wood-dev) C:\IBOIS57_code\Software\Python>git clone https://github.com/petrasvestartas/compas_wood.git Cloning into 'compas_wood'... remote: Enumerating objects: 41367, done. remote: Counting objects: 100% (2838/2838), done. remote: Compressing objects: 100% (1046/1046), done. remote: Total 41367 (delta 1817), reused 2784 (delta 1765), pack-reused 38529 Receiving objects: 100% (41367/41367), 946.09 MiB | 11.78 MiB/s, done. Resolving deltas: 100% (17757/17757), done. Updating files: 100% (843/843), done.

(wood-dev) C:\IBOIS57_code\Software\Python>cd compas_wood

(wood-dev) C:\IBOIS57_code\Software\Python\compas_wood>pip install -e . Obtaining file:///C:/IBOIS57/_code/Software/Python/compas_wood Preparing metadata (setup.py) ... done Requirement already satisfied: compas in c:\users\lynn\appdata\local\anaconda3\envs\wood-dev\lib\site-packages (from compas-wood==1.0.0) (2.1.0) WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1131)'))': /simple/nptyping/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1131)'))': /simple/nptyping/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1131)'))': /simple/nptyping/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1131)'))': /simple/nptyping/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1131)'))': /simple/nptyping/ Could not fetch URL https://pypi.org/simple/nptyping/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/nptyping/ (Caused by SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1131)'))) - skipping INFO: pip is looking at multiple versions of compas-wood to determine which version is compatible with other requirements. This could take a while. ERROR: Could not find a version that satisfies the requirement nptyping (from compas-wood) (from versions: none) ERROR: No matching distribution found for nptyping Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1131)'))) - skipping

— Reply to this email directly, view it on GitHub https://github.com/petrasvestartas/compas_wood/issues/8, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEJN6IOC66DYK3ECP4C72XLYY4WDRAVCNFSM6AAAAABE4DSAXSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE4TEOJUHEYDIMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

reallynn commented 6 months ago

The repository has been refactored.

You can try again with the following:


Conda

git clone https://github.com/petrasvestartas/compas_wood.git
conda create -n compas_wood_3_9_10 python=3.9.10 compas
conda activate compas_wood_3_9_10
pip install -r requirements.txt
pip install -e .

Geometry is displayed using compas_viewer. Please clone the viewer to have the latest version install in the current environment:¨

git clone https://github.com/compas-dev/compas_viewer.git
cd compas_viewer
conda activate compas_wood_3_9_10
pip install -e .

Hi, I've tried those steps ,but something still went wrong. To Reproduce: (base) C:\Users\Lynn>conda activate compas_wood_3_9_10 (compas_wood_3_9_10) C:\Users\Lynn>cd compas_wood (compas_wood_3_9_10) C:\Users\Lynn\compas_wood>pip install -r requirements.txt

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1129)'))': /simple/wood-nano/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1129)'))': /simple/wood-nano/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1129)'))': /simple/wood-nano/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1129)'))': /simple/wood-nano/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1129)'))': /simple/wood-nano/ Could not fetch URL https://pypi.org/simple/wood-nano/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/wood-nano/ (Caused by SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1129)'))) - skipping ERROR: Could not find a version that satisfies the requirement wood-nano (from versions: none) ERROR: No matching distribution found for wood-nano Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1129)'))) - skipping

BTW, I am not native language of English , if something wrong in English , please forgive.

reallynn commented 6 months ago

Hi, I have updated finally compas_wood thanks to Rhino8. Could you please try to install and run an example files? Thank you a lot. Following is the link with a video installation tutorial: https://www.food4rhino.com/en/app/compaswood?lang=en Best, Petras On Mon, 18 Mar 2024, 19:21 reallynn, @.> wrote: Describe the bug Could not find a version that satisfies the requirement nptyping (from compas-wood) (from versions: none) I have followed all the provided instructions, but I am still having trouble with installation of compas_wood To Reproduce (base) C:\Windows\System32>conda activate wood-dev (wood-dev) C:\Windows\System32>cd C:\IBOIS57_code\Software\Python (wood-dev) C:\IBOIS57_code\Software\Python>git clone https://github.com/petrasvestartas/compas_wood.git Cloning into 'compas_wood'... remote: Enumerating objects: 41367, done. remote: Counting objects: 100% (2838/2838), done. remote: Compressing objects: 100% (1046/1046), done. remote: Total 41367 (delta 1817), reused 2784 (delta 1765), pack-reused 38529 Receiving objects: 100% (41367/41367), 946.09 MiB | 11.78 MiB/s, done. Resolving deltas: 100% (17757/17757), done. Updating files: 100% (843/843), done. (wood-dev) C:\IBOIS57_code\Software\Python>cd compas_wood (wood-dev) C:\IBOIS57_code\Software\Python\compas_wood>pip install -e . Obtaining file:///C:/IBOIS57/_code/Software/Python/compas_wood Preparing metadata (setup.py) ... done Requirement already satisfied: compas in c:\users\lynn\appdata\local\anaconda3\envs\wood-dev\lib\site-packages (from compas-wood==1.0.0) (2.1.0) WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1131)'))': /simple/nptyping/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1131)'))': /simple/nptyping/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1131)'))': /simple/nptyping/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1131)'))': /simple/nptyping/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1131)'))': /simple/nptyping/ Could not fetch URL https://pypi.org/simple/nptyping/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/nptyping/ (Caused by SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1131)'))) - skipping INFO: pip is looking at multiple versions of compas-wood to determine which version is compatible with other requirements. This could take a while. ERROR: Could not find a version that satisfies the requirement nptyping (from compas-wood) (from versions: none) ERROR: No matching distribution found for nptyping Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1131)'))) - skipping — Reply to this email directly, view it on GitHub <#8>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEJN6IOC66DYK3ECP4C72XLYY4WDRAVCNFSM6AAAAABE4DSAXSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE4TEOJUHEYDIMQ . You are receiving this because you are subscribed to this thread.Message ID: @.>

compas_wood plug-in installing error when I drag the install component, it fail. To Reproduce

  1. Error building code | Error installing: wood-nano==0.1.1, compas-wood==2.1.0, compas==2.1.1 | ERROR: Exception:Traceback (most recent call last): File "\?\C:\Users\Lynn.rhinocode\py39-rh8\lib\site-packages\pip_internal\cli\base_command.py", line 173, in _main status = self.run(options, args) File "\?\C:\Users\Lynn.rhinocode\py39-rh8\lib\site-packages\pip_internal\cli\req_command.py", line 203, in wrapper return func(self, options, args) File "\?\C:\Users\Lynn.rhinocode\py39-rh8\lib\site-packages\pip_internal\commands\install.py", line 315, in run requirement_set = resolver.resolve( File "\?\C:\Users\Lynn.rhinocode\py39-rh8\lib\site-packages\pip_internal\resolution\resolvelib\resolver.py", line 94, in resolve result = self._result = resolver.resolve( File "\?\C:\Users\Lynn.rhinocode\py39-rh8\lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 472, in resolve state = resolution.resolve(requirements, max_rounds=max_rounds) File "\?\C:\Users\Lynn.rhinocode\py39-rh8\lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 341, in resolve self._add_to_criteria(self.state.criteria, r, parent=None) File "\?\C:\Users\Lynn.rhinocode\py39-rh8\lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 172, in _add_to_criteria if not criterion.candidates: File "\?\C:\Users\Lynn.rhinocode\py39-rh8\lib\site-packages\pip_vendor\resolvelib\structs.py", line 151, in bool return bool(self._sequence) File "\?\C:\Users\Lynn.rhinocode\py39-rh8\lib\site-packages\pip_internal\resolution\resolvelib\found_candidates.py", line 140, in bool return any(self) File "\?\C:\Users\Lynn.rhinocode\py39-rh8\lib\site-packages\pip_internal\resolution\resolvelib\found_candidates.py", line 128, in return (c for c in iterator if id(c) not in self._incompatible_ids) File "\?\C:\Users\Lynn.rhinocode\py39-rh8\lib\site-packages\pip_internal\resolution\resolvelib\found_candidates.py", line 29, in _iter_built for version, func in infos: File "\?\C:\Users\Lynn.rhinocode\py39-rh8\lib\site-packages\pip_internal\resolution\resolvelib\factory.py", line 272, in iter_index_candidate_infos result = self._finder.find_best_candidate( File "\?\C:\Users\Lynn.rhinocode\py39-rh8\lib\site-packages\pip_internal\index\package_finder.py", line 851, in find_best_candidate candidates = self.find_all_candidates(project_name) File "\?\C:\Users\Lynn.rhinocode\py39-rh8\lib\site-packages\pip_internal\index\package_finder.py", line 798, in find_all_candidates page_candidates = list(page_candidates_it) File "\?\C:\Users\Lynn.rhinocode\py39-rh8\lib\site-packages\pip_internal\index\sources.py", line 134, in page_candidates yield from self._candidates_from_page(self._link) File "\?\C:\Users\Lynn.rhinocode\py39-rh8\lib\site-packages\pip_internal\index\package_finder.py", line 758, in process_project_url html_page = self._link_collector.fetch_page(project_url) File "\?\C:\Users\Lynn.rhinocode\py39-rh8\lib\site-packages\pip_internal\index\collector.py", line 490, in fetch_page return _get_html_page(location, session=self.session) File "\?\C:\Users\Lynn.rhinocode\py39-rh8\lib\site-packages\pip_internal\index\collector.py", line 400, in _get_html_page resp = _get_html_response(url, session=session) File "\?\C:\Users\Lynn.rhinocode\py39-rh8\lib\site-packages\pip_internal\index\collector.py", line 115, in _get_html_response resp = session.get( File "\?\C:\Users\Lynn.rhinocode\py39-rh8\lib\site-packages\pip_vendor\requests\sessions.py", line 555, in get return self.request('GET', url, *kwargs) File "\?\C:\Users\Lynn.rhinocode\py39-rh8\lib\site-packages\pip_internal\network\session.py", line 454, in request return super().request(method, url, args, kwargs) File "\?\C:\Users\Lynn.rhinocode\py39-rh8\lib\site-packages\pip_vendor\requests\sessions.py", line 542, in request resp = self.send(prep, send_kwargs) File "\?\C:\Users\Lynn.rhinocode\py39-rh8\lib\site-packages\pip_vendor\requests\sessions.py", line 655, in send r = adapter.send(request, kwargs) File "\?\C:\Users\Lynn.rhinocode\py39-rh8\lib\site-packages\pip_vendor\cachecontrol\adapter.py", line 53, in send resp = super(CacheControlAdapter, self).send(request, kw) File "\?\C:\Users\Lynn.rhinocode\py39-rh8\lib\site-packages\pip_vendor\requests\adapters.py", line 439, in send resp = conn.urlopen( File "\?\C:\Users\Lynn.rhinocode\py39-rh8\lib\site-packages\pip_vendor\urllib3\connectionpool.py", line 696, in urlopen self._prepare_proxy(conn) File "\?\C:\Users\Lynn.rhinocode\py39-rh8\lib\site-packages\pip_vendor\urllib3\connectionpool.py", line 964, in _prepare_proxy conn.connect() File "\?\C:\Users\Lynn.rhinocode\py39-rh8\lib\site-packages\pip_vendor\urllib3\connection.py", line 359, in connect conn = self._connect_tls_proxy(hostname, conn) File "\?\C:\Users\Lynn.rhinocode\py39-rh8\lib\site-packages\pip_vendor\urllib3\connection.py", line 500, in _connect_tls_proxy return ssl_wrapsocket( File "\?\C:\Users\Lynn.rhinocode\py39-rh8\lib\site-packages\pip_vendor\urllib3\util\ssl.py", line 453, in ssl_wrap_socket ssl_sock = _ssl_wrap_socket_impl(sock, context, tls_intls) File "\?\C:\Users\Lynn.rhinocode\py39-rh8\lib\site-packages\pip_vendor\urllib3\util\ssl.py", line 495, in _ssl_wrap_socket_impl return ssl_context.wrap_socket(sock) File "ssl.py", line 500, in wrap_socket File "ssl.py", line 997, in _createValueError: check_hostname requires server_hostname
petrasvestartas commented 6 months ago

Step by step.

It looks like you are using Rhino.

What is your OS and Rhino 8 version?