Comments (3)
Those are the entire error message:
(awesome-panel) Robs-MBP:awesome-panel rob$ conda install --file requirements_local.txt
CondaValueError: could not parse '-r ./requirements.txt' in: requirements_local.txt
It seems there might be multiple problems with getting this working on a mac.
It installs an old version of nodejs which doesn't work. There's some issue with nodejs/conda on macs (as per https://stackoverflow.com/questions/62325068/cannot-install-latest-nodejs-using-conda-on-mac). I used the mamba method there to force a new version.
conda also fails to install pytorch as it doesn't find a compatible version. Doing that via pip install seems to install it but the app.py fails to run
2021-12-19 17:38:25,325 Error running application handler <bokeh.application.handlers.script.ScriptHandler object at 0x7ffce021e610>: module 'torch.jit' has no attribute 'unused'
File 'inception.py', line 195, in Inception3:
@torch.jit.unused Traceback (most recent call last):
File "/Users/rob/miniconda3/envs/awesome-panel/lib/python3.7/site-packages/bokeh/application/handlers/code_runner.py", line 231, in run
exec(self._code, module.__dict__)
File "/Users/rob/Work/awesome-panel/app.py", line 20, in <module>
from application.pages import APP_ROUTES # pylint: disable=unused-import
File "/Users/rob/Work/awesome-panel/application/pages/__init__.py", line 29, in <module>
from application.pages.detr import detr
File "/Users/rob/Work/awesome-panel/application/pages/detr/detr.py", line 35, in <module>
from application.pages.detr.model import (
File "/Users/rob/Work/awesome-panel/application/pages/detr/model.py", line 7, in <module>
import torchvision.transforms as T
File "/Users/rob/miniconda3/envs/awesome-panel/lib/python3.7/site-packages/torchvision/__init__.py", line 6, in <module>
from torchvision import models
File "/Users/rob/miniconda3/envs/awesome-panel/lib/python3.7/site-packages/torchvision/models/__init__.py", line 5, in <module>
from .inception import *
File "/Users/rob/miniconda3/envs/awesome-panel/lib/python3.7/site-packages/torchvision/models/inception.py", line 63, in <module>
class Inception3(nn.Module):
File "/Users/rob/miniconda3/envs/awesome-panel/lib/python3.7/site-packages/torchvision/models/inception.py", line 195, in Inception3
@torch.jit.unused
AttributeError: module 'torch.jit' has no attribute 'unused'
Sorry that's a list of problems for you! I'll likely just try this on our Linux HPC instead of trying on a mac.
from awesome-panel.
What error messages do you see?
from awesome-panel.
I finally tried this on our linux HPC and I get the same error
conda install --file requirements_local.txt
CondaValueError: could not parse '-r ./requirements.txt' in: requirements_local.txt
Is there something wrong with the syntax in your requirements files?
from awesome-panel.
Related Issues (20)
- code in application/config not being used HOT 4
- Make it possible to download each application as a self contained, servable code file
- Remove site.create_application from each application
- Generate the menus dynamically
- Add automated tests to github
- Add a cheat sheet
- Remove awesome-panel package or clearly mark it obsolete
- Make the home page mobile friendly
- Update Awesome Panel Docs
- Pandas profiling have two descriptions
- Seperate the gallery function HOT 3
- Change from master to main branch HOT 1
- Discussions tab - doing all Streamlit examples in Panel HOT 3
- Sharing page error: Module 'extra' not found HOT 1
- Make the user guide for sharing more apparent HOT 3
- Sharing Page Unconvertable App HOT 3
- Code for Stumpy Timeseries Analysis App
- add pyextremes package HOT 2
- Add a Candlestick Chart Example
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awesome-panel.